mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 18:56:15 -04:00
fix: make .headings an alternative only when classes are enabled
This commit is contained in:
parent
ed120df03b
commit
56c310fe99
17 changed files with 62 additions and 32 deletions
|
@ -722,16 +722,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue