diff options
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/components/_hnav.scss | 3 | ||||
-rw-r--r-- | assets/css/layouts/_card-list.scss | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/assets/css/components/_hnav.scss b/assets/css/components/_hnav.scss index 5f8157b..34835e9 100644 --- a/assets/css/components/_hnav.scss +++ b/assets/css/components/_hnav.scss | |||
@@ -15,6 +15,7 @@ | |||
15 | --font-size: .9em, | 15 | --font-size: .9em, |
16 | --margin-top: fn.global-dim(--paragraph --margin-top), | 16 | --margin-top: fn.global-dim(--paragraph --margin-top), |
17 | --margin-bottom: fn.global-dim(--size --1000), | 17 | --margin-bottom: fn.global-dim(--size --1000), |
18 | --pad-top: calc(fn.global-dim(--paragraph --margin-top) * .5), | ||
18 | ) | 19 | ) |
19 | ), 'dims'); | 20 | ), 'dims'); |
20 | 21 | ||
@@ -24,7 +25,7 @@ | |||
24 | gap: fn.dim(--gap); | 25 | gap: fn.dim(--gap); |
25 | align-items: baseline; | 26 | align-items: baseline; |
26 | margin: fn.dim(--margin-top) 0 fn.dim(--margin-bottom); | 27 | margin: fn.dim(--margin-top) 0 fn.dim(--margin-bottom); |
27 | padding-top: fn.dim(--margin-top); | 28 | padding-top: fn.dim(--pad-top); |
28 | border-top: 1px solid fn.color(--border); | 29 | border-top: 1px solid fn.color(--border); |
29 | color: fn.color(--fg); | 30 | color: fn.color(--fg); |
30 | 31 | ||
diff --git a/assets/css/layouts/_card-list.scss b/assets/css/layouts/_card-list.scss index 6d388e6..7a09c54 100644 --- a/assets/css/layouts/_card-list.scss +++ b/assets/css/layouts/_card-list.scss | |||
@@ -4,7 +4,7 @@ | |||
4 | @include iro.props-namespace('card-list') { | 4 | @include iro.props-namespace('card-list') { |
5 | @include iro.props-store(( | 5 | @include iro.props-store(( |
6 | --dims: ( | 6 | --dims: ( |
7 | --margin-top: fn.global-dim(--size --600), | 7 | --margin-top: fn.global-dim(--size --700), |
8 | --spacing: fn.global-dim(--size --200), | 8 | --spacing: fn.global-dim(--size --200), |
9 | --gap: fn.global-dim(--size --25), | 9 | --gap: fn.global-dim(--size --25), |
10 | --grid: ( | 10 | --grid: ( |
@@ -30,6 +30,10 @@ | |||
30 | margin-top: fn.dim(--margin-top); | 30 | margin-top: fn.dim(--margin-top); |
31 | } | 31 | } |
32 | 32 | ||
33 | @include iro.bem-elem('footer') { | ||
34 | margin-top: fn.dim(--spacing); | ||
35 | } | ||
36 | |||
33 | @include iro.bem-elem('cards') { | 37 | @include iro.bem-elem('cards') { |
34 | display: flex; | 38 | display: flex; |
35 | flex-direction: column; | 39 | flex-direction: column; |