add intro and chapter wrapper

This commit is contained in:
Julie Blanc 2026-04-21 13:52:57 +02:00
parent 92b92a1146
commit 07047d97ea
8 changed files with 130 additions and 55 deletions

View file

@ -253,14 +253,13 @@ body {
string-set: chapter content(text);
}
#section__content {
.chapter {
-moz-column-break-before: left;
break-before: left;
}
#section__content h1:first-of-type {
-moz-column-break-before: right;
break-before: right;
.intro {
color: red;
}
sup {
@ -362,8 +361,6 @@ ol[type="1"].ol-clone {
}
#section__content h1 {
-moz-column-break-before: page;
break-before: page;
-moz-column-break-after: page;
break-after: page;
position: absolute;