diff options
author | Sheogorath | 2018-04-05 00:55:34 +0200 |
---|---|---|
committer | Sheogorath | 2018-04-05 00:58:41 +0200 |
commit | b90b215a84c7e592a795de87792d0670fe647a43 (patch) | |
tree | d129b37c2ee3ecf287fb0402ca57f82d80221ee1 /public | |
parent | 291b33880c455dc3f6cdd337e89fc0ba7728b99a (diff) |
Fix code blocks color in night mode
This provides more eye-friendly code boxes when night mode is active.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'public')
-rw-r--r-- | public/css/markdown.css | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/public/css/markdown.css b/public/css/markdown.css index eaa9ab5c..85a4c594 100644 --- a/public/css/markdown.css +++ b/public/css/markdown.css @@ -13,6 +13,10 @@ border: inherit !important; } +.night .markdown-body pre { + filter: invert(100%); +} + .markdown-body code { color: inherit !important; } @@ -78,6 +82,7 @@ .markdown-body code[data-gist-id] { background: none; padding: 0; + filter: invert(100%); } .markdown-body code[data-gist-id]:before { |