Skip to content

Commit e295cf7

Browse files
committed
fix menu sidbar links in darkmode mobile/narrow screen
1 parent e48fb13 commit e295cf7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/stylesheets/extra.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,11 @@ Adjust admonitions and links to match (where otherwise clashed)
107107
--md-primary-fg-color: #5d8095;
108108
--md-accent-fg-color: #92991c;
109109
}
110+
111+
/* Dark mode link color set separately for menu links on mobile/narrow screens */
112+
[data-md-color-scheme="slate"] .md-typeset a {
113+
color: #0097b2;
114+
}
115+
[data-md-color-scheme="slate"] .md-nav .md-nav__link--active {
116+
color: #0097b2;
117+
}

0 commit comments

Comments
 (0)