feat: Add formatting for hgroup

This commit is contained in:
sthag 2025-09-29 20:39:41 +02:00
parent 1410cf811c
commit 9de0eeddea

View file

@ -16,6 +16,7 @@ html {
// nav // nav
// aside // aside
// h1-h6 // h1-h6
// hgroup
// header // header
// footer // footer
@ -174,15 +175,12 @@ h1 {
margin: $space_large 0 $space_small; margin: $space_large 0 $space_small;
} }
h1+h1 {
margin-top: 0;
}
h2 { h2 {
@extend %head_2; @extend %head_2;
margin: $space_medium 0 $space_small; margin: $space_medium 0 $space_small;
} }
h1+h1,
h2+h2 { h2+h2 {
margin-top: 0; margin-top: 0;
} }
@ -212,6 +210,19 @@ h6 {
font-weight: bold; font-weight: bold;
} }
hgroup {
&>h1,
&>h2 {
margin-bottom: 0;
}
&>p {
margin-bottom: $space_small;
}
}
// Header // Header
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
header { header {