mirror of
https://github.com/picocss/pico.git
synced 2025-04-21 17:16:14 -04:00
refactor: remove .headings
This commit is contained in:
parent
d8909184a1
commit
ed8234c7ce
1 changed files with 9 additions and 29 deletions
|
@ -94,38 +94,18 @@
|
|||
}
|
||||
|
||||
// Heading group
|
||||
@if $enable-classes == false {
|
||||
hgroup {
|
||||
margin-bottom: var(#{$✨}typography-spacing-vertical);
|
||||
hgroup {
|
||||
margin-bottom: var(#{$✨}typography-spacing-vertical);
|
||||
|
||||
> * {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
> *:last-child {
|
||||
#{$✨}color: var(#{$✨}muted-color);
|
||||
#{$✨}font-weight: unset;
|
||||
font-size: 1rem;
|
||||
font-family: unset;
|
||||
}
|
||||
> * {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@if $enable-classes {
|
||||
hgroup,
|
||||
.headings {
|
||||
margin-bottom: var(#{$✨}typography-spacing-vertical);
|
||||
|
||||
> * {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
> *:last-child {
|
||||
#{$✨}color: var(#{$✨}muted-color);
|
||||
#{$✨}font-weight: unset;
|
||||
font-size: 1rem;
|
||||
font-family: unset;
|
||||
}
|
||||
> *:last-child {
|
||||
#{$✨}color: var(#{$✨}muted-color);
|
||||
#{$✨}font-weight: unset;
|
||||
font-size: 1rem;
|
||||
font-family: unset;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue