Clean up the spacing of content header elements stacked next to each other

This commit is contained in:
Eryn Wells 2024-10-08 22:24:16 -07:00
parent f7928c2190
commit 9baf615ebd

View file

@ -40,6 +40,16 @@ h1, h2, h3, h4, h5, h6 {
margin-block: var(--space-l) var(--space-m);
}
:is(h1, h2, h3, h4, h5, h6),
.page-header
{
+ :is(h1, h2, h3, h4, h5, h6),
+ :is(dl, ol, ul)
{
margin-block-start: 0;
}
}
hr {
margin-block: var(--space-m);
}