From f72875c3874777036945f9771d11d0a77c54b9f1 Mon Sep 17 00:00:00 2001 From: Brandon Harris Date: Tue, 20 Dec 2011 22:53:07 +0000 Subject: [PATCH] Followup r105280 For bug 33139 "Swapping colors in new diff color scheme" * Modified diff colorscheme to yellow[orange]/blue[blue] - These colors attempt to address the following issues with diffs: - Colorblindness (Protanopia/Deuteranopia) - Cultural meaning of color (e.g., "green is good, therefore this diff is better") * Bumped font size up overall (actually, just removed the smaller) * Removed dotted line around difftext --- .../mediawiki.action.history.diff.css | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/resources/mediawiki.action/mediawiki.action.history.diff.css b/resources/mediawiki.action/mediawiki.action.history.diff.css index 09abf2b640..4a191174da 100644 --- a/resources/mediawiki.action/mediawiki.action.history.diff.css +++ b/resources/mediawiki.action/mediawiki.action.history.diff.css @@ -22,17 +22,15 @@ td.diff-lineno { } td.diff-addedline { - background: #D8E4F6; - font-size: smaller; + background: #e0ecff; } td.diff-deletedline { - background: #E4F6D8; - font-size: smaller; + background: #ffffaa; } td.diff-context { - font-size: smaller; + background: #EEE; } .diffchange { @@ -40,18 +38,17 @@ td.diff-context { white-space: -moz-pre-wrap; white-space: pre-wrap; text-decoration: none; - outline: 1px dotted gray; } td.diff-addedline .diffchange { - background: #B0C0F0; - color: #001040; + background: #c4d3ff; + color: #222222; font-weight: bold; } td.diff-deletedline .diffchange { - background: #B0E897; - color: #104000; + background: #ffd89d; + color: #000000; font-weight: bold; } -- 2.20.1