Change active TOC color is \'Show Position in TOC\' widget is in use

This commit is contained in:
lolabird 2024-09-09 17:25:55 -06:00
commit 969266141a
No known key found for this signature in database
GPG key ID: 0B9E871F678F9DB3

View file

@ -167,6 +167,15 @@ html {
overflow: visible !important; overflow: visible !important;
font-size: var(--tree-font-size); font-size: var(--tree-font-size);
} }
/***Only applies if 'Show Position in TOC' widget is in use***/
.toc-widget span.toc li[style] {
color: var(--bold-sun) !important;
}
.toc-widget span.toc li:not([style*="color:"]) {
color: inherit !important;
}
.toc-widget .toc li, .highlights-list > ol > li { .toc-widget .toc li, .highlights-list > ol > li {
text-align: left; text-align: left;
} }