diff options
author | Volpeon <git@volpeon.ink> | 2021-11-20 13:43:00 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-11-20 13:43:00 +0100 |
commit | a19f37f05e7075969b81dd0da1ddc15dfd9aa9c2 (patch) | |
tree | eafd617beedd365f94355c61d80427b7a33d1630 /assets/css | |
parent | Improved list category descriptions (diff) | |
download | volpeon.ink-a19f37f05e7075969b81dd0da1ddc15dfd9aa9c2.tar.gz volpeon.ink-a19f37f05e7075969b81dd0da1ddc15dfd9aa9c2.tar.bz2 volpeon.ink-a19f37f05e7075969b81dd0da1ddc15dfd9aa9c2.zip |
Adjusted font sizes
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/_vars.scss | 4 | ||||
-rw-r--r-- | assets/css/components/_card-list.scss | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/assets/css/_vars.scss b/assets/css/_vars.scss index 3260ec4..687d82b 100644 --- a/assets/css/_vars.scss +++ b/assets/css/_vars.scss | |||
@@ -13,8 +13,8 @@ $unit-intervals: ( | |||
13 | ); | 13 | ); |
14 | 14 | ||
15 | $responsive-mod-scale: ( | 15 | $responsive-mod-scale: ( |
16 | xs: (1 / 16 * 14rem, 1.28), | 16 | xs: (iro-px-to-rem(15px), 1.25), |
17 | md: (1 / 16 * 14rem, 1.49) | 17 | md: (iro-px-to-rem(15px), 1.46) |
18 | ); | 18 | ); |
19 | 19 | ||
20 | $font-fam--text: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif; | 20 | $font-fam--text: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif; |
diff --git a/assets/css/components/_card-list.scss b/assets/css/components/_card-list.scss index 24a04b2..605c442 100644 --- a/assets/css/components/_card-list.scss +++ b/assets/css/components/_card-list.scss | |||
@@ -38,7 +38,8 @@ | |||
38 | } | 38 | } |
39 | 39 | ||
40 | @include element('category-description') { | 40 | @include element('category-description') { |
41 | display: block; | 41 | display: block; |
42 | font-size: px-to-em(15px); | ||
42 | 43 | ||
43 | p { | 44 | p { |
44 | margin-top: $line-height * .25rem; | 45 | margin-top: $line-height * .25rem; |
@@ -46,7 +47,7 @@ | |||
46 | } | 47 | } |
47 | 48 | ||
48 | @include element('category-content') { | 49 | @include element('category-content') { |
49 | margin-top: $line-height * .5rem; | 50 | margin-top: $line-height * .625rem; |
50 | filter: drop-shadow(#{prop(--dims --obj-shadow, $global: true)} #{prop(--colors --obj-shadow, $global: true)}); | 51 | filter: drop-shadow(#{prop(--dims --obj-shadow, $global: true)} #{prop(--colors --obj-shadow, $global: true)}); |
51 | 52 | ||
52 | @include modifier('grid') { | 53 | @include modifier('grid') { |