Compare commits

...

2 commits

Author SHA1 Message Date
9de0eeddea feat: Add formatting for hgroup 2025-09-29 20:39:41 +02:00
1410cf811c feat: Add transition variables 2025-09-29 20:28:17 +02:00
2 changed files with 17 additions and 6 deletions

View file

@ -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 {

View file

@ -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;