Commit 74afb47e authored by Randall Leeds's avatar Randall Leeds

make mixin versions of size helpers

Using extends in media queries doesn't work.
parent 88d4552b
......@@ -119,39 +119,46 @@ body {
line-height: $line-height / $em;
}
.small, {
@mixin small {
font-size: 13/$em;
line-height: 14/13*1em;
}
.small { @include small; }
.normal {
@mixin normal {
font-size: 1em;
}
.normal { @include normal; }
.big {
@mixin big {
font-size: 23/$em;
line-height: 24/23*1em;
}
.big { @include big; }
.large {
@mixin large {
font-size: 27/$em;
line-height: 36/27*1em;
}
.large { @include large; }
.huge {
@mixin huge {
font-size: 44/$em;
line-height: 48/44*1em;
}
.huge { @include huge; }
.enormous {
@mixin enormous {
font-size: 72/$em;
line-height: 72/72*1em;
}
.enormous { @include enormous; }
.gigantic {
@mixin gigantic {
font-size: 116/$em;
line-height: 120/116*1em;
}
.gigantic { @include gigantic; }
/* Typography */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment