Opened 16 years ago

Closed 16 years ago

#299 closed task (fixed)

wiki "History diff" CSS change

Reported by: dpatton Owned by: webcom@…
Priority: normal Milestone:
Component: WebSite Keywords: wiki CSS
Cc: martin

Description

As someone who is partially colorblind, I find that the use of RED to highlight changed text on the wiki's "History diff" makes the wiki hard to use effectively, especially when there are small changes (e.g. adding/deleting a single letter, space, or punctuation mark).

The existing wiki CSS is in /skins/common/diff.css http://wiki.osgeo.org/skins/common/diff.css and the relevant class is: .diffchange {

color: red; font-weight: bold; text-decoration: none;

}

My suggested changes are to replace the diffchange class with two specifications, to use different attributes for the deleted and inserted text, both being BLUE, and with deleted text highlighted with a strike-through: del.diffchange {

color: blue; font-weight: bold; text-decoration: line-through;

} ins.diffchange {

color: blue; font-weight: bold; text-decoration: none;

}

If you want to test this to see what it looks like, it's easy to do using the Stylish extension for Firefox:


@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("wiki.osgeo.org") {

del.diffchange {

color: blue !important; font-weight: bold !important; text-decoration: line-through !important;

}

ins.diffchange {

color: blue !important; font-weight: bold !important; text-decoration: none !important;

}

}


Change History (2)

comment:1 by warmerdam, 16 years ago

Cc: martin added

Martin installed and setup mediawiki ... adding him as a cc in case he might like to make this change. BTW, the configuration is now loosely described at MediaWikiConfiguration.

comment:2 by tmitchell, 16 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.