diff options
Diffstat (limited to 'assets/css/components')
-rw-r--r-- | assets/css/components/_hnav.scss | 37 | ||||
-rw-r--r-- | assets/css/components/_subheader.scss | 3 |
2 files changed, 2 insertions, 38 deletions
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 @@ | |||
1 | @use 'iro-sass/src/index' as iro; | ||
2 | @use 'iro-design/src/functions' as fn; | ||
3 | |||
4 | @include iro.props-namespace('hnav') { | ||
5 | @include iro.props-store(( | ||
6 | --colors: ( | ||
7 | --fg: fn.global-color(--fg-hi), | ||
8 | --border: fn.global-color(--obj), | ||
9 | ) | ||
10 | ), 'colors'); | ||
11 | |||
12 | @include iro.props-store(( | ||
13 | --dims: ( | ||
14 | --gap-x: fn.global-dim(--size --300), | ||
15 | --gap-y: fn.global-dim(--size --150), | ||
16 | --font-size: .9em, | ||
17 | --margin-top: fn.global-dim(--paragraph --margin-top), | ||
18 | --margin-bottom: fn.global-dim(--size --1000), | ||
19 | --pad-top: calc(fn.global-dim(--paragraph --margin-top) * .5), | ||
20 | ) | ||
21 | ), 'dims'); | ||
22 | |||
23 | @include iro.bem-component(iro.props-namespace()) { | ||
24 | display: flex; | ||
25 | flex-wrap: wrap; | ||
26 | gap: fn.dim(--gap-y) fn.dim(--gap-x); | ||
27 | align-items: baseline; | ||
28 | margin: fn.dim(--margin-top) 0 fn.dim(--margin-bottom); | ||
29 | padding-top: fn.dim(--pad-top); | ||
30 | border-top: 1px solid fn.color(--border); | ||
31 | color: fn.color(--fg); | ||
32 | |||
33 | @include iro.bem-elem('item') { | ||
34 | font-size: fn.dim(--font-size); | ||
35 | } | ||
36 | } | ||
37 | } | ||
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 @@ | |||
14 | @include mx.set-font(--headline, ( | 14 | @include mx.set-font(--headline, ( |
15 | --line-height: null, | 15 | --line-height: null, |
16 | --size: fn.global-dim(--font-size --400), | 16 | --size: fn.global-dim(--font-size --400), |
17 | --weight: normal | 17 | --weight: 350 |
18 | )); | 18 | )); |
19 | 19 | ||
20 | color: fn.color(--fg); | 20 | color: fn.color(--fg); |
@@ -30,6 +30,7 @@ | |||
30 | } | 30 | } |
31 | 31 | ||
32 | @include iro.bem-elem('title') { | 32 | @include iro.bem-elem('title') { |
33 | margin-right: .2em; | ||
33 | font-size: inherit; | 34 | font-size: inherit; |
34 | font-weight: 800; | 35 | font-weight: 800; |
35 | letter-spacing: 1px; | 36 | letter-spacing: 1px; |