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){
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 */