Skip to content

Commit

Permalink
[refs #3] Add heading elements docs content
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Heibült committed Feb 22, 2018
1 parent 4ba3c94 commit 8e19c60
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 37 deletions.
11 changes: 10 additions & 1 deletion _docs/elements/headings.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,13 @@ filename: "_elements.headings.scss"

{% include file-info.html %}

Headings
`_elements.headings.scss` basically just assigns the font-sizes of the `<h1>``<h6>` elements. You can define the font-sizes by altering the respective Sass variables:

```scss
$inuit-font-size-h1: 36px !default;
$inuit-font-size-h2: 28px !default;
$inuit-font-size-h3: 24px !default;
$inuit-font-size-h4: 20px !default;
$inuit-font-size-h5: 18px !default;
$inuit-font-size-h6: 16px !default;
```
32 changes: 0 additions & 32 deletions _docs/elements/index.md

This file was deleted.

6 changes: 3 additions & 3 deletions _docs/tools/clearfix.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ filename: "_tools.clearfix.scss"

A clearfix mixin to prevent collapsing of two (or more) floated elements.

Further reading:
[http://www.cssmojo.com/the-very-latest-clearfix-reloaded/](http://www.cssmojo.com/the-very-latest-clearfix-reloaded/)

## Mixins

.usage {
@include inuit-clearfix();
}

Further reading:
[http://www.cssmojo.com/the-very-latest-clearfix-reloaded/](http://www.cssmojo.com/the-very-latest-clearfix-reloaded/)
2 changes: 1 addition & 1 deletion _includes/nav-docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
</li>

<li class="c-nav-secondary__item">
<a href="/docs/elements" class="c-nav-secondary__link">Elements</a>
<a href="/docs/elements/headings/" class="c-nav-secondary__link">Elements</a>

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

0 comments on commit 8e19c60

Please sign in to comment.