@@ -442,3 +442,35 @@ body[data-rh] .redocusaurus {
442442 padding : 2rem 0 !important ;
443443 background : transparent !important ;
444444}
445+
446+
447+ /* --- Docs sidebar typography: bold only top-level categories --- */
448+
449+ /* Reset: all sidebar links use base font at normal weight */
450+ .theme-doc-sidebar-container .menu__link {
451+ font-family : var (--ifm-font-family-base ) !important ;
452+ font-weight : 400 !important ;
453+ }
454+
455+ /* Top-level categories (expand/collapse) → true bold (700) */
456+ .theme-doc-sidebar-container
457+ .theme-doc-sidebar-item-category-level-1
458+ > .menu__list-item-collapsible
459+ > : is (a , button ).menu__link--sublist {
460+ font-family : var (--ifm-font-family-base ) !important ;
461+ font-weight : 700 !important ; /* heavier than theme semibold (≈500) */
462+ }
463+
464+ /* Nested categories (level ≥ 2) stay normal */
465+ .theme-doc-sidebar-container
466+ .theme-doc-sidebar-item-category : not (.theme-doc-sidebar-item-category-level-1 )
467+ > .menu__list-item-collapsible
468+ > : is (a , button ).menu__link--sublist {
469+ font-weight : 400 !important ;
470+ }
471+
472+ /* Page links (including active) stay normal */
473+ .theme-doc-sidebar-container .theme-doc-sidebar-item-link .menu__link ,
474+ .theme-doc-sidebar-container .theme-doc-sidebar-item-link .menu__link .menu__link--active {
475+ font-weight : 400 !important ;
476+ }
0 commit comments