summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Mehren2021-01-29 20:32:07 +0100
committerGitHub2021-01-29 20:32:07 +0100
commit78a732abe691b496fa3692aa2add37f7344db1fa (patch)
tree9cef0ad8cca2cc81071a40aee34f72c6b2b24053
parentdfd710982a5b53055a1a327e5ee35bd29de3f5bb (diff)
parent40d30baa031fff329f874a3c1c283a050e547a2d (diff)
Merge pull request #779 from hedgedoc/enhancement/night-css
Improved CSS in night-mode
-rw-r--r--public/css/markdown.css27
1 files changed, 8 insertions, 19 deletions
diff --git a/public/css/markdown.css b/public/css/markdown.css
index 23ed6bab..8162fd5e 100644
--- a/public/css/markdown.css
+++ b/public/css/markdown.css
@@ -74,9 +74,10 @@
}
.night .markdown-body .gist table tr:nth-child(2n){
-
background-color: #ddd;
-
+}
+.night .markdown-body .gist table tr:nth-child(2n+1) {
+ background-color: #e3e3e3;
}
.markdown-body code[data-gist-id] {
@@ -133,8 +134,8 @@
white-space: inherit;
}
-.night .markdown-body pre.graphviz .graph > polygon{
- fill: #333;
+.night .markdown-body pre.graphviz {
+ filter: none;
}
.night .markdown-body pre.mermaid .titleText,
@@ -160,27 +161,15 @@
height: 100%;
}
-.night .markdown-body .abc path{
- fill: #eee;
-}
-
-.night .markdown-body .abc path.note_selected{
- fill: ##4DD0E1;
-}
-
-.night tspan{
- fill: #fefefe;
+.night .markdown-body .abc {
+ background-color: #fff;
+ filter: none;
}
.night pre rect{
fill: transparent;
}
-.night pre.flow-chart rect,
-.night pre.flow-chart path{
- stroke: white;
-}
-
.markdown-body pre > code.wrap {
white-space: pre-wrap; /* Since CSS 2.1 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */