mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-11 17:42:42 +00:00
Add toggle-on classes.
This commit is contained in:
@@ -314,7 +314,6 @@
|
|||||||
border-image : @monsterBorderImage 14 round;
|
border-image : @monsterBorderImage 14 round;
|
||||||
border-image-outset : 0px 2px;
|
border-image-outset : 0px 2px;
|
||||||
box-shadow : 1px 4px 14px #888888;
|
box-shadow : 1px 4px 14px #888888;
|
||||||
--TOC : "exclude";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
position : relative;
|
position : relative;
|
||||||
@@ -330,13 +329,11 @@
|
|||||||
margin-bottom : 0;
|
margin-bottom : 0;
|
||||||
font-size : 0.304cm; //Monster size and type subtext
|
font-size : 0.304cm; //Monster size and type subtext
|
||||||
}
|
}
|
||||||
--TOC : "exclude";
|
|
||||||
}
|
}
|
||||||
h3 {
|
h3 {
|
||||||
font-family : 'ScalySansSmallCapsRemake';
|
font-family : 'ScalySansSmallCapsRemake';
|
||||||
font-size : 0.45cm;
|
font-size : 0.45cm;
|
||||||
border-bottom : 1.5px solid var(--HB_Color_HeaderText);
|
border-bottom : 1.5px solid var(--HB_Color_HeaderText);
|
||||||
--TOC : "exclude";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//Triangle dividers
|
//Triangle dividers
|
||||||
@@ -800,15 +797,22 @@
|
|||||||
// * TABLE OF CONTENTS
|
// * TABLE OF CONTENTS
|
||||||
// *****************************/
|
// *****************************/
|
||||||
|
|
||||||
|
// Default Exclusions
|
||||||
.page:has(.frontCover),
|
.page:has(.frontCover),
|
||||||
.page:has(.backCover),
|
.page:has(.backCover),
|
||||||
.page:has(.insideCover),
|
.page:has(.insideCover),
|
||||||
.page:has(.partCover),
|
.page:has(.partCover),
|
||||||
.monster h3,
|
.monster,
|
||||||
.monster h4,
|
.noToC,
|
||||||
h5, h6,
|
|
||||||
.toc { --TOC: exclude; }
|
.toc { --TOC: exclude; }
|
||||||
|
|
||||||
|
// Manual Inclusion classes
|
||||||
|
|
||||||
|
.addToC,
|
||||||
|
.addh1, .addh2, .addh3, .addh4, .addh5, .addh6, .addh1h2 h1, .addh1h2 h2,
|
||||||
|
.addh1h3 h1, .addh1h3 h2, .addh1h3 h3, .addh1h4 h1, .addh1h4 h2, .addh1h4 h3, .addh1h4 h4,
|
||||||
|
.addh1h5 h1, .addh1h5 h2, .addh1h5 h3, .addh1h5 h4, .addh1h5 h5 { --TOC: include; }
|
||||||
|
|
||||||
.page {
|
.page {
|
||||||
&:has(.toc)::after { display : none; }
|
&:has(.toc)::after { display : none; }
|
||||||
.toc {
|
.toc {
|
||||||
|
|||||||
Reference in New Issue
Block a user