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
…#4761)

* exclude menu and TOC items from the visited link styles for better UX

for better UX, menu and TOC items style should indicate only one thing, which is the current read item

* exclude nav items from the visited link styles for better UX
  • Loading branch information
Ahmed-Hakeem authored Dec 16, 2024
1 parent 41403bb commit 2e65479
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, .navbar__link:not([target="_blank"])) {
color: var(--ifm-color-primary);
}

Expand Down

0 comments on commit 2e65479

Please sign in to comment.