From 18b1bce0cbd23aa0f7fa5e883ba079e547554ad3 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 10 Jan 2023 15:57:25 +0100 Subject: Updated headings --- assets/css/components/_hnav.scss | 37 ----------------------------------- assets/css/components/_subheader.scss | 3 ++- 2 files changed, 2 insertions(+), 38 deletions(-) delete mode 100644 assets/css/components/_hnav.scss (limited to 'assets/css/components') diff --git a/assets/css/components/_hnav.scss b/assets/css/components/_hnav.scss deleted file mode 100644 index 4023c82..0000000 --- a/assets/css/components/_hnav.scss +++ /dev/null @@ -1,37 +0,0 @@ -@use 'iro-sass/src/index' as iro; -@use 'iro-design/src/functions' as fn; - -@include iro.props-namespace('hnav') { - @include iro.props-store(( - --colors: ( - --fg: fn.global-color(--fg-hi), - --border: fn.global-color(--obj), - ) - ), 'colors'); - - @include iro.props-store(( - --dims: ( - --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), - --pad-top: calc(fn.global-dim(--paragraph --margin-top) * .5), - ) - ), 'dims'); - - @include iro.bem-component(iro.props-namespace()) { - display: flex; - flex-wrap: wrap; - 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); - border-top: 1px solid fn.color(--border); - color: fn.color(--fg); - - @include iro.bem-elem('item') { - font-size: fn.dim(--font-size); - } - } -} diff --git a/assets/css/components/_subheader.scss b/assets/css/components/_subheader.scss index df8eb50..768ff84 100644 --- a/assets/css/components/_subheader.scss +++ b/assets/css/components/_subheader.scss @@ -14,7 +14,7 @@ @include mx.set-font(--headline, ( --line-height: null, --size: fn.global-dim(--font-size --400), - --weight: normal + --weight: 350 )); color: fn.color(--fg); @@ -30,6 +30,7 @@ } @include iro.bem-elem('title') { + margin-right: .2em; font-size: inherit; font-weight: 800; letter-spacing: 1px; -- cgit v1.2.3-70-g09d2