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/scopes/_page.scss | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'assets/css/scopes/_page.scss') diff --git a/assets/css/scopes/_page.scss b/assets/css/scopes/_page.scss index 21d49d0..cdbdeb4 100644 --- a/assets/css/scopes/_page.scss +++ b/assets/css/scopes/_page.scss @@ -1,6 +1,4 @@ .s-page { - font-size: px-to-em($content-font-size); - &__content { padding-left: $page-item-prefix-width; @@ -32,11 +30,11 @@ } h1 { - font-size: px-to-em($content-h1-font-size, $content-font-size); + font-size: px-to-em($content-h1-font-size); &::before { content: "#"; - font-size: px-to-em($content-font-size, $content-h1-font-size); + font-size: px-to-em($font-size, $content-h1-font-size); } } @@ -53,8 +51,6 @@ } pre { - font-size: px-to-em($font-size, $content-font-size); - &::before { content: str-repeat("``\A", 40); height: 100%; -- cgit v1.2.3-70-g09d2