From 0e22b3603ff0a4f8c672ff9585b32ccb2ee4c424 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 5 Nov 2019 23:31:23 +1300 Subject: [PATCH] styling of tables --- .mutt/markdown2html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.mutt/markdown2html b/.mutt/markdown2html index 2813b37..7853ae5 100755 --- a/.mutt/markdown2html +++ b/.mutt/markdown2html @@ -70,7 +70,17 @@ DEFAULT_CSS += ''' 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; } +''' STYLESHEET = os.path.join(os.path.expanduser('~/.mutt'), 'markdown2html.css') -- 2.39.2