diff options
author | Volpeon <git@volpeon.ink> | 2020-12-26 12:11:45 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2020-12-26 12:11:45 +0100 |
commit | 17e7802f1eef43b6d0ae77fdf646d7e6fe8ccc37 (patch) | |
tree | f8a112286787c0b2e4f298519d2a56552c70a8ef /assets/css/scopes | |
parent | Improved build script output (diff) | |
download | volpeon.ink-17e7802f1eef43b6d0ae77fdf646d7e6fe8ccc37.tar.gz volpeon.ink-17e7802f1eef43b6d0ae77fdf646d7e6fe8ccc37.tar.bz2 volpeon.ink-17e7802f1eef43b6d0ae77fdf646d7e6fe8ccc37.zip |
Improved SCSS structure, keep less glyphs in fonts
Diffstat (limited to 'assets/css/scopes')
-rw-r--r-- | assets/css/scopes/_page.scss | 8 |
1 files changed, 2 insertions, 6 deletions
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 @@ | |||
1 | .s-page { | 1 | .s-page { |
2 | font-size: px-to-em($content-font-size); | ||
3 | |||
4 | &__content { | 2 | &__content { |
5 | padding-left: $page-item-prefix-width; | 3 | padding-left: $page-item-prefix-width; |
6 | 4 | ||
@@ -32,11 +30,11 @@ | |||
32 | } | 30 | } |
33 | 31 | ||
34 | h1 { | 32 | h1 { |
35 | font-size: px-to-em($content-h1-font-size, $content-font-size); | 33 | font-size: px-to-em($content-h1-font-size); |
36 | 34 | ||
37 | &::before { | 35 | &::before { |
38 | content: "#"; | 36 | content: "#"; |
39 | font-size: px-to-em($content-font-size, $content-h1-font-size); | 37 | font-size: px-to-em($font-size, $content-h1-font-size); |
40 | } | 38 | } |
41 | } | 39 | } |
42 | 40 | ||
@@ -53,8 +51,6 @@ | |||
53 | } | 51 | } |
54 | 52 | ||
55 | pre { | 53 | pre { |
56 | font-size: px-to-em($font-size, $content-font-size); | ||
57 | |||
58 | &::before { | 54 | &::before { |
59 | content: str-repeat("``\A", 40); | 55 | content: str-repeat("``\A", 40); |
60 | height: 100%; | 56 | height: 100%; |