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

This commit is contained in:
lolabird 2024-09-09 17:27:51 -06:00
commit 28c52675d6
No known key found for this signature in database
GPG key ID: 0B9E871F678F9DB3

View file

@ -261,11 +261,21 @@ 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(--tan) !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;
} }
/*****Included Notes*****/ /*****Included Notes*****/
.include-note { .include-note {
margin-bottom: 1.1rem !important; margin-bottom: 1.1rem !important;