adjust sectioned style

This commit is contained in:
isUnknown 2024-09-03 16:16:06 +02:00
parent fe7f31a112
commit 4aeeb3a4e4
5 changed files with 18 additions and 8 deletions

View file

@ -1,5 +1,14 @@
[data-template="sectioned"] main p {
[data-template="sectioned"] section {
scroll-margin-top: 7rem;
}
[data-template="sectioned"] .section__row {
margin-bottom: 1rem;
}
[data-template="sectioned"] main p:not(:last-child) {
font-size: var(--font-size-s);
margin-bottom: 1rem;
}
[data-template="sectioned"] main .big p {
@ -8,6 +17,10 @@
[data-template="sectioned"] main h2 {
font-weight: bold;
}
[data-template="sectioned"] main h2,
[data-template="sectioned"] main h3 {
margin-bottom: calc(var(--padding-vertical) / 1.5);
}