зеркало из https://github.com/github/docs.git
cc7bd5d701
* include slashes in list of chars to inject <wbr> tags around for better table rendering * add clarifying comment to tables.scss |
||
---|---|---|
.. | ||
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.