MediaWiki:Nimbus.js

/* Any JavaScript here will be loaded for users using the Nimbus skin */

/* Random logo */ $(function { var logos = ['/images/b/b6/Rotation_logo_speaker.png', '/images/4/4e/Rotation_logo_Zavala.png', '/images/2/2c/Rotation_logo_Cayde.png', '/images/4/4f/Rotation_logo_Ikora.png', '/images/d/d1/Rotation_logo_Ghaul.png', '/images/9/9c/Rotation_logo_Hawthorne.png', '/images/b/bc/Destinypedia_rotation_logo_Ana.png'];

$('#site-logo a').css('background-image', 'url(' + logos[Math.floor(Math.random * logos.length)] + ')'); });

/* Cookie warning */ $(function {	if (mw.config.get('wgUserId') == null) {		$('#header').css('z-index', '20');		$('.mw-cookiewarning-container').css('z-index', '15');		$('.mw-cookiewarning-text').css('margin-right', '175px');	} });