Skip to content

Commit

Permalink
fix: make third level headings a unique size on mobile (#1816)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelfulford authored May 27, 2022
1 parent 8af5709 commit 265a8a7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 5 additions & 1 deletion newspack-theme/sass/style-editor-base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ h2 {
}

h3 {
font-size: $font__size-lg;
font-size: calc( 1em * 1.3 );

@include media( tablet ) {
font-size: $font__size-lg;
}
}

h4 {
Expand Down
11 changes: 9 additions & 2 deletions newspack-theme/sass/typography/_headings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,18 @@ h2 {
.comments-title,
.archive .entry-title,
.search .entry-title,
.blog .entry-title,
h3 {
.blog .entry-title {
font-size: $font__size-lg;
}

h3 {
font-size: calc( 1em * 1.3 );

@include media( tablet ) {
font-size: $font__size-lg;
}
}

.site-title,
.site-description,
.comment-author .fn,
Expand Down

0 comments on commit 265a8a7

Please sign in to comment.