Skip to content

Commit

Permalink
Minify styles (#2387)
Browse files Browse the repository at this point in the history
* feat: minify CSS

* fix: nested rule placement
  • Loading branch information
adekbadek authored Oct 17, 2024
1 parent 4929ce6 commit 069515a
Show file tree
Hide file tree
Showing 4 changed files with 802 additions and 217 deletions.
8 changes: 4 additions & 4 deletions newspack-theme/sass/navigation/_menu-mobile-navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@

// Mobile CTA
.site-header .mb-cta {
font-size: 0.7em;
margin-left: auto;
padding: #{0.6 * structure.$size__spacing-unit} #{0.5 * structure.$size__spacing-unit};

&,
&:visited:not(:hover) {
background: #d33;
color: #fff;
}

font-size: 0.7em;
margin-left: auto;
padding: #{0.6 * structure.$size__spacing-unit} #{0.5 * structure.$size__spacing-unit};

&,
&:visited {
background: #d33;
Expand Down
Loading

0 comments on commit 069515a

Please sign in to comment.