зеркало из https://github.com/github/docs.git
efed031ea4
* Add deps * Setup copy events * Updoot * Tweak styling * Do a lil' proof-of-concept * Updoot @github-docs/render-content * Use SCSS variables for custom styles * Adjust docs * Ignore clipboard in check-deps * Add copy annotation to quickstart workflow sample Co-authored-by: Cynthia Rich <crichID@users.noreply.github.com> |
||
---|---|---|
.. | ||
README.md | ||
article.scss | ||
directory.scss | ||
explorer.scss | ||
index.scss | ||
nav.scss | ||
new-mktg.scss | ||
opacity.scss | ||
overrides.scss | ||
print.scss | ||
search.scss | ||
sidebar.scss | ||
syntax-highlighting.scss | ||
tables.scss | ||
type.scss |
README.md
Styles
This website uses a Sass preprocessor, and gets most of its styles from GitHub's Primer design system.
All styles come from:
<link rel="stylesheet" href="/dist/index.css">
index.css
is a compiled version of index.scss
, where all imported scss files are declared.
In general, we use Primer's utility classes as much as we can, and avoid writing custom styles whenever possible.
See styleguide.github.com/primer for reference.
We use Webpack to process the files - see javascripts/README.md for more information on how these files are compiled.