diff --git a/elements/_sections.scss b/elements/_sections.scss index 9963f22..f1fbfaa 100644 --- a/elements/_sections.scss +++ b/elements/_sections.scss @@ -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 { diff --git a/global/_config.scss b/global/_config.scss index f028f2d..7d3b1f0 100644 --- a/global/_config.scss +++ b/global/_config.scss @@ -235,8 +235,8 @@ $duration_double: $duration_basic * 2; $duration_long: 2s !default; $timing_basic: ease-out !default; $transition_best: flex 500ms cubic-bezier(0, 0, 0.2, 1.4), background 800ms ease; -$transition_hide: opacity $duration_long; -$transition_show: opacity $duration_double; +$transition_hide: opacity $duration_double; +$transition_show: opacity $duration_long;