MediaWiki:Gadget-DiffOldStyle.css
Jump to navigation
Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
This user script seems to have a documentation page at MediaWiki:Gadget-DiffOldStyle. |
/* _____________________________________________________________________________
* | |
* | === WARNING: GLOBAL GADGET FILE === |
* | Changes to this page affect many users. |
* |_____________________________________________________________________________|
*
* Display diffs with the old yellow/green colors and design.
*/
table.diff td {
padding: 0;
}
td.diff-marker {
color: black;
font-size: 1em;
font-weight: normal;
}
td.diff-context,
td.diff-deletedline,
td.diff-addedline {
border: none;
border-radius: 0;
}
td.diff-context {
background-color: #eee;
}
td.diff-deletedline {
background-color: #ffa;
}
td.diff-addedline {
background-color: #cfc;
}
td.diff-deletedline .diffchange,
td.diff-addedline .diffchange {
background: transparent;
color: red;
}