File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -228,6 +228,20 @@ html[data-theme="dark"] .highlight .p {
228228 color : # e6edf3 ;
229229}
230230
231+ /* ── Sidebar nav section separators ─────────────────────────────────────── */
232+ /* All p.caption elements are flat siblings inside a single <nav>. */
233+ /* The ~ combinator targets every caption that follows the first one, */
234+ /* adding a hairline rule above it without an orphan border at the top. */
235+ # left-sidebar nav p .caption ~ p .caption {
236+ border-top : 1px solid # d0d7de ;
237+ padding-top : 0.85rem ;
238+ margin-top : 0.5rem ;
239+ }
240+
241+ html [data-theme = "dark" ] # left-sidebar nav p .caption ~ p .caption {
242+ border-top-color : # 30363d ;
243+ }
244+
231245/* ── List item spacing — Tailwind prose adds too much gap ────────────────── */
232246/* Scoped to #content so sidebar/nav lists are unaffected */
233247# content ul li ,
You can’t perform that action at this time.
0 commit comments