Update .headings SCSS code and docs

This commit is contained in:
Lucas Larroche 2021-12-31 11:42:44 +07:00
parent 56c310fe99
commit 568f3c646d
15 changed files with 33 additions and 50 deletions

View file

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