diff options
Diffstat (limited to 'website/static/css/code.css')
| -rw-r--r-- | website/static/css/code.css | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/website/static/css/code.css b/website/static/css/code.css new file mode 100644 index 0000000..c308845 --- /dev/null +++ b/website/static/css/code.css | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | /* Syntax highlighting code, by David Thompson, borrowed | ||
| 2 | from: | ||
| 3 | https://git.dthompson.us/blog.git/blob_plain/refs/heads/haunt-migration:/css/dthompson.css | ||
| 4 | David Thompson gives permission for this to be GPLv3+ and CC BY-SA 4.0 | ||
| 5 | |||
| 6 | Modified significantly since. | ||
| 7 | */ | ||
| 8 | |||
| 9 | |||
| 10 | .syntax-special, .syntax-element { | ||
| 11 | color: #856; | ||
| 12 | font-weight: bold; | ||
| 13 | } | ||
| 14 | |||
| 15 | .syntax-symbol { | ||
| 16 | color: #423; | ||
| 17 | } | ||
| 18 | |||
| 19 | .syntax-string { | ||
| 20 | color: #484; | ||
| 21 | } | ||
| 22 | |||
| 23 | .syntax-keyword, .syntax-attribute { | ||
| 24 | color: #921; | ||
| 25 | } | ||
| 26 | |||
| 27 | .syntax-comment { | ||
| 28 | color: #666; | ||
| 29 | } | ||
| 30 | |||
| 31 | .syntax-open, .syntax-close { | ||
| 32 | color: #688; | ||
| 33 | } | ||