aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author= <pux@pux.dom>2020-12-11 12:11:34 +0100
committer= <pux@pux.dom>2020-12-11 12:11:34 +0100
commit422799d70fdc53dcece13ff96ad0821d6481eb80 (patch)
treebae6c6132dd95b19bf9ccf7df101da19d77439f0
parent67c62f927e75bc767c5de04f98bd11bcd91cf9b2 (diff)
downloadmo-cgit-mods-422799d70fdc53dcece13ff96ad0821d6481eb80.tar.gz
mo-cgit-mods-422799d70fdc53dcece13ff96ad0821d6481eb80.tar.bz2
mo-cgit-mods-422799d70fdc53dcece13ff96ad0821d6481eb80.zip
fix dark theme code hilighting
-rwxr-xr-xmd2html-dark_theme/md2html10
1 files changed, 5 insertions, 5 deletions
diff --git a/md2html-dark_theme/md2html b/md2html-dark_theme/md2html
index 5069d61..23988b0 100755
--- a/md2html-dark_theme/md2html
+++ b/md2html-dark_theme/md2html
@@ -55,7 +55,7 @@ sys.stdout.write('''
display: inline-block;
}
div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div#cgit .markdown-body h3 a.toclink, div#cgit .markdown-body h4 a.toclink, div#cgit .markdown-body h5 a.toclink, div#cgit .markdown-body h6 a.toclink {
- color: white;
+ color: darkgray;
}
.markdown-body h1 tt, .markdown-body h1 code, .markdown-body h2 tt, .markdown-body h2 code, .markdown-body h3 tt, .markdown-body h3 code, .markdown-body h4 tt, .markdown-body h4 code, .markdown-body h5 tt, .markdown-body h5 code, .markdown-body h6 tt, .markdown-body h6 code {
font-size: inherit;
@@ -154,7 +154,7 @@ div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div#
.markdown-body blockquote {
border-left: 4px solid #DDD;
padding: 0 15px;
- color: #777;
+ color: darkgray;
}
.markdown-body blockquote>:first-child {
margin-top: 0px;
@@ -186,7 +186,7 @@ div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div#
overflow: hidden;
}
.markdown-body span.frame>span {
- border: 1px solid #ddd;
+ border: 1px solid #aaa;
display: block;
float: left;
overflow: hidden;
@@ -258,7 +258,7 @@ 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;
+ border: 0px solid #eaeaea;
background-color: black;
border-radius: 3px;
}
@@ -288,7 +288,7 @@ div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div#
border: none;
}
''')
-sys.stdout.write(HtmlFormatter(style='pastie').get_style_defs('.highlight'))
+sys.stdout.write(HtmlFormatter(style='monokai').get_style_defs('.highlight'))
sys.stdout.write('''
</style>
''')
in each repos: see "about"-tab (if existing) for more details / README.
mailto contact at omeckman dot net
all timestamps in UTC (German winter time: UTC+01:00, summer time: UTC+02:00)
dark theme is a modded version of: https://gist.github.com/Yoplitein/f4b671a2ec70c9e743fa