feat: Add formatting for hgroup
This commit is contained in:
parent
1410cf811c
commit
9de0eeddea
1 changed files with 15 additions and 4 deletions
|
|
@ -16,6 +16,7 @@ html {
|
|||
// nav
|
||||
// aside
|
||||
// h1-h6
|
||||
// hgroup
|
||||
// header
|
||||
// footer
|
||||
|
||||
|
|
@ -174,15 +175,12 @@ h1 {
|
|||
margin: $space_large 0 $space_small;
|
||||
}
|
||||
|
||||
h1+h1 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
@extend %head_2;
|
||||
margin: $space_medium 0 $space_small;
|
||||
}
|
||||
|
||||
h1+h1,
|
||||
h2+h2 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
|
@ -212,6 +210,19 @@ h6 {
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
hgroup {
|
||||
|
||||
&>h1,
|
||||
&>h2 {
|
||||
margin-bottom: 0;
|
||||
|
||||
}
|
||||
|
||||
&>p {
|
||||
margin-bottom: $space_small;
|
||||
}
|
||||
}
|
||||
|
||||
// Header
|
||||
// -----------------------------------------------------------------------------
|
||||
header {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue