Skip to content

Commit 7569218

Browse files
committed
reorg that a bit
1 parent 6c4b987 commit 7569218

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/guidelines.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ Here are some good examples that apply the above guidelines:
150150

151151
In general, a flat directory of files works best, but at GitHub we break things down by bundles (separate compiled CSS files) and sections (directories of related content).
152152

153+
### Bundles
154+
155+
GitHub.com uses a handful of bundles. Here's a simplified representation of our two desktop bundles (split to support IE9's maximum selector limit per CSS file) and a dedicated mobile bundle for our separate mobile views.
156+
153157
{% highlight bash %}
154158
stylesheets
155159
├── github
@@ -164,8 +168,6 @@ stylesheets
164168
└── files.scss
165169
{% endhighlight %}
166170

167-
Here, we have two desktop bundles to support IE9's maximum selector limit per CSS file, as well as a dedicated mobile bundle to go with our separate mobile views.
168-
169171
### Including (S)CSS files
170172

171173
Previously we used [Sprockets](https://github.com/sstephenson/sprockets) to **require** files in Primer and at GitHub. Nowadays, we use explicit lists of **imports** to control the cascade, specificity, and more.

0 commit comments

Comments
 (0)