From d1aa2a29d99f51907b84b46f705846d7310927ec Mon Sep 17 00:00:00 2001 From: Macoy Madson Date: Tue, 13 Aug 2019 19:30:19 -0700 Subject: [PATCH] Update code styles --- webResources/styles.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webResources/styles.css b/webResources/styles.css index 0ffc327..506d7c1 100644 --- a/webResources/styles.css +++ b/webResources/styles.css @@ -118,13 +118,14 @@ img { /* Copied from pandoc --self-contained with zenburn style */ /* pandoc -r org -w html --self-contained --highlight-style zenburn -o delme.html test.org */ code{white-space: pre;} -div.sourceCode { overflow-x: auto; } +div.sourceCode { overflow-x: auto; background-color: #151914; } table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode { margin: 0; padding: 0; vertical-align: baseline; border: none; } -table.sourceCode { width: 100%; line-height: 100%; background-color: #303030; color: #cccccc; } +table.sourceCode { width: 100%; line-height: 100%; background-color: #151914; color: #cccccc; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; } td.sourceCode { padding-left: 5px; } -pre, code { color: #cccccc; background-color: #303030; } +pre, code { color: #cccccc; background-color: #151914; } +pre { padding: 4px; } code > span.kw { color: #f0dfaf; } /* Keyword */ code > span.dt { color: #dfdfbf; } /* DataType */ code > span.dv { color: #dcdccc; } /* DecVal */