Skip to content

Commit

Permalink
🔧 chore(font.scss): Fix oversized headline text sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
Spiderpig86 committed Sep 30, 2021
1 parent 8dbcb92 commit 7d63a17
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions dist/cirrus-core.css
Original file line number Diff line number Diff line change
Expand Up @@ -845,19 +845,19 @@ mark,

/* Headlines (for larger titles) */
.headline-1 {
font-size: 8.5rem;
font-size: 6.5rem;
letter-spacing: 0.05rem; }

.headline-2 {
font-size: 7.5rem;
font-size: 5.5rem;
letter-spacing: 0.05rem; }

.headline-3 {
font-size: 6.5rem;
font-size: 4.5rem;
letter-spacing: 0.05rem; }

.headline-4 {
font-size: 5.5rem;
font-size: 3.5rem;
letter-spacing: 0.05rem; }

.font-alt {
Expand Down
2 changes: 1 addition & 1 deletion dist/cirrus-core.min.css

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/cirrus.css
Original file line number Diff line number Diff line change
Expand Up @@ -845,19 +845,19 @@ mark,

/* Headlines (for larger titles) */
.headline-1 {
font-size: 8.5rem;
font-size: 6.5rem;
letter-spacing: 0.05rem; }

.headline-2 {
font-size: 7.5rem;
font-size: 5.5rem;
letter-spacing: 0.05rem; }

.headline-3 {
font-size: 6.5rem;
font-size: 4.5rem;
letter-spacing: 0.05rem; }

.headline-4 {
font-size: 5.5rem;
font-size: 3.5rem;
letter-spacing: 0.05rem; }

.font-alt {
Expand Down
2 changes: 1 addition & 1 deletion dist/cirrus.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/core/font.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ mark,
/* Headlines (for larger titles) */
@for $index from 1 through 4 {
.headline-#{$index} {
font-size: $base-headline-size + $headline-size-diff * (6 - $index);
font-size: $base-headline-size + $headline-size-diff * (4 - $index);
letter-spacing: 0.05rem;
}
}
Expand Down

0 comments on commit 7d63a17

Please sign in to comment.