diff options
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; |