dad2b237d480ba64706fbb6c63d092b2738a2413
jnavarr5
  Mon Aug 24 15:33:38 2026 -0700
Add ### headings as indented TOC sub-items and fix docs sidebar highlighting, refs #36320

diff --git src/hg/htdocs/staticStyle/gbStatic.css src/hg/htdocs/staticStyle/gbStatic.css
index 4509b5976ea..22963437cce 100644
--- src/hg/htdocs/staticStyle/gbStatic.css
+++ src/hg/htdocs/staticStyle/gbStatic.css
@@ -346,30 +346,36 @@
 }
 
 .gbsPage .docs-toc ul li::before {
     content: none;
 }
 
 .gbsPage .docs-toc li a {
     display: block;
     padding: 4px 12px;
     color: #333;
     font-weight: normal;
     text-decoration: none;
     border-left: 3px solid transparent;
 }
 
+.gbsPage .docs-toc li.docs-toc-sub a {
+    padding-left: 28px;
+    font-size: 13px;
+    color: #555;
+}
+
 .gbsPage .docs-toc li a:hover {
     color: #4c759c;
     border-left-color: #ddd;
 }
 
 .gbsPage .docs-toc li.active > a {
     color: #4c759c;
     font-weight: bold;
     border-left-color: #4c759c;
 }
 
 /* "On this page" label above the sidebar TOC */
 .docs-page .docs-toc::before {
     content: "On this page";
     display: block;