title same page notes

This commit is contained in:
Julie Blanc 2026-04-16 18:15:07 +02:00
parent 656e58b0f4
commit 5b1113c988
7 changed files with 64 additions and 5 deletions

View file

@ -6,6 +6,8 @@
.container-note{
padding-left: calc(var(--unit)*2);
}
.page-with-h1 .before-h1,
.container-note-first{
position: absolute;
top: 0;
@ -33,4 +35,6 @@
.note_marker{
font-weight: bold;
}
}

View file

@ -10,8 +10,23 @@
// height: $content-h;
}
// .before-h1{
// break-after: page;
// }
h1{
break-before: page;
break-after: page;
position: absolute;
left: 0;
top: 0;
height: $content-h;
// background-color: red;
display: flex;
flex-direction: column;
justify-content: space-between;
}