Fix show position in toc colors

This commit is contained in:
lolabird 2026-01-17 15:54:02 -07:00
commit 7daa3cfc89
No known key found for this signature in database
GPG key ID: CCB68A8A3FA20AAA

View file

@ -294,12 +294,9 @@ span.toc ol, span.highlights-list ol {
}
/***Only applies if 'Show Position in TOC' widget is in use***/
.toc-widget span.toc li[style] {
.toc li.in-view {
color: var(--carolina-blue) !important;
}
.toc-widget span.toc li:not([style*="color:"]), .toc-widget span.toc li:not([style*="color:"]) * {
color: inherit !important;
}
.toc-widget .toc li, .highlights-list > ol > li {
text-align: left;