move note to prev page

This commit is contained in:
Julie Blanc 2026-04-16 16:00:53 +02:00
parent d57050caeb
commit 1d747cc77b
8 changed files with 114 additions and 40 deletions

View file

@ -139,7 +139,7 @@ $unit: calc($content-w/7);
#section__content{
break-before: right;
}
@ -157,11 +157,11 @@ $unit: calc($content-w/7);
// Title chapter
#section__content h1{
break-before: left;
break-after: page;
page: chapter;
}
// #section__content h1{
// break-before: left;
// break-after: page;
// page: chapter;
// }
#section__content h1 .h1-count{
string-set: chapterCount content(text);
}
@ -171,3 +171,12 @@ $unit: calc($content-w/7);
}
#section__content{
break-before: left;
}
#section__content h1:first-of-type{
break-before: right;
// background-color: red;
}