aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfilters/html-converters/md2html18
1 files changed, 10 insertions, 8 deletions
diff --git a/filters/html-converters/md2html b/filters/html-converters/md2html
index 64ed75a..5cfcdcb 100755
--- a/filters/html-converters/md2html
+++ b/filters/html-converters/md2html
@@ -172,7 +172,7 @@ div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div#
background-color: #fff;
}
.markdown-body table tr:nth-child(2n) {
- background-color: #f8f8f8;
+ background-color: #1e1e1e;
}
.markdown-body img {
max-width: 100%;
@@ -256,8 +256,8 @@ div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div#
.markdown-body code, .markdown-body tt {
margin: 0 2px;
padding: 0px 5px;
- border: 1px solid #eaeaea;
- background-color: #f8f8f8;
+ border: 1px solid #444;
+ background-color: #1e1e1e;
border-radius: 3px;
}
.markdown-body code {
@@ -271,13 +271,15 @@ div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div#
background: transparent;
}
.markdown-body .highlight pre, .markdown-body pre {
- background-color: #f8f8f8;
- border: 1px solid #ccc;
+ background-color: #1e1e1e;
+ border: 1px solid #444;
font-size: 13px;
- line-height: 19px;
+ line-height: 1.5;
+ color: #dcdcdc;
overflow: auto;
- padding: 6px 10px;
- border-radius: 3px;
+ padding: 8px 12px;
+ border-radius: 4px;
+ font-family: "Source Code Pro", monospace;
}
.markdown-body pre code, .markdown-body pre tt {
margin: 0;