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/_basics.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'assets/css/_basics.scss') diff --git a/assets/css/_basics.scss b/assets/css/_basics.scss index 202117e..da971d4 100644 --- a/assets/css/_basics.scss +++ b/assets/css/_basics.scss @@ -44,7 +44,7 @@ code { pre { margin: 0; color: var(--code-block-fg); - font-size: 1em; + font-size: $code-block-font-size; line-height: $code-block-line-height; text-overflow: ""; overflow: hidden; @@ -61,7 +61,7 @@ strong { ul, ol { - margin: ($line-height * 1rem) 0 0; + margin: ($line-height * 1em) 0 0; padding: 0; list-style: none; } @@ -98,12 +98,12 @@ ol { h1, h2, h3 { - margin: ($line-height * 2rem) 0 0; + margin: ($line-height * 2em) 0 0; + h1, + h2, + h3 { - margin-top: $line-height * 1rem; + margin-top: $line-height * 1em; } } @@ -148,14 +148,14 @@ p { hr { height: 1px; - margin: ($line-height * 2rem) 0 ($line-height * 2rem); + margin: ($line-height * 2em) 0 ($line-height * 2em); background-color: var(--bg-plus); border: 0; } blockquote { position: relative; - margin: ($line-height * 1rem) 0 0; + margin: ($line-height * 1em) 0 0; padding-left: calc(#{$subcontent-indent} - 2px); border-left: 2px solid var(--bg-plus); } -- cgit v1.2.3-54-g00ecf