Created
September 15, 2013 17:13
-
-
Save rabellamy/6572618 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
// Small Font Size Scaling | |
font-size: 12pt; | |
text-rendering: optimizeLegibility; | |
@for $i from 1 through 15 { | |
@include breakpoint((240px + 20px * $i)) { | |
font-size: 12pt + 0.75pt * $i; | |
} | |
} | |
// Medium Font Size Scaling | |
@include breakpoint(640px) { | |
font-size: 11.38pt; | |
text-rendering: optimizeLegibility; | |
} | |
@for $i from 1 through 16 { | |
@include breakpoint((640+20px*$i)) { | |
font-size: 11.38pt + 0.4pt * $i; | |
} | |
} | |
// Large Font Size Scaling | |
@include breakpoint(960px) { | |
font-size: 15.18pt; | |
text-rendering: optimizeLegibility; | |
} | |
@for $i from 1 through 7 { | |
@include breakpoint((960px + 20px*$i)) { | |
font-size: 15.18pt + 0.34pt*$i; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment