Skip to content

Commit

Permalink
Keep the menus clean and ensure there is a non-color designator on focus
Browse files Browse the repository at this point in the history
  • Loading branch information
froboy authored and chalin committed Feb 2, 2024
1 parent 3cb790a commit 9c0a5fb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
14 changes: 13 additions & 1 deletion assets/scss/_sidebar-toc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@

&:hover {
color: $blue;
text-decoration: none;
}
}
}
Expand All @@ -59,3 +58,16 @@
padding-left: 0;
}
}

.td-page-meta,
.td-sidebar-toc,
.td-toc {
a {
text-decoration: none;

&:hover,
&:focus {
text-decoration: underline;
}
}
}
3 changes: 2 additions & 1 deletion assets/scss/_sidebar-tree.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@

a {
color: $gray-900;
text-decoration: none;
}
}

Expand All @@ -79,7 +80,7 @@
a {
&:hover {
color: $blue;
text-decoration: none;
text-decoration: underline;
}

&.active {
Expand Down

0 comments on commit 9c0a5fb

Please sign in to comment.