summaryrefslogtreecommitdiffstats
path: root/assets/css/scopes
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-01-02 16:47:15 +0100
committerVolpeon <git@volpeon.ink>2021-01-02 16:47:15 +0100
commit14375c5289e84690cacd0ec9b511cefef088f0a5 (patch)
tree6465075e5255be2851a7678d1a629ed23cd810b3 /assets/css/scopes
parentSmall design revisions (diff)
downloadvolpeon.ink-14375c5289e84690cacd0ec9b511cefef088f0a5.tar.gz
volpeon.ink-14375c5289e84690cacd0ec9b511cefef088f0a5.tar.bz2
volpeon.ink-14375c5289e84690cacd0ec9b511cefef088f0a5.zip
Use Pygments for syntax highlighting, design adjustments, preload fonts
Diffstat (limited to 'assets/css/scopes')
-rw-r--r--assets/css/scopes/_code.scss22
1 files changed, 22 insertions, 0 deletions
diff --git a/assets/css/scopes/_code.scss b/assets/css/scopes/_code.scss
new file mode 100644
index 0000000..cdc9425
--- /dev/null
+++ b/assets/css/scopes/_code.scss
@@ -0,0 +1,22 @@
1.s-code {
2 pre {
3 overflow-x: auto;
4 color: var(--fg-lo);
5 font-size: 1em;
6 line-height: $line-height;
7 }
8
9 .c {
10 color: var(--fg-hi);
11 }
12
13 .nt,
14 .kt,
15 .k,
16 .kr,
17 .o,
18 .si,
19 .p {
20 color: var(--fg);
21 }
22}