]> git.madduck.net Git - etc/neomutt.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

add html stylesheet
authormartin f. krafft <madduck@madduck.net>
Sat, 2 Sep 2023 08:32:49 +0000 (10:32 +0200)
committermartin f. krafft <madduck@madduck.net>
Sat, 2 Sep 2023 10:07:19 +0000 (12:07 +0200)
.config/neomutt/htmlmail.css [new file with mode: 0644]
.config/neomutt/neomuttrc

diff --git a/.config/neomutt/htmlmail.css b/.config/neomutt/htmlmail.css
new file mode 100644 (file)
index 0000000..e60bf8b
--- /dev/null
@@ -0,0 +1,55 @@
+#signature .sig_separator { display: none; }
+
+body, div.signature { font-family: Lato, "Liberation Sans", sans-serif; }
+a { text-decoration:none; color:#3a5dae; }
+a:visited { color:#3a5dae; }
+a:hover { text-decoration:underline; }
+.block {
+    padding: 0 0.5em;
+    margin: 0;
+    font-style: italic;
+    border-left: 2px solid #eee;
+}
+.quote, blockquote {
+    padding: 0 0.5em;
+    margin: 0;
+    font-style: italic;
+    border-left: 2px solid #666;
+    color: #666;
+    font-size: 80%;
+}
+/*.quotelead {
+    margin-bottom: -1em;
+    font-size: 80%;
+}
+.quotechar { display: none; }*/
+.footnote-ref, .footnote-back { text-decoration: none;}
+/*.signature {
+    color: #999;
+    font-family: monospace;
+    white-space: pre;
+    margin: 1em 0 0 0;
+    font-size: 80%;
+}*/
+table, th, td {
+    border-collapse: collapse;
+    border: 1px solid #999;
+}
+th, td { padding: 0.5em; }
+.header {
+    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; }
+pre { padding: 0 1em; }*/
index 947d489a324f47b4a44c66277b0bc2f143d5da49..d0e6bb86e76aac4b093eea2481ee80cf994e2a21 100644 (file)
@@ -63,4 +63,5 @@ source "test -f $alias_file && cat $alias_file 2>/dev/null || echo unset alias_f
 #set pager_format="<%a> %*  %J (%P)"
 
 set my_markdown_extensions="admonition,codehilite,sane_lists,smarty,pymdownx.extra,pymdownx.highlight,pymdownx.critic,pymdownx.keys,pymdownx.magiclink,pymdownx.mark,pymdownx.saneheaders,pymdownx.smartsymbols"
-macro compose B "<enter-command> source '$my_confdir/buildmimetree.py --extensions $my_markdown_extensions --tempdir $tmpdir --only-build|'<enter><enter-command> source \$my_mdwn_postprocess_cmd_file<enter>" "Convert message into a modern MIME tree with inline images"
+macro compose y "<enter-command> source '$my_confdir/buildmimetree.py --extensions $my_markdown_extensions --tempdir $tmpdir --only-build --css-file $my_confdir/htmlmail.css|'<enter><enter-command> source \$my_mdwn_postprocess_cmd_file<enter>" "Convert message into a modern MIME tree with inline images"
+bind compose Y send-message