Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Spellsmith (talk | contribs) |
Spellsmith (talk | contribs) |
||
| Line 3: | Line 3: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
| − | $('div#content.mw-body:has(div.faction_illuminati)').css('background', '# | + | $('div#content.mw-body:has(div.faction_illuminati)').css('background', '#272939'); |
| − | $('div#content.mw-body:has(div.faction_dragon)').css('background', '# | + | $('div#content.mw-body:has(div.faction_dragon)').css('background', '#172a10'); |
| − | $('div#content.mw-body:has(div.faction_neutral)').css('background', '# | + | $('div#content.mw-body:has(div.faction_neutral)').css('background', '#2a2710'); |
| + | $('div#content.mw-body:has(div.faction_cov)').css('background', '#121f31'); | ||
| + | $('div#content.mw-body:has(div.faction_orochi)').css('background', '#000'); | ||
$('tr:has(td.illuminati)').css('background', '#8dcce4'); | $('tr:has(td.illuminati)').css('background', '#8dcce4'); | ||
$('tr:has(td.dragon)').css('background', '#bddfbc'); | $('tr:has(td.dragon)').css('background', '#bddfbc'); | ||
Revision as of 03:52, 16 May 2017
/* Any JavaScript here will be loaded for all users on every page load. */
$(document).ready(function(){
$('div#content.mw-body:has(div.faction_illuminati)').css('background', '#272939');
$('div#content.mw-body:has(div.faction_dragon)').css('background', '#172a10');
$('div#content.mw-body:has(div.faction_neutral)').css('background', '#2a2710');
$('div#content.mw-body:has(div.faction_cov)').css('background', '#121f31');
$('div#content.mw-body:has(div.faction_orochi)').css('background', '#000');
$('tr:has(td.illuminati)').css('background', '#8dcce4');
$('tr:has(td.dragon)').css('background', '#bddfbc');
$('tr:has(td.neutral)').css('background', '#dfdebc');
});