Skip to content

Commit

Permalink
Add font-size utility
Browse files Browse the repository at this point in the history
  • Loading branch information
t32k committed Jan 28, 2015
1 parent 70b9096 commit befdff8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/css/wisteria.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<header class="hero"><div class="inner">
<h1 class="h1">wisteria</h1>
<p class="strong">v0.4.0</p>
<p class="strong">v0.5.0</p>
<p class="u-mbx">A class-attribute based simple CSS framework.</p>
<p><a href="https://github.com/t32k/wisteria/archive/master.zip" class="button">Download</a></p>
</div></header>
Expand Down
26 changes: 19 additions & 7 deletions wisteria.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,32 @@ body {

/* #Typography
\*------------------------------------*/
.h1 { font-size: 6.4rem; }
.h2 { font-size: 4.8rem; }
.h3 { font-size: 3.6rem; }
.h4 { font-size: 2.4rem; }
.h5 { font-size: 2.0rem; }
.h6 { font-size: 1.8rem; }
.h1,
.u-fz1 { font-size: 6.4rem; }
.h2,
.u-fz2 { font-size: 4.8rem; }
.h3,
.u-fz3 { font-size: 3.6rem; }
.h4,
.u-fz4 { font-size: 2.4rem; }
.h5,
.u-fz5 { font-size: 2.0rem; }
.h6,
.u-fz6 { font-size: 1.8rem; }

.u-fz7 { font-size: 1.6rem; }

.u-fz8 { font-size: 1.4rem; }
.small,
.u-fz9 { font-size: 1.2rem; }
.u-fz10 { font-size: 1rem; }

.b,
.strong { font-weight: bold; }
.weak { color: rgba(0,0,0,.26); }
.i,
.em { font-style: italic; }
.del { text-decoration: line-through; }
.small { font-size: 1.2rem; }


/* #Links
Expand Down

0 comments on commit befdff8

Please sign in to comment.