Created
March 26, 2015 20:37
-
-
Save erikakers/6fca110cdd43e3260713 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$iterator: 1; | |
$header-ratio: 4; | |
$max-heading: 7; | |
$max-font-size: 40px; | |
@while $iterator < $max-heading { | |
$font-size: ($max-font-size + $header-ratio) - $iterator * $header-ratio; | |
h#{$iterator}, .h#{$iterator} { | |
@include adjust-font-size-to($font-size); | |
font-family: $font-headlines; | |
} | |
$iterator: $iterator + 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment