Update: TOC padding

This commit is contained in:
hyzen
2026-04-10 19:59:11 +05:30
parent 37c632b82f
commit ee5b33bb36
14 changed files with 52 additions and 42 deletions

View File

@@ -1,3 +1,8 @@
/* ── TOC: gap between TOC and first content line ────────────────────────── */
.toc {
margin-bottom: 2.2rem;
}
/* ── TOC: hide phantom empty bullet when post starts with ### (h3) ──────── */
/* Hugo wraps orphaned h3s in a li>ul, leaving an empty li with no direct
anchor. This hides it without affecting any meaningful TOC entry. */