summaryrefslogtreecommitdiffstats
path: root/assets/css/scopes
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-01-07 20:23:18 +0100
committerVolpeon <git@volpeon.ink>2021-01-07 20:23:18 +0100
commitb846debebc24a699b9feef9af10233ff1a876bbd (patch)
tree50edda285a541cbd161a3f2225a099fbbe397b5f /assets/css/scopes
parentImproved general structure, resolve category name in metadata filter, added h... (diff)
downloadvolpeon.ink-b846debebc24a699b9feef9af10233ff1a876bbd.tar.gz
volpeon.ink-b846debebc24a699b9feef9af10233ff1a876bbd.tar.bz2
volpeon.ink-b846debebc24a699b9feef9af10233ff1a876bbd.zip
Small design adjustments, added support for code blocks marked as 'plain'
Diffstat (limited to 'assets/css/scopes')
-rw-r--r--assets/css/scopes/_code.scss14
1 files changed, 12 insertions, 2 deletions
diff --git a/assets/css/scopes/_code.scss b/assets/css/scopes/_code.scss
index f6697aa..f024dbd 100644
--- a/assets/css/scopes/_code.scss
+++ b/assets/css/scopes/_code.scss
@@ -1,18 +1,28 @@
1.s-code { 1.s-code {
2 pre,
3 code {
4 color: var(--fg-lo);
5 }
6
2 pre { 7 pre {
3 overflow-x: auto; 8 overflow-x: auto;
4 color: var(--fg-lo);
5 font-size: 1em; 9 font-size: 1em;
6 line-height: $line-height; 10 line-height: $line-height;
7 } 11 }
8 12
13 &--plain {
14 pre,
15 code {
16 color: var(--fg);
17 }
18 }
19
9 /* stylelint-disable selector-class-pattern */ 20 /* stylelint-disable selector-class-pattern */
10 21
11 .c { 22 .c {
12 color: var(--fg-hi); 23 color: var(--fg-hi);
13 } 24 }
14 25
15 .nt,
16 .kt, 26 .kt,
17 .k, 27 .k,
18 .kr, 28 .kr,