fix: make .headings an alternative only when classes are enabled

This commit is contained in:
AmiralBl3ndic 2021-12-29 19:38:23 +01:00
parent ed120df03b
commit 56c310fe99
17 changed files with 62 additions and 32 deletions

View file

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