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;
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 {
text-align: left;
}
/*****Included Notes*****/
.include-note {
margin-bottom: 1.1rem !important;