From 8e5c443c7b8d448c851db4c59b53677fc2e582f6 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 11 Sep 2015 05:25:52 -0400
Subject: [PATCH] CSS improvements on message print and message headers table

---
 skins/larry/print.css |   18 ++++++++----------
 skins/larry/mail.css  |    4 ++--
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/skins/larry/mail.css b/skins/larry/mail.css
index 6bb8723..c13cd4f 100644
--- a/skins/larry/mail.css
+++ b/skins/larry/mail.css
@@ -627,7 +627,7 @@
 
 .headers-table td {
 	color: #666;
-	padding: 2px 8px;
+	padding: 1px 8px;
 }
 
 .headers-table td.header,
@@ -652,7 +652,6 @@
 
 .headers-table td.subject {
 	color: #333;
-	font-size: 110%;
 	font-weight: bold;
 }
 
@@ -963,6 +962,7 @@
 div.message-partheaders .headers-table td.header-title {
 	width: auto;
 	padding-left: 0;
+	vertical-align: top;
 }
 
 div.message-partheaders .headers-table td.header {
diff --git a/skins/larry/print.css b/skins/larry/print.css
index 4b67bcc..bb2722a 100644
--- a/skins/larry/print.css
+++ b/skins/larry/print.css
@@ -41,24 +41,22 @@
 
 table.headers-table tr td {
 	font-size: 9pt;
+	vertical-align: top;
 }
 
 table.headers-table td.header-title {
 	color: #666;
-	font-size: 85%;
 	padding-right: 4mm;
 	white-space: nowrap;
 }
 
 table.headers-table tr td.subject {
-	width: 90%;
 	font-weight: bold;
-	font-size: 120%;
 }
-	
+
 #attachment-list {
-	margin-top: 3mm;
-	padding-top: 3mm;
+	margin-top: 2mm;
+	padding-top: 2mm;
 	border-top: 1pt solid #ccc;
 }
 
@@ -76,13 +74,13 @@
 
 #messagebody {
 	position: relative;
-	margin-top: 5mm;
 	border-top: none;
 }
 
-div.message-part {
-	padding: 2mm;
-	margin-top: 5mm;
+div.message-part,
+div.message-htmlpart {
+	padding: 2mm 1mm;
+	margin-top: 2mm;
 	margin-bottom: 5mm;
 	border-top: 1pt solid #ccc;
 }

--
Gitblit v1.9.1