mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 10:46:14 -04:00
Merge pull request #320 from picocss/ll/v2-refactor-heading
refactor: hgroup
This commit is contained in:
commit
32b91e171c
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