Skip to content

Commit 719dac5

Browse files
authored
Merge pull request #4050 from riqts/Website-visited-link-color-TOC
2 parents 105ad19 + 520912b commit 719dac5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

website/src/css/custom.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,14 @@ a.contents__link > code {
134134
color: inherit;
135135
}
136136

137-
a.contents__link.contents__link--active {
138-
font-weight: 600;
137+
.table-of-contents__link--active {
138+
font-weight: 500;
139+
text-decoration: underline;
140+
}
141+
142+
.table-of-contents__link:hover > code,
143+
.table-of-contents__link:hover {
144+
color: var(--ifm-color-primary-lightest);
139145
}
140146

141147
a:visited {

0 commit comments

Comments
 (0)