Skip to content

Commit

Permalink
Update _typography.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
htrgouvea authored Jun 26, 2024
1 parent 513e375 commit dab3c41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _sass/partials/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {

// Headings
h1, .h1 {
font-size: 2em; // 2x body copy size = 32px
font-size: 1.5em; // 2x body copy size = 32px
line-height: 1.25; // 45px / 36px
}

@media (min-width: 43.75em) {
h1, .h1 {
font-size: 2.5em; // 2.5x body copy size = 40px
font-size: 1.5em; // 2.5x body copy size = 40px
line-height: 1.125;
}
}

@media (min-width: 56.25em) {
h1, .h1 {
font-size: 3em; // 3x body copy size = 48px
font-size: 2.5em; // 3x body copy size = 48px
line-height: 1.05; // keep to a multiple of the 20px line height and something more appropriate for display headings
}
}
Expand Down

0 comments on commit dab3c41

Please sign in to comment.