Created
April 27, 2014 10:09
-
-
Save ingozoell/11342089 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
<h1>Headline 1 <span>H1 small</span></h1> | |
<p>Some Text <span>P small</span></p> |
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.2.19) | |
// Compass (v0.12.6) | |
// ---- | |
@import "compass/typography/vertical_rhythm"; | |
$base-font-size: 16px; | |
$base-line-height: 24px; | |
@include establish-baseline; | |
h1 { | |
@include adjust-font-size-to(16px); | |
margin: 0 auto rhythm(3, 42px); | |
} | |
h1 span { | |
@include adjust-font-size-to(16px); | |
font-weight: normal; | |
} | |
p { | |
@include adjust-font-size-to(14px); | |
font-weight: normal; | |
} | |
p span { | |
@include adjust-font-size-to(16px, 0, 12px); | |
font-weight: normal; | |
} |
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
* html { | |
font-size: 100%; | |
} | |
html { | |
font-size: 16px; | |
line-height: 1.5em; | |
} | |
h1 { | |
font-size: 1em; | |
line-height: 1.5em; | |
margin: 0 auto 1.7142857143em; | |
} | |
h1 span { | |
font-size: 1em; | |
line-height: 1.5em; | |
font-weight: normal; | |
} | |
p { | |
font-size: 0.875em; | |
line-height: 1.7142857143em; | |
font-weight: normal; | |
} | |
p span { | |
font-size: 1.3333333333em; | |
line-height: 0em; | |
font-weight: normal; | |
} |
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>Headline 1 <span>H1 small</span></h1> | |
<p>Some Text <span>P small</span></p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment