From: Matthijs Kooijman Date: Tue, 15 Sep 2009 09:08:23 +0000 (+0200) Subject: Add CSS to style the diff viewer. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=22b118ae60175db63834df442528ee0fde4fb0a7;p=matthijs%2Fprojects%2Fwipi.git Add CSS to style the diff viewer. --- diff --git a/static/exodus/css/screen.css b/static/exodus/css/screen.css index a316fbd..bf50b2e 100644 --- a/static/exodus/css/screen.css +++ b/static/exodus/css/screen.css @@ -279,4 +279,30 @@ img.Decorative { border:3px double #cc8900; } +/* Diff view, copied from modern/screen.css */ +.diff-header { + font-weight: bold; +} + +.diff-title { + background-color: #C0C0C0; +} + +.diff-added { + background-color: #E0FFE0; + vertical-align: sub; +} + +.diff-removed { + background-color: #FFFFE0; + vertical-align: sub; +} + +.diff-added span { + background-color: #80FF80; +} + +.diff-removed span { + background-color: #FFFF80; +} /* vim: set sw=4 sts=4 expandtab */