summaryrefslogtreecommitdiffstats
path: root/assets/css/_basics.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2020-12-26 12:11:45 +0100
committerVolpeon <git@volpeon.ink>2020-12-26 12:11:45 +0100
commit17e7802f1eef43b6d0ae77fdf646d7e6fe8ccc37 (patch)
treef8a112286787c0b2e4f298519d2a56552c70a8ef /assets/css/_basics.scss
parentImproved build script output (diff)
downloadvolpeon.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/_basics.scss')
-rw-r--r--assets/css/_basics.scss12
1 files changed, 6 insertions, 6 deletions
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 {
44pre { 44pre {
45 margin: 0; 45 margin: 0;
46 color: var(--code-block-fg); 46 color: var(--code-block-fg);
47 font-size: 1em; 47 font-size: $code-block-font-size;
48 line-height: $code-block-line-height; 48 line-height: $code-block-line-height;
49 text-overflow: ""; 49 text-overflow: "";
50 overflow: hidden; 50 overflow: hidden;
@@ -61,7 +61,7 @@ strong {
61 61
62ul, 62ul,
63ol { 63ol {
64 margin: ($line-height * 1rem) 0 0; 64 margin: ($line-height * 1em) 0 0;
65 padding: 0; 65 padding: 0;
66 list-style: none; 66 list-style: none;
67} 67}
@@ -98,12 +98,12 @@ ol {
98h1, 98h1,
99h2, 99h2,
100h3 { 100h3 {
101 margin: ($line-height * 2rem) 0 0; 101 margin: ($line-height * 2em) 0 0;
102 102
103 + h1, 103 + h1,
104 + h2, 104 + h2,
105 + h3 { 105 + h3 {
106 margin-top: $line-height * 1rem; 106 margin-top: $line-height * 1em;
107 } 107 }
108} 108}
109 109
@@ -148,14 +148,14 @@ p {
148 148
149hr { 149hr {
150 height: 1px; 150 height: 1px;
151 margin: ($line-height * 2rem) 0 ($line-height * 2rem); 151 margin: ($line-height * 2em) 0 ($line-height * 2em);
152 background-color: var(--bg-plus); 152 background-color: var(--bg-plus);
153 border: 0; 153 border: 0;
154} 154}
155 155
156blockquote { 156blockquote {
157 position: relative; 157 position: relative;
158 margin: ($line-height * 1rem) 0 0; 158 margin: ($line-height * 1em) 0 0;
159 padding-left: calc(#{$subcontent-indent} - 2px); 159 padding-left: calc(#{$subcontent-indent} - 2px);
160 border-left: 2px solid var(--bg-plus); 160 border-left: 2px solid var(--bg-plus);
161} 161}