From f467dd3c0f1aa32007af4c9672f46892f5c95cee Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 14 May 2021 12:22:02 +0200 Subject: Smaller ASCII art --- assets/css/_basics.scss | 4 +++- assets/css/components/_ascii.scss | 11 +++++------ 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'assets/css') diff --git a/assets/css/_basics.scss b/assets/css/_basics.scss index e216c01..3093949 100644 --- a/assets/css/_basics.scss +++ b/assets/css/_basics.scss @@ -52,10 +52,12 @@ code { pre { margin: 0; overflow-x: auto; + font-size: 1 / 16 * 15em; line-height: 1.4; code { - color: currentColor; + color: currentColor; + font-size: 1em; } strong { diff --git a/assets/css/components/_ascii.scss b/assets/css/components/_ascii.scss index 7b5d269..e6bb39f 100644 --- a/assets/css/components/_ascii.scss +++ b/assets/css/components/_ascii.scss @@ -7,14 +7,13 @@ )); @include component(namespace()) { - overflow: hidden; - color: prop(--colors --fg); - font-family: $font-fam--mono; - font-size: 1rem; - line-height: 1.4; + overflow: hidden; + color: prop(--colors --fg); + font-family: $font-fam--mono; + line-height: 1.4; &::after { - content: str-repeat('░', 500); + content: str-repeat('░', 400); display: block; margin-top: 1 / 16 * 2em; padding-top: 1 / 16 * 2em; -- cgit v1.2.3-70-g09d2