Skip to content

Commit

Permalink
Fix blurring from nav title box shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Jul 23, 2024
1 parent c271eda commit 7106716
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,14 @@
background-color: var(--md-code-bg-color);
}

/* Prevent the shadow from the nav title from blurring the top link.
The box shadow isn't really doing anything anyway.
This is a consequence of the reduced nav spacing below. */
.md-nav--primary .md-nav__title {
box-shadow: none;
}

/* Reducing spacing between nav items to fit more content */
.md-nav__link {
margin-top: 0.3em;
Expand Down

0 comments on commit 7106716

Please sign in to comment.