Skip to content

Commit 2e65479

Browse files
authored
exclude menu and TOC items from the visited link styles for better UX (#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
1 parent 41403bb commit 2e65479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/css/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ a.contents__link.contents__link--active {
137137
font-weight: 600;
138138
}
139139

140-
a:visited {
140+
a:visited:not(.menu__link, .table-of-contents__link, .navbar__link:not([target="_blank"])) {
141141
color: var(--ifm-color-primary);
142142
}
143143

0 commit comments

Comments
 (0)