User:SfRattan/common.js

/* reset for style attributes on the Main_Page Tables */ $(".MainPageBG, td.MainPageBG, #mp-left, #mp-tfa-h2, #mp-dyk-h2, #mp-tafi-h2, #mp-right, #mp-itn-h2, #mp-otd-h2, #mp-topbanner, #mp-bottom, #mp-tfp-h2, #mp-middle, #mp-center, #mp-tfl-h2") .css('background','#ffffff') .css('border','0px');

/* better styling on the homepage tables */ $("#mp-tfa-h2, #mp-dyk-h2, #mp-tafi-h2, #mp-itn-h2, #mp-otd-h2, #mp-tfp-h2, #mp-tfl-h2") .css('border-bottom','2px #000000 solid');

/* delete the top banner, restyle the banner */ $("#mp-topbanner") .find("*").remove; $("#mp-topbanner") .css('border-top','1px solid #000000') .css('border-bottom','1px solid #000000') .append('  ');

/* rebuild the top banner horizontally */ $("#common_portals") .append(' Arts ') .append(' Biology ') .append(' Geography ') .append(' History ') .append(' Mathematics ') .append(' Science ') .append(' Society ') .append(' Technology</a> ') .append(' <a href="/wiki/Portal:Contents/Portals" title="Portal:Contents/Portals">All Portals</a> ');