titles section
This commit is contained in:
parent
35c6271137
commit
5b80e66e60
3 changed files with 47 additions and 42 deletions
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue