Skip to content

Commit

Permalink
Bold active nav links for accessibility (#5673)
Browse files Browse the repository at this point in the history
Before
<img width="412" alt="Screenshot 2024-07-31 at 3 47 38 PM"
src="https://github.com/user-attachments/assets/d95ebb62-079b-4e20-964c-9876b5978e4c">
After
<img width="412" alt="Screenshot 2024-07-31 at 3 47 21 PM"
src="https://github.com/user-attachments/assets/a658d46a-3eeb-4f00-8952-d4c1dd91afe6">
  • Loading branch information
zanieb authored Jul 31, 2024
1 parent ff2b810 commit b0e3785
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,8 @@ See https://github.com/astral-sh/uv/issues/5130 */
.highlight .gp, .highlight .go { /* Generic.Prompt, Generic.Output */
user-select: none;
}

/* Bold the active nav link for accessibility */
.md-nav__link--active {
font-weight: bold;
}

0 comments on commit b0e3785

Please sign in to comment.