Add slugified id for sections

This commit is contained in:
thiloho
2024-08-18 19:18:32 +02:00
parent 191fc1c12b
commit b32727aa8c
4 changed files with 54 additions and 20 deletions

View File

@@ -35,6 +35,12 @@ footer {
padding-block: 1rem;
}
section + section {
margin-block-start: 1rem;
section:has(> h2) + section:has(> h2) {
margin-block-start: 2rem;
}
section {
display: flex;
flex-direction: column;
gap: 1rem;
}