Skip to content

Commit

Permalink
theme/css/general.css: emphasize active sidebar item
Browse files Browse the repository at this point in the history
Highlights the background of the selected sidebar link
  • Loading branch information
ethamck committed Sep 15, 2024
1 parent 8e7053a commit ca83549
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/theme/css/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,11 @@ svg {
text-decoration: none;
}
#sidebar a.active {
color: var(--sidebar-active);
background-color: var(--sidebar-active);
color: var(--bg);
display: block;
padding: 0.5em;
width: 100%;
}

#sidebar-toggle {
Expand Down

0 comments on commit ca83549

Please sign in to comment.