docs/stylesheets
Jason Etcovitch efed031ea4
Add copy button to code blocks (#16052)
* 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>
2020-10-16 10:55:35 -04:00
..
README.md Hello git history spelunker! 2020-09-27 14:10:11 +02:00
article.scss Hello git history spelunker! 2020-09-27 14:10:11 +02:00
directory.scss Hello git history spelunker! 2020-09-27 14:10:11 +02:00
explorer.scss Hello git history spelunker! 2020-09-27 14:10:11 +02:00
index.scss Hello git history spelunker! 2020-09-27 14:10:11 +02:00
nav.scss Hello git history spelunker! 2020-09-27 14:10:11 +02:00
new-mktg.scss Add "Alliance" font (#16012) 2020-10-15 15:51:51 -04:00
opacity.scss Hello git history spelunker! 2020-09-27 14:10:11 +02:00
overrides.scss Hello git history spelunker! 2020-09-27 14:10:11 +02:00
print.scss Hello git history spelunker! 2020-09-27 14:10:11 +02:00
search.scss Hello git history spelunker! 2020-09-27 14:10:11 +02:00
sidebar.scss Creating background color utility 2020-09-28 09:02:45 -07:00
syntax-highlighting.scss Add copy button to code blocks (#16052) 2020-10-16 10:55:35 -04:00
tables.scss Wrap slash characters in tables (#15774) 2020-09-28 10:54:23 -04:00
type.scss Hello git history spelunker! 2020-09-27 14:10:11 +02:00

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.