@@ -153,6 +153,11 @@ List<StyleRule> get siteStyles => [
153153 css ('.header .header-title img' ).styles (height: 2. rem),
154154 // Vertically center nav links with icons in the header
155155 css ('.header .header-items' ).styles (alignItems: AlignItems .center),
156+ // Hamburger menu button: match Docusaurus 30×30 SVG (jaspr_content default is 20×20)
157+ css ('.sidebar-toggle-button svg' ).styles (
158+ width: 30. px,
159+ height: 30. px,
160+ ),
156161 // Hide header nav items on narrow viewports
157162 css.media (MediaQuery .all (maxWidth: 1000. px), [
158163 css ('.header .header-items' ).styles (display: Display .none),
@@ -412,10 +417,9 @@ List<StyleRule> get siteStyles => [
412417 css ('.mobile-toc' , [
413418 css ('&' ).styles (
414419 margin: Margin .only (bottom: 1. rem),
415- radius: BorderRadius .circular (0.5 .rem),
420+ radius: BorderRadius .circular (0.4 .rem),
416421 raw: {
417- 'border' : '1px solid #dadde1' ,
418- 'background' : '#f6f7f8' ,
422+ 'background' : 'rgba(0, 0, 0, 0.05)' ,
419423 },
420424 ),
421425 ]),
@@ -470,29 +474,29 @@ List<StyleRule> get siteStyles => [
470474 css ('li' ).styles (
471475 padding: Padding .symmetric (vertical: 0.25 .rem),
472476 ),
473- css ('a' ).styles (
474- color: Color ('#525860' ),
475- fontSize: 0.8125 .rem,
476- textDecoration: TextDecoration .none,
477- ),
478- css ('a:hover' ).styles (
479- color: Color ('#2a48df' ),
480- ),
481477 ]),
478+ // Mobile TOC links: use higher specificity to override .content-container a
479+ css ('.mobile-toc .mobile-toc-content a' ).styles (
480+ color: Color ('#1c1e21' ),
481+ fontSize: 0.8125 .rem,
482+ textDecoration: TextDecoration .none,
483+ ),
484+ css ('.mobile-toc .mobile-toc-content a:hover' ).styles (
485+ color: Color ('#2a48df' ),
486+ ),
482487 css ('.mobile-toc.expanded .mobile-toc-content' ).styles (
483488 raw: {'max-height' : '500px' },
484489 ),
485490 // Dark mode mobile TOC
486491 css ('[data-theme="dark"] .mobile-toc' ).styles (
487492 raw: {
488- 'background' : '#0d1f42' ,
489- 'border-color' : '#444950' ,
493+ 'background' : 'rgba(255, 255, 255, 0.05)' ,
490494 },
491495 ),
492- css ('[data-theme="dark"] .mobile-toc-content a' ).styles (
493- color: Color ('#a0a0a0 ' ),
496+ css ('[data-theme="dark"] .mobile-toc .mobile-toc -content a' ).styles (
497+ color: Color ('#e3e3e3 ' ),
494498 ),
495- css ('[data-theme="dark"] .mobile-toc-content a:hover' ).styles (
499+ css ('[data-theme="dark"] .mobile-toc .mobile-toc -content a:hover' ).styles (
496500 color: Color ('#66fbd1' ),
497501 ),
498502
0 commit comments