From 17e7802f1eef43b6d0ae77fdf646d7e6fe8ccc37 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 26 Dec 2020 12:11:45 +0100 Subject: Improved SCSS structure, keep less glyphs in fonts --- assets/css/_vars.scss | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'assets/css/_vars.scss') diff --git a/assets/css/_vars.scss b/assets/css/_vars.scss index f9c80da..c061f4f 100644 --- a/assets/css/_vars.scss +++ b/assets/css/_vars.scss @@ -1,16 +1,21 @@ -$font-size: 16px; -$content-font-size: $font-size + 1; -$content-h1-font-size: $content-font-size + 1; +$font-size: 17px; +$nav-font-size: $font-size - 1; +$code-block-font-size: $font-size - 1; +$content-h1-font-size: $font-size + 1; $line-height: 1.5; $code-block-line-height: 1.4; -$content-width: 75ch; +$content-width: 80ch; + +$container-pad-h: 2rem; +$container-pad-h-sm: 1rem; +$container-pad-v: $line-height * 2rem; $nav-item-spacing: 4ch; $nav-item-spacing-sm: 3ch; $nav-item-pad-h: 1ch; -$nav-item-pad-v: 1rem; +$nav-item-pad-v: 1em; $page-item-prefix-max-chars: 3ch; $page-item-prefix-pad: 2ch; -- cgit v1.2.3-54-g00ecf