From 14375c5289e84690cacd0ec9b511cefef088f0a5 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 2 Jan 2021 16:47:15 +0100 Subject: Use Pygments for syntax highlighting, design adjustments, preload fonts --- assets/css/scopes/_code.scss | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 assets/css/scopes/_code.scss (limited to 'assets/css/scopes') 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 @@ +.s-code { + pre { + overflow-x: auto; + color: var(--fg-lo); + font-size: 1em; + line-height: $line-height; + } + + .c { + color: var(--fg-hi); + } + + .nt, + .kt, + .k, + .kr, + .o, + .si, + .p { + color: var(--fg); + } +} -- cgit v1.2.3-70-g09d2