зеркало из https://github.com/github/docs.git
21b59b5805
* starting minitocs change * moving rest mini tocs and adding functionality to collapse * adding some comments * update margins * minor updates: fix scroll to top button add padding to resthttpmethod verbs and background color for nested arrows in minitocs * Update components/rest/RestReferencePage.tsx Co-authored-by: Rachael Sewell <rachmari@github.com> * Update components/rest/RestReferencePage.tsx Co-authored-by: Rachael Sewell <rachmari@github.com> * fix comment * fix wording and z index * bring back articlegridlayout * updating margins for lg and xl Co-authored-by: Rachael Sewell <rachmari@github.com> |
||
---|---|---|
.. | ||
README.md | ||
extended-markdown.scss | ||
headings.scss | ||
images.scss | ||
index.scss | ||
shadows.scss | ||
syntax-highlighting.scss | ||
utilities.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 imports in our Next.js compnents (pages, components).
In general, we use Primer's utility classes as much as we can, and avoid writing custom styles whenever possible.
See https://primer.style/ for reference.