Skip to content

Commit

Permalink
[refs #3] Add docs content for generic layer
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Heibült committed Jan 4, 2018
1 parent a476bff commit d2decc3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 36 deletions.
3 changes: 3 additions & 0 deletions _docs/generic/box-sizing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ filename: "_generic.box-sizing.scss"

{% include file-info.html %}

We apply `box-sizing: border-box` on **every element** on the page. I mean, why wouldn't we, right?

Further reading:
[css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice](https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice)
32 changes: 0 additions & 32 deletions _docs/generic/index.md

This file was deleted.

2 changes: 1 addition & 1 deletion _docs/generic/normalize.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ filename: "_generic.normalize.scss"

{% include file-info.html %}

[Normalize.css](https://necolas.github.io/normalize.css/)
We are using [Normalize.css](https://necolas.github.io/normalize.css/) as CSS reset library.
2 changes: 1 addition & 1 deletion _docs/generic/reset.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ filename: "_generic.reset.scss"

{% include file-info.html %}

Reset
On top of Normalize.css we add a bit of our own, slightly opinionated reset styles.
2 changes: 1 addition & 1 deletion _docs/generic/shared.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ filename: "_generic.shared.scss"

{% include file-info.html %}

Shared
This file contains some high-level generic styles that are “shared” between several elements.
2 changes: 1 addition & 1 deletion _includes/nav-docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</li>

<li class="c-nav-secondary__item">
<a href="/docs/generic" class="c-nav-secondary__link">Generic</a>
<a href="/docs/generic/box-sizing/" class="c-nav-secondary__link">Generic</a>

<ul class="c-nav-secondary c-nav-secondary--sub">
<li class="c-nav-secondary__item">
Expand Down

0 comments on commit d2decc3

Please sign in to comment.