From 0f3ffbbb82def6487959ee8c07a06d3281a9cf3f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 16 Nov 2021 15:22:28 +0100 Subject: Slightly smaller cards --- assets/css/scopes/_body.scss | 2 +- assets/css/scopes/_headlines.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'assets/css/scopes') diff --git a/assets/css/scopes/_body.scss b/assets/css/scopes/_body.scss index a21c0a1..8b916aa 100644 --- a/assets/css/scopes/_body.scss +++ b/assets/css/scopes/_body.scss @@ -53,7 +53,7 @@ padding: prop(--dims --meta --pad-y) prop(--dims --meta --pad-x); background-color: prop(--colors --meta --bg); color: prop(--colors --meta --fg); - font-size: 1 / 16 * 14rem; + font-size: iro-px-to-rem(14px); + h1 { margin-top: $line-height * .5rem; diff --git a/assets/css/scopes/_headlines.scss b/assets/css/scopes/_headlines.scss index 6e035b6..bfd5caa 100644 --- a/assets/css/scopes/_headlines.scss +++ b/assets/css/scopes/_headlines.scss @@ -74,8 +74,8 @@ vertical-align: -.02em; svg { - width: 1 / 16 * 12em; - height: 1 / 16 * 12em; + width: px-to-em(12px); + height: px-to-em(12px); } &:link, -- cgit v1.2.3-70-g09d2