Fix active page li color

This commit is contained in:
Nathan Upchurch 2024-08-13 22:46:19 -05:00
parent c5121f01ca
commit 092c806226

View File

@ -528,7 +528,7 @@ nav ul {
.nav-item[data-currentpage="true"] { .nav-item[data-currentpage="true"] {
border-top: var(--border-nav-currentpage); border-top: var(--border-nav-currentpage);
} }
.nav-item[data-currentpage="true"] a { .nav-item[data-currentpage="true"] a, .nav-item[data-currentpage="true"] a[href]:visited, .nav-item[data-currentpage="true"]:hover a {
color: var(--contrast-color); color: var(--contrast-color);
margin-top: calc(var(--space-xs-s) * -2); /* Compensate for border thickness */ margin-top: calc(var(--space-xs-s) * -2); /* Compensate for border thickness */
} }