From 1a6aa914b67432a9b6af60a3502707efcb6858bb Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Tue, 11 Nov 2014 16:19:30 +0100 Subject: [PATCH] Improved history appearance --- public_html/css/history.css | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/public_html/css/history.css b/public_html/css/history.css index b00a3965..9c774d32 100644 --- a/public_html/css/history.css +++ b/public_html/css/history.css @@ -1,33 +1,42 @@ table.history { font-size: 80%; + border-spacing: 0; } table.history .addition { - color: forestgreen; + color: #228022; } table.history .addition:before { content: '+'; } table.history .removal { - color: red; + color: #e02222; } table.history .removal:before { content: '-'; } +table.history .user img { + vertical-align: middle; +} + table.history .time, table.history .user, table.history .subject { white-space: nowrap; } - -table.history .user img { - vertical-align: middle; +table.history .difference { + word-break: break-all; } table.history td { - padding: 0.1em 0.25em; - word-break: break-all; + padding: 0.3em 0.5em 0.3em 0.25em; + word-break: break-word; + word-wrap: break-word; + vertical-align: top; +} +table.history tr:nth-child(2n+1) td { + background: #fafafa; } table.history ul {