summaryrefslogtreecommitdiffstats
path: root/assets/css/scopes
diff options
context:
space:
mode:
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,