Merge pull request #779 from hedgedoc/enhancement/night-css

Improved CSS in night-mode
This commit is contained in:
David Mehren 2021-01-29 20:32:07 +01:00 committed by GitHub
commit 78a732abe6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,9 +74,10 @@
} }
.night .markdown-body .gist table tr:nth-child(2n){ .night .markdown-body .gist table tr:nth-child(2n){
background-color: #ddd; background-color: #ddd;
}
.night .markdown-body .gist table tr:nth-child(2n+1) {
background-color: #e3e3e3;
} }
.markdown-body code[data-gist-id] { .markdown-body code[data-gist-id] {
@ -133,8 +134,8 @@
white-space: inherit; white-space: inherit;
} }
.night .markdown-body pre.graphviz .graph > polygon{ .night .markdown-body pre.graphviz {
fill: #333; filter: none;
} }
.night .markdown-body pre.mermaid .titleText, .night .markdown-body pre.mermaid .titleText,
@ -160,27 +161,15 @@
height: 100%; height: 100%;
} }
.night .markdown-body .abc path{ .night .markdown-body .abc {
fill: #eee; background-color: #fff;
} filter: none;
.night .markdown-body .abc path.note_selected{
fill: ##4DD0E1;
}
.night tspan{
fill: #fefefe;
} }
.night pre rect{ .night pre rect{
fill: transparent; fill: transparent;
} }
.night pre.flow-chart rect,
.night pre.flow-chart path{
stroke: white;
}
.markdown-body pre > code.wrap { .markdown-body pre > code.wrap {
white-space: pre-wrap; /* Since CSS 2.1 */ white-space: pre-wrap; /* Since CSS 2.1 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */