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>
This commit is contained in:
Sheogorath 2018-04-05 00:55:34 +02:00
parent 291b33880c
commit b90b215a84
No known key found for this signature in database
GPG Key ID: 1F05CC3635CDDFFD
1 changed files with 5 additions and 0 deletions

View File

@ -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 {