mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 19:26:31 -05:00
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:
parent
291b33880c
commit
b90b215a84
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,10 @@
|
||||||
border: inherit !important;
|
border: inherit !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.night .markdown-body pre {
|
||||||
|
filter: invert(100%);
|
||||||
|
}
|
||||||
|
|
||||||
.markdown-body code {
|
.markdown-body code {
|
||||||
color: inherit !important;
|
color: inherit !important;
|
||||||
}
|
}
|
||||||
|
@ -78,6 +82,7 @@
|
||||||
.markdown-body code[data-gist-id] {
|
.markdown-body code[data-gist-id] {
|
||||||
background: none;
|
background: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
filter: invert(100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body code[data-gist-id]:before {
|
.markdown-body code[data-gist-id]:before {
|
||||||
|
|
Loading…
Reference in a new issue