MediaWiki:Nimbus.js

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

/* Random logo */ $(function { var logos = [ /* Halo Infinite */ 'https://halo.wiki.gallery/images/d/d2/Halopedia_Logo_HI-John117_%28Pre-release%29.png', 'https://halo.wiki.gallery/images/c/c3/Halopedia_Logo_HI-Brohammer_%28Pre-release%29.png',

/* Halo 5 */ 'https://halo.wiki.gallery/images/0/02/Logo_John.png', 'https://halo.wiki.gallery/images/6/6a/Logo_Fred.png', 'https://halo.wiki.gallery/images/d/d8/Logo_Kelly.png', 'https://halo.wiki.gallery/images/4/47/Logo_Linda.png', 'https://halo.wiki.gallery/images/b/bd/Logo_Locke.png', 'https://halo.wiki.gallery/images/c/ce/Logo_Buck.png', 'https://halo.wiki.gallery/images/f/f4/Logo_Tanaka.png', 'https://halo.wiki.gallery/images/b/bb/Logo_Vale.png', 'https://halo.wiki.gallery/images/c/c0/Halopedia_Logo_Palmer.png', 'https://halo.wiki.gallery/images/9/99/Halopedia_Logo_Roland.png',

/* Halo 3 */ 'https://halo.wiki.gallery/images/5/52/Halopedia_Logo_Chief_MarkVI.png', 'https://halo.wiki.gallery/images/b/bd/Halopedia-Logo-Spark.png', 'https://halo.wiki.gallery/images/4/4d/Halopedia-Logo-Thel.png', 'https://halo.wiki.gallery/images/b/bb/Halopedia_Logo_Miranda.png', 'https://halo.wiki.gallery/images/a/a1/Halopedia_Logo_H3-Stacker.png',

/* Halo 3: ODST */ 'https://halo.wiki.gallery/images/9/93/Halopedia_Logo_Quick.png', 'https://halo.wiki.gallery/images/6/6b/Halopedia_Logo_Dare.png', 'https://halo.wiki.gallery/images/7/76/Halopedia_Logo_Dutch.png', 'https://halo.wiki.gallery/images/2/27/Halopedia_Logo_Mickey.png', 'https://halo.wiki.gallery/images/8/8b/Halopedia_Logo_Romeo.png', 'https://halo.wiki.gallery/images/7/7a/Halopedia_Logo_Rookie.png', 'https://halo.wiki.gallery/images/d/d1/Halopedia_Logo_H3ODST-Johnson.png',

/* Halo: Reach */ 'https://halo.wiki.gallery/images/d/db/Halopedia_Logo_IH_Six.png', 'https://halo.wiki.gallery/images/0/07/Halopedia_Logo_IH_Carter.png', 'https://halo.wiki.gallery/images/2/2c/Halopedia_Logo_IH_Kat.png', 'https://halo.wiki.gallery/images/b/b5/Halopedia_Logo_IH_Jun.png', 'https://halo.wiki.gallery/images/e/e9/Halopedia_Logo_IH_Jorge.png', 'https://halo.wiki.gallery/images/2/26/Halopedia_Logo_IH_Emile.png', 'https://halo.wiki.gallery/images/c/ca/Halopedia_Logo_IH_Rosenda.png',

/* Halo Wars Series */ 'https://halo.wiki.gallery/images/a/a2/Halopedia-Logo-Jerome.png', 'https://halo.wiki.gallery/images/5/5f/Halopedia-Logo-Johnson.png', 'https://halo.wiki.gallery/images/c/ce/Halopedia-Logo-Anders.png', 'https://halo.wiki.gallery/images/5/5f/Halopedia-Logo-Atriox.png', 'https://halo.wiki.gallery/images/4/40/Halopedia-Logo-Cutter.png', 'https://halo.wiki.gallery/images/3/39/Halopedia-Logo-Forge.png', 'https://halo.wiki.gallery/images/3/33/Halopedia_Logo_Serina.png', 'https://halo.wiki.gallery/images/0/0d/Halopedia_Logo_Ripa.png', 'https://halo.wiki.gallery/images/4/46/Halopedia_Logo_Isabel.png', 'https://halo.wiki.gallery/images/a/ad/Halopedia_Logo_HW2-Yapyap.png',

/* Books */ 'https://halo.wiki.gallery/images/3/3c/Halopedia-Logo-Veta.png', 'https://halo.wiki.gallery/images/5/5b/Halopedia-Logo-Tem.png', 'https://halo.wiki.gallery/images/2/26/Halopedia-Logo-Olivia.png', 'https://halo.wiki.gallery/images/7/77/Halopedia_Logo_GrayTeam.png', 'https://halo.wiki.gallery/images/e/eb/Halopedia_Logo_Jul.png', 'https://halo.wiki.gallery/images/5/5a/Halopedia_Logo_Keyes.png', 'https://halo.wiki.gallery/images/9/9a/Halopedia_Logo_GoO-SPI.png', 'https://halo.wiki.gallery/images/f/f1/Halopedia_Logo_GoO-MarkV.png', 'https://halo.wiki.gallery/images/6/6b/Halopedia_Logo_GoO-MarkVI.png', 'https://halo.wiki.gallery/images/e/eb/Halopedia_Logo_Rion.png', 'https://halo.wiki.gallery/images/c/cf/Halopedia_Logo_CH-Johnson.png',

/* Mixed Media */ 'https://halo.wiki.gallery/images/e/e3/Halopedia_Logo_Chief_MarkV.png', 'https://halo.wiki.gallery/images/a/a8/Halopedia-Logo-Lasky.png', 'https://halo.wiki.gallery/images/8/87/Halopedia-Logo-Halsey.png', 'https://halo.wiki.gallery/images/3/32/Halopedia-Logo-Rtas.png', 'https://halo.wiki.gallery/images/a/a3/Halopedia_Logo_Hood.png', 'https://halo.wiki.gallery/images/e/eb/Halopedia_Logo_Mendez.png', 'https://halo.wiki.gallery/images/0/00/Halopedia_Logo_Cortana.png', 'https://halo.wiki.gallery/images/0/0a/Halopedia_Logo_Faber.png', 'https://halo.wiki.gallery/images/0/0c/Halopedia_Logo_Didact.png', 'https://halo.wiki.gallery/images/4/45/Halopedia_Logo_Librarian.png', 'https://halo.wiki.gallery/images/9/91/Halopedia_Logo_MendicantBias.png', 'https://halo.wiki.gallery/images/2/2f/Halopedia_Logo_H2A-John117.png'];

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