Skip to content

Commit

Permalink
Merge pull request #138 from nateberkopec/patch-1
Browse files Browse the repository at this point in the history
Improved header sizes
  • Loading branch information
cjpatoilo committed Jan 25, 2017
2 parents 7939793 + 4bdd426 commit c1d5a80
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions src/_Typography.sass
Original file line number Diff line number Diff line change
Expand Up @@ -21,49 +21,43 @@ h6
margin-top: 0

h1
font-size: 4.0rem
line-height: 1.2

h2
font-size: 3.6rem
line-height: 1.25

h3
font-size: 3.0rem
line-height: 1.3

h4
font-size: 2.4rem
letter-spacing: -.08rem
line-height: 1.35

h5
font-size: 1.8rem
letter-spacing: -.05rem
line-height: 1.5

h6
font-size: 1.6rem
letter-spacing: 0
line-height: 1.4

// Larger than mobile screen
@media (min-width: 40.0rem) // Safari desktop has a bug using `rem`, but Safari mobile works

h1
font-size: 5.0rem
font-size: 4.8rem

h2
font-size: 4.2rem
font-size: 3.6rem

h3
font-size: 3.6rem
font-size: 2.4rem

h4
font-size: 3.0rem
font-size: 2.1rem

h5
font-size: 2.4rem
font-size: 1.8rem

h6
font-size: 1.5rem
font-size: 1.4rem

0 comments on commit c1d5a80

Please sign in to comment.