// Script to shade the background and edit boxes to lower contrast and
// avoid eyestrain
//
// Complain to User:Inductiveload
jQuery( document ).ready( function() {
if (wgAction == "edit" || wgAction=="submit"){
var colourEditInterfaceBackground = function( pageBG, editboxBG, fontColour, linkColour, newLinkColour, extLinkColour){
style = $('<style type="text/css" />').appendTo('head');
style.append(
'#content {background-color:'+ pageBG +' !important;}\
#content {color:'+ fontColour +' !important;}\
a {color:'+ linkColour +' !important;}\
.new {color:'+ newLinkColour +' !important;}\
.extiw {color:'+ extLinkColour +' !important;}\
textarea, input {background-color:'+editboxBG +' !important;}');
}
colourEditInterfaceBackground('#DDD', '#DDD', '#222', '#22F', '#BA0000', '#33F');
}
});
//alternative colours
//colourBackground('#228', '#228', '#FDD', '#DFD', '#BFB');