MediaWiki:Nimbus.js

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

/* Random logo */ $(function { var logos = [

/* Halo Infinite */ 'd/d2/Halopedia_Logo_HI-John117_%28Pre-release%29.png', 'c/c3/Halopedia_Logo_HI-Brohammer_%28Pre-release%29.png',

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

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

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

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

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

/* Pre-Xbox Halo */ '1/1e/Halopedia_Logo_PreXbox-Chief.png',

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

/* Mixed media */ 'e/e3/Halopedia_Logo_Chief_MarkV.png', 'a/a8/Halopedia-Logo-Lasky.png', '8/87/Halopedia-Logo-Halsey.png', '3/32/Halopedia-Logo-Rtas.png', 'a/a3/Halopedia_Logo_Hood.png', 'e/eb/Halopedia_Logo_Mendez.png', '0/00/Halopedia_Logo_Cortana.png', '0/0a/Halopedia_Logo_Faber.png', '0/0c/Halopedia_Logo_Didact.png', '4/45/Halopedia_Logo_Librarian.png', '9/91/Halopedia_Logo_MendicantBias.png', '2/2f/Halopedia_Logo_H2A-John117.png', 'c/cc/Halopedia_Logo_UssaXellus.png',

]; $('#site-logo a').css('background-image', 'url(https://halo.wiki.gallery/images/7/7e/HP-logo.png), url(https://halo.wiki.gallery/images/' + logos[Math.floor(Math.random * logos.length)] + ')'); });