X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/0e22b3603ff0a4f8c672ff9585b32ccb2ee4c424..3803d2cf1b594cc4d5001dea7a3c5b9dafaf0a2a:/.mutt/markdown2html?ds=inline diff --git a/.mutt/markdown2html b/.mutt/markdown2html index 7853ae5..d4f5b13 100755 --- a/.mutt/markdown2html +++ b/.mutt/markdown2html @@ -48,18 +48,16 @@ except ImportError: DEFAULT_CSS += ''' -.quote { +.quote, blockquote { padding: 0 0.5em; margin: 0; font-style: italic; - border-left: 2px solid #ccc; - color: #999; + border-left: 2px solid #666; + color: #666; font-size: 80%; } .quotelead { - font-style: italic; margin-bottom: -1em; - color: #999; font-size: 80%; } .quotechar { display: none; } @@ -80,6 +78,18 @@ th, td { padding: 0.5em; } background: #eee; } .even { background: #eee; } +h1, h2, h3, h4, h5, h6 { + color: #666; + background-color: #eee; + padding-left: 0.5em +} +h1 { font-size: 130%; } +h2 { font-size: 120%; } +h3 { font-size: 110%; } +h4 { font-size: 107%; } +h5 { font-size: 103%; } +h6 { font-size: 100%; } +p { padding: 0 0.5em; } ''' STYLESHEET = os.path.join(os.path.expanduser('~/.mutt'), @@ -227,6 +237,7 @@ def _convert_with_pandoc(mdwn, inputfmt='markdown', outputfmt='html5', 'inline_notes', 'emoji', 'tex_math_double_backslash', + 'autolink_bare_uris' ] if not ext_disabled: ext_disabled = [ 'tex_math_single_backslash',