Skip to content

Commit 9bd62d7

Browse files
committed
added table-of-contents hover text color to white to match current sidebar menu behaviour (to stop the transition back to white on a visited element)
1 parent ea1017f commit 9bd62d7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

website/src/css/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,11 @@ a.contents__link.contents__link--active {
138138
font-weight: 600;
139139
}
140140

141+
.table-of-contents__link:hover > code,
142+
.table-of-contents__link:hover {
143+
color: var(--ifm-color-primary-lightest);
144+
}
145+
141146
a:visited {
142147
color: var(--ifm-color-primary);
143148
}

0 commit comments

Comments
 (0)