From 422799d70fdc53dcece13ff96ad0821d6481eb80 Mon Sep 17 00:00:00 2001 From: = Date: Fri, 11 Dec 2020 12:11:34 +0100 Subject: fix dark theme code hilighting --- md2html-dark_theme/md2html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'md2html-dark_theme/md2html') 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(''' ''') -- cgit v1.2.2-1-g5e49