RuneScape:Sandbox

  Wariw Pl HS wariw_pl (HS) AL

js
// ============================================================ // displayTimer // ============================================================ //Add a clock to the WikiHeader //Modified from work by Patrick Westerhoff [poke]: //http://bulbapedia.bulbagarden.net/wiki/MediaWiki:Monobook.js hookEvent( 'load', displayTimer ); function displayTimer {   if ( typeof( timerDisplay ) !== 'undefined' && timerDisplay === false ) return; var date; if (skin == 'oasis') {   var timerParent = document.getElementById( 'WikiHeader' ).getElementsByTagName( 'div' )[0]; }   if (skin == 'monobook') {   var timerParent = document.getElementById( 'p-personal' ).getElementsByTagName( 'ul' )[0]; }   var timerLink   = document.createElement( 'a' ); var timerObj   = document.createElement( 'li' ); timerLink.href              = '/wiki/' + wgPageName + '?action=purge'; timerLink.title             = 'Purge the server cache and update the contents of this page.' timerObj.id                 = 'displayTimer'; timerObj.style.textTransform = 'none'; timerObj.style.fontWeight   = 'bold'; timerObj.style.fontSize     = '100%'; timerObj.appendChild( timerLink ); timerParent.insertBefore( timerObj, timerParent.firstChild ); if (skin == 'oasis') {       $('#displayTimer').css({'position': "inherit", 'right': "0px", 'top': "-28px"}); }   var month = new Array(12); month[0] = "Jan"; month[1] = "Feb"; month[2] = "Mar"; month[3] = "Apr"; month[4] = "May"; month[5] = "Jun"; month[6] = "Jul"; month[7] = "Aug"; month[8] = "Sep"; month[9] = "Oct"; month[10] = "Nov"; month[11] = "Dec"; function actualizeUTC {       timerDate           = new Date; timerLink.innerHTML = ( timerDate.getUTCDate    < 10 ? '0' : '' ) + timerDate.getUTCDate     + ' ' + ( timerDate.getUTCMonth   < 10 ?  :   ) + month[timerDate.getUTCMonth] + ' ' + ( timerDate.getUTCFullYear < 10 ? '0' : '' ) + timerDate.getUTCFullYear + ' ' + ( timerDate.getUTCHours   < 10 ? '0' : '' ) + timerDate.getUTCHours    + ':' + ( timerDate.getUTCMinutes < 10 ? '0' : '' ) + timerDate.getUTCMinutes  + ':' + ( timerDate.getUTCSeconds < 10 ? '0' : '' ) + timerDate.getUTCSeconds  + ' (UTC)'; }   function actualizeCustom {       timerDate           = new Date; timerDate.setMinutes ( timerDate.getMinutes + timerDate.getTimezoneOffset + timerTimezone * 60 ); timerLink.innerHTML = ( timerDate.getDate    < 10 ? '0' : '' ) + timerDate.getDate     + ' ' + ( timerDate.getMonth   < 10 ?  :   ) + month[timerDate.getMonth] + ' ' + ( timerDate.getFullYear < 10 ? '0' : '' ) + timerDate.getFullYear + ' ' + ( timerDate.getHours   < 10 ? '0' : '' ) + timerDate.getHours    + ':' + ( timerDate.getMinutes < 10 ? '0' : '' ) + timerDate.getMinutes  + ':' + ( timerDate.getSeconds < 10 ? '0' : '' ) + timerDate.getSeconds + ' (UTC' + ( timerTimezone < 0 ? '' : '+' ) + timerTimezone + ')'; }   // start if ( typeof( timerTimezone ) !== 'number' ) {       actualizeUTC; setInterval( actualizeUTC, 1000 ); }   else {       actualizeCustom; setInterval( actualizeCustom, 1000 ); } }

css
/* CSS placed here will be applied to the 'Wikia'/'New look' skin. See also: MediaWiki:Monobook.css and MediaWiki:Monaco.css */

@import "/index.php?title=MediaWiki:Wikia.css/hilite&action=raw&ctype=text/css";

/* Template:Navbox */

.navbox, .navbox-subgroup { background: #F8F1EA;   /* Background color */ } .navbox-title {            /* Title style */ background: #E1C7AA;   /* Level 1 color */ } .navbox-group {            /* Group style */ background: #EBD9C7;   /* Level 2 color */ } .navbox-list { border-color: #F8F1EA; /* Must match background color */ } .navbox-subgroup .navbox-title { background: #EBD9C7;   /* Level 2 color */ } .navbox-subgroup .navbox-group { background: #EBD9C7;   /* Level 3 color */ } .forumlist td.forum_title a.forum_new { background: url(http://images4.wikia.nocookie.net/runescape/images/7/71/Forum_new.png) center left no-repeat !important; padding:2px 0 1px 25px; } .sticky td.forum_title a.forum_new { background-image: url(http://images2.wikia.nocookie.net/runescape/images/0/0b/Forum_sticky.png) !important; } .forumlist td.forum_title a.forum_new:visited { background: none repeat scroll 0 0 transparent !important; }

/* Gives the "Fade to transparent" effect in table cells and DIV */ /* Used in conjunction with "background-color: " */ background-image: url(http://images1.wikia.nocookie.net/runescape/images/1/14/Gradient-1pixel-horizontal.png); }
 * 1) gradient, .gradient, .gradient-horizontal {

/* Hide the "Category" header in the File namespace. */ .ns-6 a#Category + h2 { display: none; }

/* Default styling for Template:Welcome_Notice */ .welcomenotice { border: 2px solid #4682B4 !important; background-color: #A5C2D0 !important; }

/* Styling for plainlinks class (currently not added to the skin by wikia) */ background: none !important; padding: 0px !important; }
 * 1) WikiaMainContent .plainlinks a {

/* Adds extra padding for AJAX pages */ padding: 0px !important; }
 * 1) WikiaArticle > #WikiaArticle {

/* Bolding headers */ h3 {font-weight: bold !important;} h4 {font-weight: bold !important;} h5 {font-weight: bold !important;} h6 {font-weight: bold !important;}

/* De-bolding section edit links */ .editsection {font-weight:normal !important;}

/* Darkens the colour of default text */ .color1, .color1 a, .yui-panel .hd, .WikiaPage { color:black !important; }

/* Hide image attribution, as it breaks RS:OWNERSHIP */ div.picture-attribution { display:none !important; } aside.picture-attribution { display:none !important; }

/* Giving pre a border */ pre { border: 1px solid #CC9D7E !important; }

/* Hot-spot colour tweaks */ div.hot-spot-severity-1 {background: #2D1200 !important;} div.hot-spot-severity-2 {background: #512B11 !important;} div.hot-spot-severity-3 {background: #7C4C2C !important;} div.hot-spot-severity-4 {background: #B27953 !important;} div.hot-spot-severity-5 {background: #CC9D7E !important;}

/* Revision diff colour tweaks */ .diff-addedline {background: #DEA46E !important} .diff-deletedline {background:#DBD0AF !important;} .diffchange-inline {font-weight: bold !important; color: #8F0000 !important;}

/* ToC colour tweaks */ .toc { border: 1px solid #DBD0AF !important; background-color: #F9ECC3 !important; } /* Image thumbnail colour tweaks */ .thumb {border: 1px solid #DBD0AF !important;} /* Darker border on search box */ .WikiaSearch input[type="text"] { border: 1px solid #DBD0AF !important; }

/* Change colour on "ADD category" button */ .CSaddCategory { background-color:#483821 !important; }

/* Fix background in place */ body {background-attachment:fixed !important;}