Skip to content

Commit

Permalink
fix: make single post subtitle styles more specific (#2271)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelfulford authored Apr 10, 2024
1 parent db8195d commit 5c7a834
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions newspack-theme/sass/site/primary/_posts-and-pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,22 @@
}

.newspack-post-subtitle {
margin-bottom: 1.3em;
font-style: italic;
@include utilities.media( mobile ) {
margin-bottom: 2.3em;
}

em,
i {
font-style: normal;
}
}

.entry-header .newspack-post-subtitle {
margin-bottom: 1.3em;

@include utilities.media( mobile ) {
margin-bottom: 2.3em;
}
}

.article-summary {
background: var( --newspack-theme-color-bg-pre );
font-size: 0.9rem;
Expand Down

0 comments on commit 5c7a834

Please sign in to comment.