titles section

This commit is contained in:
Julie Blanc 2026-01-20 21:14:47 +01:00
parent 35c6271137
commit 5b80e66e60
3 changed files with 47 additions and 42 deletions

View file

@ -41,27 +41,8 @@
text-indent: 0;
}
h1{
font-family: var(--font-title);
font-size: 1.4rem;
font-weight: 500;
text-transform: uppercase;
line-height: calc(var(--baseline)*1.4);
text-align: center;
position: relative;
margin-top: calc(var(--baseline)*2 - 3px);
padding-bottom: calc(var(--baseline)*1);
padding-left: 1ch;
padding-right: 1ch;
&::before{
display: block;
font-size: var(--fs-num);
}
}
h1:first-of-type{
margin-top: 3px!important;
}
@ -148,4 +129,26 @@
[data-id="section__content"][data-split-from] > :first-child {
margin-top: 0;
}
}
h1{
font-family: var(--font-title);
font-size: 1.4rem;
font-weight: 500;
text-transform: uppercase;
line-height: calc(var(--baseline)*1.4);
text-align: center;
position: relative;
margin-top: calc(var(--baseline)*2 - 3px);
padding-bottom: calc(var(--baseline)*1);
padding-left: 1ch;
padding-right: 1ch;
&::before{
display: block;
font-size: var(--fs-num);
}
}
section h1:first-of-type{
margin-top: 3px!important;
}