diff options
author | JohnAlbin <virtually.johnalbin@gmail.com> | 2015-11-05 04:17:53 +0300 |
---|---|---|
committer | JohnAlbin <virtually.johnalbin@gmail.com> | 2015-11-05 04:17:53 +0300 |
commit | d3ff876e167643bfacb2073b2975e3c94e1838bd (patch) | |
tree | b8228c69f7d32ffff4292663209ae19b593e6083 /sass | |
parent | 200d428a281d2bbeafb890b7cc98006edf33e0e5 (diff) |
Remove leader() and trailer().
Diffstat (limited to 'sass')
-rw-r--r-- | sass/_normalize.scss | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sass/_normalize.scss b/sass/_normalize.scss index fd24609..174b59c 100644 --- a/sass/_normalize.scss +++ b/sass/_normalize.scss @@ -177,44 +177,44 @@ h1 { } /* Set 1 unit of vertical rhythm on the top and bottom margins. */ - @include leader(1, $h1-font-size); - @include trailer(1, $h1-font-size); + margin-top: rhythm(1, $h1-font-size); + margin-bottom: rhythm(1, $h1-font-size); } @if not $strict-normalize or normalize-support-for(ie, 7) { h2 { font-size: if($rhythm-unit == "px", $h2-font-size, #{unquote(inspect($h2-font-size / $base-font-size) + $rhythm-unit)}); line-height: rhythm(ceil(($h2-font-size / $base-line-height) + .1), $h2-font-size); - @include leader(1, $h2-font-size); - @include trailer(1, $h2-font-size); + margin-top: rhythm(1, $h2-font-size); + margin-bottom: rhythm(1, $h2-font-size); } h3 { font-size: if($rhythm-unit == "px", $h3-font-size, #{unquote(inspect($h3-font-size / $base-font-size) + $rhythm-unit)}); line-height: rhythm(ceil(($h3-font-size / $base-line-height) + .1), $h3-font-size); - @include leader(1, $h3-font-size); - @include trailer(1, $h3-font-size); + margin-top: rhythm(1, $h3-font-size); + margin-bottom: rhythm(1, $h3-font-size); } h4 { font-size: if($rhythm-unit == "px", $h4-font-size, #{unquote(inspect($h4-font-size / $base-font-size) + $rhythm-unit)}); line-height: rhythm(ceil(($h4-font-size / $base-line-height) + .1), $h4-font-size); - @include leader(1, $h4-font-size); - @include trailer(1, $h4-font-size); + margin-top: rhythm(1, $h4-font-size); + margin-bottom: rhythm(1, $h4-font-size); } h5 { font-size: if($rhythm-unit == "px", $h5-font-size, #{unquote(inspect($h5-font-size / $base-font-size) + $rhythm-unit)}); line-height: rhythm(ceil(($h5-font-size / $base-line-height) + .1), $h5-font-size); - @include leader(1, $h5-font-size); - @include trailer(1, $h5-font-size); + margin-top: rhythm(1, $h5-font-size); + margin-bottom: rhythm(1, $h5-font-size); } h6 { font-size: if($rhythm-unit == "px", $h6-font-size, #{unquote(inspect($h6-font-size / $base-font-size) + $rhythm-unit)}); line-height: rhythm(ceil(($h6-font-size / $base-line-height) + .1), $h6-font-size); - @include leader(1, $h6-font-size); - @include trailer(1, $h6-font-size); + margin-top: rhythm(1, $h6-font-size); + margin-bottom: rhythm(1, $h6-font-size); } } |