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/components/_card.scss | 6 +++--- assets/css/components/_footer.scss | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'assets/css/components') diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss index c1d58db..a6a4c98 100644 --- a/assets/css/components/_card.scss +++ b/assets/css/components/_card.scss @@ -11,9 +11,9 @@ ), ), --dims: ( - --pad-x: 1.1em, - --pad-y: .8em, - --hover-offset: -.3rem, + --pad-x: 1em, + --pad-y: px-to-em(12px), + --hover-offset: px-to-em(-5px), --indicator: ( --width: 1em, --height: 4px, diff --git a/assets/css/components/_footer.scss b/assets/css/components/_footer.scss index 0a8d076..d33e929 100644 --- a/assets/css/components/_footer.scss +++ b/assets/css/components/_footer.scss @@ -17,8 +17,8 @@ &::after { content: str-repeat('░', 400); display: block; - margin-top: 1 / 16 * 2em; - padding-top: 1 / 16 * 2em; + margin-top: 2px; + padding-top: 2px; overflow: hidden; border-top: 1px solid prop(--colors --ground); color: prop(--colors --ground); -- cgit v1.2.3-70-g09d2