titles w/ point + corrections style

This commit is contained in:
Julie Blanc 2026-04-22 17:01:29 +02:00
parent fbeefd2f31
commit acb97e1a8e
3 changed files with 26 additions and 20 deletions

View file

@ -363,7 +363,7 @@ ol[type="1"].ol-clone {
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);
content: attr(data-counter) ". ";
}
#section__content h2, #section__content h3, #section__content h4 {
-moz-column-break-inside: avoid;
@ -425,24 +425,26 @@ ol[type="1"].ol-clone {
text-align: center;
line-height: calc(var(--baseline) * 1.4);
margin-top: 4mm;
padding-bottom: 4mm;
padding-bottom: calc(var(--baseline) * 0.5);
hyphens: auto;
}
#section__content h2::before {
display: block;
}
#section__content h3 {
font-weight: 500;
font-size: 1em;
line-height: calc(var(--baseline) * 0.75);
font-weight: normal;
font-size: 16px;
line-height: calc(var(--baseline) * 1);
position: relative;
margin-top: 4mm;
padding-bottom: 4mm;
padding-left: 10mm;
text-align: center;
padding-bottom: 2mm;
padding-left: 15mm;
text-align: left;
}
#section__content h3::before {
display: block;
position: absolute;
left: 10mm;
}
#section__content h4 {
font-weight: 500;
@ -451,7 +453,7 @@ ol[type="1"].ol-clone {
position: relative;
margin-top: calc(var(--baseline) * 1);
padding-bottom: calc(var(--baseline) * 0.5);
padding-left: 20mm;
padding-left: 15mm;
}
#section__content h4::before {
display: block;