Skip to content

Commit 1f88dbd

Browse files
reidliu41reidliu41
and
reidliu41
authored
[Misc] improve web section group title display (#18684)
Signed-off-by: reidliu41 <[email protected]> Co-authored-by: reidliu41 <[email protected]>
1 parent 0eebd74 commit 1f88dbd

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):not(.autorefs-external) {
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: rgba(0, 0, 0, 0.7) !important;
29+
font-weight: 700;
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: rgba(255, 255, 255, 0.75) !important;
35+
font-weight: 700;
36+
}

0 commit comments

Comments
 (0)