From c772716e98e11181d301deadeca52856ac18f085 Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Mon, 18 May 2020 18:51:19 +0200 Subject: Improved Gemini support --- css/main.scss | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) (limited to 'css') diff --git a/css/main.scss b/css/main.scss index 27a62ec..b768a87 100644 --- a/css/main.scss +++ b/css/main.scss @@ -28,7 +28,7 @@ body { // ); color: $text; font-family: $font-monospace; - font-size: 1em; //1 / 16 * 17em; + font-size: 1 / 16 * 17em; line-height: 1.5; } @@ -58,13 +58,13 @@ ul, ol { ul { li { - padding-left: 4ch; + padding-left: 2.5em; &::before { display: inline-block; - width: 2ch; - padding-left: 2ch; - margin-left: -4ch; + width: 1.5em; + padding-left: 1em; + margin-left: -2.5em; content: '–'; } } @@ -259,20 +259,26 @@ strong { flex: 0 0 auto; margin-left: -3em; margin-left: -5ch; - padding-right: 1.25em; - padding-right: 2ch; - width: 1.75em; - width: 3ch; + width: 3em; + width: 5ch; color: $text-minus; font-family: $font-monospace; - text-align: right; user-select: none; + white-space: pre; } &__content { min-width: 0; word-wrap: break-word; } + + .is-plain & { + padding-left: 0; + + &__type { + display: none; + } + } } // -- cgit v1.2.3-70-g09d2