✨ Implemented dark theme.
Signed-off-by: Edoardo Odorico <edoubuntu@gmail.com>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user