Created
March 18, 2015 19:31
-
-
Save petermac-/adcec3d28cd07205b3e6 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
| // ---- | |
| // Sass (v3.4.12) | |
| // Compass (v1.0.3) | |
| // Breakpoint (v2.5.0) | |
| // Modular Scale (v2.0.6) | |
| // ---- | |
| @import "modular-scale"; | |
| @import "breakpoint"; | |
| $ms-base : 18px; | |
| $ms-ratio : $fourth; | |
| $ms-norm : $ms-base; | |
| $ms-med : ms(2); | |
| $ms-lrg : ms(3); | |
| $ms-xlrg : ms(4); | |
| $ms-xxlrg : ms(5); | |
| $ms-xxxlrg : ms(6); | |
| $ms-smscr-ratio: $minor-third; | |
| $ms-smscr-norm : $ms-base; | |
| $ms-smscr-med : ms(2, $ms-base, $ms-smscr-ratio); | |
| $ms-smscr-lrg : ms(3, $ms-base, $ms-smscr-ratio); | |
| $ms-smscr-xlrg : ms(4, $ms-base, $ms-smscr-ratio); | |
| $ms-smscr-xxlrg : ms(5, $ms-base, $ms-smscr-ratio); | |
| $ms-smscr-xxxlrg : ms(6, $ms-base, $ms-smscr-ratio); | |
| $bp-sm: 500px; | |
| $headings: ( | |
| h1: ( | |
| $ms-xxxlrg, | |
| $ms-smscr-xxxlrg | |
| ), | |
| h2: ( | |
| $ms-xxlrg, | |
| $ms-smscr-xxlrg | |
| ), | |
| h3: ( | |
| $ms-xlrg, | |
| $ms-smscr-xlrg | |
| ), | |
| h4: ( | |
| $ms-lrg, | |
| $ms-smscr-lrg | |
| ), | |
| h5: ( | |
| $ms-med, | |
| $ms-smscr-med | |
| ), | |
| h6: ( | |
| $ms-norm, | |
| $ms-smscr-norm | |
| ) | |
| ); | |
| @each $heading, $size in $headings { | |
| #{$heading} { | |
| font-size: nth($size, 2); | |
| } | |
| } | |
| @include breakpoint($bp-sm) { | |
| @each $heading, $size in $headings { | |
| #{$heading} { | |
| font-size: nth($size, 1); | |
| } | |
| } | |
| } |
This file contains hidden or 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
| h1 { | |
| font-size: 54px; | |
| } | |
| h2 { | |
| font-size: 45px; | |
| } | |
| h3 { | |
| font-size: 37px; | |
| } | |
| h4 { | |
| font-size: 31px; | |
| } | |
| h5 { | |
| font-size: 26px; | |
| } | |
| h6 { | |
| font-size: 18px; | |
| } | |
| @media (min-width: 500px) { | |
| h1 { | |
| font-size: 101px; | |
| } | |
| h2 { | |
| font-size: 76px; | |
| } | |
| h3 { | |
| font-size: 57px; | |
| } | |
| h4 { | |
| font-size: 43px; | |
| } | |
| h5 { | |
| font-size: 32px; | |
| } | |
| h6 { | |
| font-size: 18px; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment