summaryrefslogtreecommitdiff
path: root/public/css/markdown.css
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-01-16 14:38:14 +0700
committerGitHub2018-01-16 14:38:14 +0700
commit72011446613e9d22097879d3ec825416e46ca910 (patch)
tree0824f15f9db94cb80d39c2c7a0295205b94d160b /public/css/markdown.css
parenta8fa88831705625e053c7d493a4b2f83b7b2a4a8 (diff)
parent6fc2c39eda766cffc7ef5c9e1d3d3cbce8ab7590 (diff)
Merge pull request #661 from edoardoo/darkTheme
Implemented dark theme.
Diffstat (limited to 'public/css/markdown.css')
-rw-r--r--public/css/markdown.css38
1 files changed, 38 insertions, 0 deletions
diff --git a/public/css/markdown.css b/public/css/markdown.css
index ad3a655f..6741729d 100644
--- a/public/css/markdown.css
+++ b/public/css/markdown.css
@@ -69,6 +69,12 @@
border-collapse: inherit !important;
}
+.night .markdown-body .gist table tr:nth-child(2n){
+
+ background-color: #ddd;
+
+}
+
.markdown-body code[data-gist-id] {
background: none;
padding: 0;
@@ -93,6 +99,7 @@
.markdown-body code[data-gist-id] table tr {
background: unset;
+
}
/*fixed style for rtl in pre and code*/
@@ -121,6 +128,16 @@
white-space: inherit;
}
+.night .markdown-body pre.graphviz .graph > polygon{
+ fill: #333;
+}
+
+.night .markdown-body pre.mermaid .titleText,
+.night .markdown-body pre.mermaid text,
+.night .markdown-body pre.mermaid .sectionTitle{
+ fill: white;
+}
+
.markdown-body pre.flow-chart > code,
.markdown-body pre.sequence-diagram > code,
.markdown-body pre.graphviz > code,
@@ -138,6 +155,27 @@
height: 100%;
}
+.night .markdown-body .abc path{
+ fill: #eee;
+}
+
+.night .markdown-body .abc path.note_selected{
+ fill: ##4DD0E1;
+}
+
+.night tspan{
+ fill: #fefefe;
+}
+
+.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 */