baseline & toc

This commit is contained in:
Julie Blanc 2026-04-14 18:18:10 +02:00
parent 831d276d41
commit 79b2753fdb
16 changed files with 385 additions and 16 deletions

View file

@ -35,7 +35,7 @@ body {
@page {
size: 176mm 240mm;
margin-top: 6mm;
margin-bottom: 18mm;
margin-bottom: 20mm;
}
@page :left {
margin-left: 6mm;
@ -296,6 +296,8 @@ p, li {
hyphenate-limit-lines: 2;
hyphenate-limit-zone: 8%;
word-spacing: -0.004em;
widows: 2;
orphans: 2;
}
.wrapper-indent > p:first-of-type {
@ -358,7 +360,7 @@ ol[type="1"].ol-clone {
#section__content h1 {
-moz-column-span: all;
column-span: all;
height: 215mm;
height: 213mm;
}
#section__content h2::before, #section__content h3::before, #section__content h4::before, #section__content h5::before, #section__content h6::before {
content: attr(data-counter);
@ -517,4 +519,38 @@ ol[type="1"].ol-clone {
line-height: 1;
position: relative;
top: -4px;
}
#toc_container {
-moz-column-break-before: page;
break-before: page;
-moz-column-break-after: page;
break-after: page;
}
#toc_container ul {
list-style-type: none;
color: black;
}
#toc_container .toc-element-level-1 {
margin-top: calc(var(--baseline) * 1);
margin-bottom: calc(var(--baseline) * 0.5);
font-size: 1.2rem;
line-height: 1.2;
}
#toc_container .toc-element-level-2 {
font-weight: bold;
margin-top: calc(var(--baseline) * 0.5);
margin-bottom: calc(var(--baseline) * 0.5);
}
#toc_container .toc-element-level-3 {
text-indent: 5mm;
}
#toc_container .toc-element-level-4 {
text-indent: 10mm;
}
#toc_container .toc-element-level-5 {
text-indent: 15mm;
}
#toc_container .toc-element-level-6 {
text-indent: 20mm;
}/*# sourceMappingURL=style.css.map */