TOC: extract h1/h2/h3, indent sub-levels in charte/licence sidebar

This commit is contained in:
Pontoporeia
2026-07-10 14:16:05 +02:00
parent 485324368f
commit c513ad2545
5 changed files with 16 additions and 7 deletions
+7
View File
@@ -38,6 +38,13 @@
font-weight: 400;
}
/* Indent sub-headings in TOC */
.toc-list .toc-level-2 { padding-left: var(--space-s); }
.toc-list .toc-level-3 { padding-left: var(--space-m); }
.toc-list .toc-level-2 a { font-size: var(--step--1); }
.toc-list .toc-level-3 a { font-size: var(--step--2); }
/* ── Public TOC (details/summary block) ─────────────────────────────────── */
.toc {
border: none;