Feat: add a class alternative to hgroup

This commit is contained in:
AmiralBl3ndic 2021-12-29 19:15:39 +01:00
parent e7ffe74a05
commit ed120df03b
19 changed files with 90 additions and 59 deletions

View file

@ -798,13 +798,16 @@ ul ~ h6 {
margin-top: var(--typography-spacing-vertical);
}
hgroup {
hgroup,
.headings {
margin-bottom: var(--typography-spacing-vertical);
}
hgroup > * {
hgroup > *,
.headings > * {
margin-bottom: 0;
}
hgroup > *:last-child {
hgroup > *:last-child,
.headings > *:last-child {
--color: var(--muted-color);
--font-weight: unset;
font-size: 1rem;