Skip to content

Commit b8a950f

Browse files
author
reidliu41
committed
[Misc] improve web section group title display
Signed-off-by: reidliu41 <[email protected]>
1 parent 6071e98 commit b8a950f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/mkdocs/stylesheets/extra.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,15 @@ a:not(:has(svg)):not(.md-icon) {
2222
display: inline-block;
2323
}
2424
}
25+
26+
/* Light mode: darker section titles */
27+
body[data-md-color-scheme="default"] .md-nav__item--section > label.md-nav__link .md-ellipsis {
28+
color: black !important;
29+
font-weight: bold;
30+
}
31+
32+
/* Dark mode: lighter gray section titles */
33+
body[data-md-color-scheme="slate"] .md-nav__item--section > label.md-nav__link .md-ellipsis {
34+
color: white !important;
35+
font-weight: bold;
36+
}

0 commit comments

Comments
 (0)