Fix show position in toc colors

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

View file

@ -297,11 +297,8 @@ padding-left: 1.5rem;
} }
/***Only applies if 'Show Position in TOC' widget is in use***/ /***Only applies if 'Show Position in TOC' widget is in use***/
.toc-widget span.toc li[style] { .toc li.in-view {
color: var(--tan) !important; color: var(--tan) !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 { .toc-widget .toc li, .highlights-list > ol > li {