diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-09-04 02:47:26 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-09-04 02:47:26 +0200 |
commit | 0fa7013b47217d9f0218bc5c93fc3ffbe921724b (patch) | |
tree | ec14644772679b596605c0ae15f1b59b59884d40 /assets | |
parent | b101816cb55eb73d67bf2dd11c40d249af8db5ae (diff) |
Add syntax highlighting for Scheme files.
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/code.css | 33 | ||||
-rw-r--r-- | assets/css/screen.css | 4 |
2 files changed, 37 insertions, 0 deletions
diff --git a/assets/css/code.css b/assets/css/code.css new file mode 100644 index 0000000..c308845 --- /dev/null +++ b/assets/css/code.css @@ -0,0 +1,33 @@ +/* Syntax highlighting code, by David Thompson, borrowed + from: + https://git.dthompson.us/blog.git/blob_plain/refs/heads/haunt-migration:/css/dthompson.css + David Thompson gives permission for this to be GPLv3+ and CC BY-SA 4.0 + + Modified significantly since. +*/ + + +.syntax-special, .syntax-element { + color: #856; + font-weight: bold; +} + +.syntax-symbol { + color: #423; +} + +.syntax-string { + color: #484; +} + +.syntax-keyword, .syntax-attribute { + color: #921; +} + +.syntax-comment { + color: #666; +} + +.syntax-open, .syntax-close { + color: #688; +} diff --git a/assets/css/screen.css b/assets/css/screen.css index 79dd0a3..d26f91e 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -151,6 +151,10 @@ table { .multipart.text-x-patch { } +.multipart.scheme { + white-space: pre-wrap; +} + .attachment:before { background-image: url('/img/file.svg'); background-size: 1rem; |