Followup r105280
authorBrandon Harris <bharris@users.mediawiki.org>
Tue, 20 Dec 2011 22:53:07 +0000 (22:53 +0000)
committerBrandon Harris <bharris@users.mediawiki.org>
Tue, 20 Dec 2011 22:53:07 +0000 (22:53 +0000)
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

resources/mediawiki.action/mediawiki.action.history.diff.css

index 09abf2b..4a19117 100644 (file)
@@ -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;
 }