diff options
Diffstat (limited to 'filters/html-converters/md2html')
| -rwxr-xr-x | filters/html-converters/md2html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/filters/html-converters/md2html b/filters/html-converters/md2html index 59f43a8..64ed75a 100755 --- a/filters/html-converters/md2html +++ b/filters/html-converters/md2html @@ -39,6 +39,8 @@ sys.stdout.write(''' -webkit-font-smoothing: antialiased; cursor: text; position: relative; + color: #fff; + border-color: #333; } .markdown-body h1 .mini-icon-link, .markdown-body h2 .mini-icon-link, .markdown-body h3 .mini-icon-link, .markdown-body h4 .mini-icon-link, .markdown-body h5 .mini-icon-link, .markdown-body h6 .mini-icon-link { display: none; @@ -55,7 +57,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: black; + color: white; } .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; @@ -284,7 +286,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> ''') |
