From a19f37f05e7075969b81dd0da1ddc15dfd9aa9c2 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 20 Nov 2021 13:43:00 +0100 Subject: Adjusted font sizes --- assets/css/_vars.scss | 4 ++-- assets/css/components/_card-list.scss | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'assets/css') 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: ( ); $responsive-mod-scale: ( - xs: (1 / 16 * 14rem, 1.28), - md: (1 / 16 * 14rem, 1.49) + xs: (iro-px-to-rem(15px), 1.25), + md: (iro-px-to-rem(15px), 1.46) ); $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 @@ } @include element('category-description') { - display: block; + display: block; + font-size: px-to-em(15px); p { margin-top: $line-height * .25rem; @@ -46,7 +47,7 @@ } @include element('category-content') { - margin-top: $line-height * .5rem; + margin-top: $line-height * .625rem; filter: drop-shadow(#{prop(--dims --obj-shadow, $global: true)} #{prop(--colors --obj-shadow, $global: true)}); @include modifier('grid') { -- cgit v1.2.3-70-g09d2