summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-06-17 10:59:19 +0200
committerVolpeon <git@volpeon.ink>2022-06-17 10:59:19 +0200
commitcaa2570c5177246cb59808de4a225d6fee19c524 (patch)
treeb34b1855389958236ff6789e3e4f3200acf3df43 /assets
parentUpdate (diff)
downloadvolpeon.ink-caa2570c5177246cb59808de4a225d6fee19c524.tar.gz
volpeon.ink-caa2570c5177246cb59808de4a225d6fee19c524.tar.bz2
volpeon.ink-caa2570c5177246cb59808de4a225d6fee19c524.zip
Update
Diffstat (limited to 'assets')
-rw-r--r--assets/css/_declare-vars.scss8
-rw-r--r--assets/css/components/_hnav.scss5
-rw-r--r--assets/css/layouts/_card-list.scss4
3 files changed, 5 insertions, 12 deletions
diff --git a/assets/css/_declare-vars.scss b/assets/css/_declare-vars.scss
index 1adec10..3422588 100644
--- a/assets/css/_declare-vars.scss
+++ b/assets/css/_declare-vars.scss
@@ -19,14 +19,6 @@
19 --1000: iro.fn-px-to-rem(60px), 19 --1000: iro.fn-px-to-rem(60px),
20 --1100: iro.fn-px-to-rem(70px), 20 --1100: iro.fn-px-to-rem(70px),
21 ), 21 ),
22
23 --paragraph: (
24 --margin-top: fn.dim(--size --400, null),
25 ),
26
27 --heading: (
28 --margin-top: fn.dim(--size --700, null),
29 ),
30 ) 22 )
31), 'dims'); 23), 'dims');
32 24
diff --git a/assets/css/components/_hnav.scss b/assets/css/components/_hnav.scss
index 1b57cc0..4023c82 100644
--- a/assets/css/components/_hnav.scss
+++ b/assets/css/components/_hnav.scss
@@ -11,7 +11,8 @@
11 11
12 @include iro.props-store(( 12 @include iro.props-store((
13 --dims: ( 13 --dims: (
14 --gap: 1.5em, 14 --gap-x: fn.global-dim(--size --300),
15 --gap-y: fn.global-dim(--size --150),
15 --font-size: .9em, 16 --font-size: .9em,
16 --margin-top: fn.global-dim(--paragraph --margin-top), 17 --margin-top: fn.global-dim(--paragraph --margin-top),
17 --margin-bottom: fn.global-dim(--size --1000), 18 --margin-bottom: fn.global-dim(--size --1000),
@@ -22,7 +23,7 @@
22 @include iro.bem-component(iro.props-namespace()) { 23 @include iro.bem-component(iro.props-namespace()) {
23 display: flex; 24 display: flex;
24 flex-wrap: wrap; 25 flex-wrap: wrap;
25 gap: calc(.5 * fn.dim(--gap)) fn.dim(--gap); 26 gap: fn.dim(--gap-y) fn.dim(--gap-x);
26 align-items: baseline; 27 align-items: baseline;
27 margin: fn.dim(--margin-top) 0 fn.dim(--margin-bottom); 28 margin: fn.dim(--margin-top) 0 fn.dim(--margin-bottom);
28 padding-top: fn.dim(--pad-top); 29 padding-top: fn.dim(--pad-top);
diff --git a/assets/css/layouts/_card-list.scss b/assets/css/layouts/_card-list.scss
index d983f8d..2d9d58f 100644
--- a/assets/css/layouts/_card-list.scss
+++ b/assets/css/layouts/_card-list.scss
@@ -13,7 +13,7 @@
13 ), 13 ),
14 --grid-3: ( 14 --grid-3: (
15 --gap: fn.global-dim(--size --75), 15 --gap: fn.global-dim(--size --75),
16 --col-width: fn.global-dim(--size --2300), 16 --col-width: fn.global-dim(--size --2400),
17 ), 17 ),
18 --gallery-2: ( 18 --gallery-2: (
19 --gap: fn.global-dim(--size --200), 19 --gap: fn.global-dim(--size --200),
@@ -21,7 +21,7 @@
21 ), 21 ),
22 --gallery-3: ( 22 --gallery-3: (
23 --gap: fn.global-dim(--size --200), 23 --gap: fn.global-dim(--size --200),
24 --col-width: fn.global-dim(--size --2300), 24 --col-width: fn.global-dim(--size --2400),
25 ), 25 ),
26 ) 26 )
27 ), 'dims'); 27 ), 'dims');