зеркало из https://github.com/github/docs.git
92d5722103
* Add 2.22.0 * Add 2.22.1 * Add 2.22.2 * Add 2.22.3 * Add 2.22.4 * Lint YAML files * intro shouldn't be required * Align all notes * Full height sidebar * Make the sidebar full height properly * Get the real layout going * Include full name * Move details > summary around * Fix sticky sidebar * Tweak bottom of page * Add more label colors * Change heading title * Don't be <details>, change sticky header * Include other releases' info * Show prev/next links * Change sidenav to show all releases * Fix ordering of chevron * Fix link underlines * Collapsing minor versions * Moar padding * Setup schema for sub-sections * Update a YAML file to match schema * Redo rendering/sorting logic * Update layout * Convert remaining notes * Improve schema * Use proper min properties * Custom bullet points * Show details control for version picker * Improve layout on small screens * One more tiny fix * Order by semver * Use proper version in details * Fix extra arrows showing up * Change label colors * Pass the reference check * Add gradients * Gradient all the things |
||
---|---|---|
.. | ||
README.md | ||
article.scss | ||
dev-toc.scss | ||
directory.scss | ||
explorer.scss | ||
gradients.scss | ||
index.scss | ||
nav.scss | ||
new-mktg.scss | ||
opacity.scss | ||
overrides.scss | ||
print.scss | ||
product-landing.scss | ||
release-notes.scss | ||
search.scss | ||
shadows.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.