mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-04-16 05:38:33 +02:00
Fix: TOC first line ### heading
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
|
/* ── 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. */
|
||||||
|
#TableOfContents > ul > li:first-child:not(:has(> a)) {
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* ── UniNotes ───────────────────────────────────────────────────────────── */
|
/* ── UniNotes ───────────────────────────────────────────────────────────── */
|
||||||
|
|
||||||
.uninotes-breadcrumbs {
|
.uninotes-breadcrumbs {
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
/* ── 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. */
|
||||||
|
#TableOfContents > ul > li:first-child:not(:has(> a)) {
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* ── UniNotes ───────────────────────────────────────────────────────────── */
|
/* ── UniNotes ───────────────────────────────────────────────────────────── */
|
||||||
|
|
||||||
.uninotes-breadcrumbs {
|
.uninotes-breadcrumbs {
|
||||||
|
|||||||
Reference in New Issue
Block a user