0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-06 12:12:42 +00:00

Slight Rearrange of ToC theme names and menu

Reorders ToC inclusion options with slight relabel for clarity.
Changes assumptions on H4, H5, and H6 snippets to assume H1-H3 class should be explicitly stated.

change naming of addToToCH# to tocH#

more explicitly define .addToC to h1 to h3 changes for --TOC var.
This commit is contained in:
David Bolack
2024-05-12 12:00:55 -05:00
parent c0beae6e46
commit afb5ccec81
2 changed files with 27 additions and 23 deletions

View File

@@ -794,20 +794,24 @@ h6,
.noToC,
.toc { --TOC: exclude; }
.addToCH4 {
.tocH4 {
h4 { --TOC: include; }
}
.addToCH5 {
.tocH5 {
h4 { --TOC: include; }
h5 { --TOC: include; }
}
.addToCH6 {
.tocH6 {
h4 { --TOC: include; }
h5 { --TOC: include; }
h6 { --TOC: include; }
}
.addToC { --TOC: include; }
.addToC {
h1 {--TOC: include; }
h2 {--TOC: include; }
h3 {--TOC: include; }
}
.page {
&:has(.toc)::after { display : none; }