tweak(mu4e): change org-msg ch units to em

Because Outlook interprets 90ch as 90px ... nice job Outlook.

I also adjusted text size and padding with code snippets while we're
tweaking.

Close #5439
This commit is contained in:
TEC 2021-09-26 20:54:09 +08:00 committed by Henrik Lissner
parent b3d1c72b6e
commit 86a69ecf62

View file

@ -446,7 +446,7 @@ Must be set before org-msg is loaded to take effect.")
(span underline ((text-decoration . "underline"))) (span underline ((text-decoration . "underline")))
(li nil (,line-height (margin-bottom . "0px") (li nil (,line-height (margin-bottom . "0px")
(margin-top . "2px") (margin-top . "2px")
(max-width . "84ch"))) (max-width . "47em")))
(nil org-ul ((list-style-type . "disc"))) (nil org-ul ((list-style-type . "disc")))
(nil org-ol (,@font ,line-height (margin-bottom . "0px") (nil org-ol (,@font ,line-height (margin-bottom . "0px")
(margin-top . "0px") (margin-left . "30px") (margin-top . "0px") (margin-left . "30px")
@ -470,8 +470,9 @@ Must be set before org-msg is loaded to take effect.")
(margin . "4px 0px 8px 0px") (margin . "4px 0px 8px 0px")
(padding . "8px 12px") (padding . "8px 12px")
(width . "max-content") (width . "max-content")
(min-width . "80ch") (min-width . "50em")
(border-radius . "5px") (border-radius . "5px")
(font-size . "0.9em")
(font-weight . "500") (font-weight . "500")
,monospace-font)) ,monospace-font))
(div org-src-container ((margin-top . "10px"))) (div org-src-container ((margin-top . "10px")))
@ -501,7 +502,8 @@ Must be set before org-msg is loaded to take effect.")
(kbd nil ((border . "1px solid #d1d5da") (border-radius . "3px") (kbd nil ((border . "1px solid #d1d5da") (border-radius . "3px")
(box-shadow . "inset 0 -1px 0 #d1d5da") (box-shadow . "inset 0 -1px 0 #d1d5da")
(background-color . "#fafbfc") (color . "#444d56") (background-color . "#fafbfc") (color . "#444d56")
(padding . "3px 5px") (display . "inline-block"))) (font-size . "0.85em")
(padding . "1px 4px") (display . "inline-block")))
(div outline-text-4 ((margin-left . "15px"))) (div outline-text-4 ((margin-left . "15px")))
(div outline-4 ((margin-left . "10px"))) (div outline-4 ((margin-left . "10px")))
(h4 nil ((margin-bottom . "0px") (font-size . "11pt"))) (h4 nil ((margin-bottom . "0px") (font-size . "11pt")))
@ -513,7 +515,7 @@ Must be set before org-msg is loaded to take effect.")
,color (font-size . "24pt"))) ,color (font-size . "24pt")))
(p nil ((text-decoration . "none") (line-height . "1.4") (p nil ((text-decoration . "none") (line-height . "1.4")
(margin-top . "10px") (margin-bottom . "0px") (margin-top . "10px") (margin-bottom . "0px")
,font-size (max-width . "90ch"))) ,font-size (max-width . "50em")))
(b nil ((font-weight . "500") (color . ,theme-color))) (b nil ((font-weight . "500") (color . ,theme-color)))
(div nil (,@font (line-height . "12pt"))))))) (div nil (,@font (line-height . "12pt")))))))