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
|
// nav
|
||||||
// aside
|
// aside
|
||||||
// h1-h6
|
// h1-h6
|
||||||
|
// hgroup
|
||||||
// header
|
// header
|
||||||
// footer
|
// footer
|
||||||
|
|
||||||
|
|
@ -174,15 +175,12 @@ h1 {
|
||||||
margin: $space_large 0 $space_small;
|
margin: $space_large 0 $space_small;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1+h1 {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
@extend %head_2;
|
@extend %head_2;
|
||||||
margin: $space_medium 0 $space_small;
|
margin: $space_medium 0 $space_small;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1+h1,
|
||||||
h2+h2 {
|
h2+h2 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
@ -212,6 +210,19 @@ h6 {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hgroup {
|
||||||
|
|
||||||
|
&>h1,
|
||||||
|
&>h2 {
|
||||||
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
&>p {
|
||||||
|
margin-bottom: $space_small;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Header
|
// Header
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
header {
|
header {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue