wrap intro + add chapterEnd

This commit is contained in:
Julie Blanc 2026-04-21 15:40:30 +02:00
parent 07047d97ea
commit 0d56ca3d0d
10 changed files with 217 additions and 158 deletions

View file

@ -11,7 +11,9 @@ $indent: 10mm;
$unit: calc($content-w/7);
:root{
--unit: #{$unit};
// --content-w: #{$content-w};
// --unit: calc(var(--content-w)/7);
--unit: 80px;
}
@ -139,15 +141,6 @@ $unit: calc($content-w/7);
}
#section__content{
break-before: right;
}
.page-break{
break-before: page;
}
#section__content h1 .h1-count{
@ -159,19 +152,8 @@ $unit: calc($content-w/7);
}
.chapter{
break-before: left;
}
.intro{
color: red;
page: chapter;
break-before: page;
}
// #section__content{
// break-before: left;
// }
// #section__content h1:first-of-type{
// break-before: right;
// }