From caa2570c5177246cb59808de4a225d6fee19c524 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 17 Jun 2022 10:59:19 +0200 Subject: Update --- assets/css/_declare-vars.scss | 8 -------- assets/css/components/_hnav.scss | 5 +++-- assets/css/layouts/_card-list.scss | 4 ++-- 3 files changed, 5 insertions(+), 12 deletions(-) (limited to 'assets') 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 @@ --1000: iro.fn-px-to-rem(60px), --1100: iro.fn-px-to-rem(70px), ), - - --paragraph: ( - --margin-top: fn.dim(--size --400, null), - ), - - --heading: ( - --margin-top: fn.dim(--size --700, null), - ), ) ), 'dims'); 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 @@ @include iro.props-store(( --dims: ( - --gap: 1.5em, + --gap-x: fn.global-dim(--size --300), + --gap-y: fn.global-dim(--size --150), --font-size: .9em, --margin-top: fn.global-dim(--paragraph --margin-top), --margin-bottom: fn.global-dim(--size --1000), @@ -22,7 +23,7 @@ @include iro.bem-component(iro.props-namespace()) { display: flex; flex-wrap: wrap; - gap: calc(.5 * fn.dim(--gap)) fn.dim(--gap); + gap: fn.dim(--gap-y) fn.dim(--gap-x); align-items: baseline; margin: fn.dim(--margin-top) 0 fn.dim(--margin-bottom); 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 @@ ), --grid-3: ( --gap: fn.global-dim(--size --75), - --col-width: fn.global-dim(--size --2300), + --col-width: fn.global-dim(--size --2400), ), --gallery-2: ( --gap: fn.global-dim(--size --200), @@ -21,7 +21,7 @@ ), --gallery-3: ( --gap: fn.global-dim(--size --200), - --col-width: fn.global-dim(--size --2300), + --col-width: fn.global-dim(--size --2400), ), ) ), 'dims'); -- cgit v1.2.3-70-g09d2