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

@ -14,7 +14,7 @@
h2, h3, h4, h5, h6 {
&::before{
content: attr(data-counter);
content: attr(data-counter) ". ";
}
}
@ -99,9 +99,11 @@
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;
// color: red;
&::before{
display: block;
@ -121,16 +123,18 @@
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: $indent;
text-align: center;
padding-bottom: 2mm;
padding-left: $indent*1.5;
text-align: left;
&::before{
display: block;
display: block;
position: absolute;
left: $indent;
}
}
@ -141,7 +145,7 @@
position: relative;
margin-top: calc(var(--baseline)*1);
padding-bottom: calc(var(--baseline)*0.5);
padding-left: $indent*2;
padding-left: $indent*1.5;
&::before{
display: block;
position: absolute;