Skip to content

Commit

Permalink
exclude menu and TOC items from the visited link styles for better UX
Browse files Browse the repository at this point in the history
for better UX, menu and TOC items style should indicate only one thing, which is the current read item
  • Loading branch information
Ahmed-Hakeem authored Dec 16, 2024
1 parent 41403bb commit d3238ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ a.contents__link.contents__link--active {
font-weight: 600;
}

a:visited {
a:visited:not(.menu__link, .table-of-contents__link) {
color: var(--ifm-color-primary);
}

Expand Down

0 comments on commit d3238ef

Please sign in to comment.