User:DomiDsLP/common.css

mw.loader.using('mediawiki.api', function { var pstClockE=document.createElement("div");pstClockE.id="pst-c-w";pstClockE.innerHTML=" PST Clock Penguin Standard Time    NOW      TODAY   "; document.getElementById("WikiaRail").appendChild(pstClockE);var pwrCB=document.getElementById("pwr-cb");function getHr(a){a-=8;return 0a?a:13<=a?a-12:a+12}function getMin(a){return 10<=a?a:"0"+a}function g1S71(a){return 10<=a?a:"0"+a}function udTime{var a=document.getElementById("time"),b=new Date;a.innerText=getHr(b.getUTCHours)+":"+getMin(b.getUTCMinutes)+":"+g1S71(b.getUTCSeconds)} function udRest{var days=["Sun","Mon","Tues","Wednes","Thurs","Fri","Satur"];var day=document.getElementById("day"),am_pm=document.getElementById("am_pm"),b=new Date;var timeout;b.setUTCHours(b.getUTCHours-8);day.innerText=days[b.getUTCDay]+"day";if(b.getUTCHours<12)am_pm.innerText="AM";else am_pm.innerText="PM";if(b.getUTCHours===23||b.getUTCHours===11)timeout=setTimeout(udRest,1E3);else{clearTimeout(timeout);timeout=setTimeout(udRest,42E4)}}udTime;setInterval(udTime,1E3);udRest; try{pwrCB.addEventListener("click",udTime,!1);pwrCB.addEventListener("click",udRest,!1)}catch(e){pwrCB.parentNode.removeChild(pwrCB)} }); .skin-oasis { background: #019BCD url("https://i.imgur.com/PuzrrhR.png") top center no-repeat;  background-size: cover; }
 * 1) pst-h{font:700 14px Burbank Small,Arial,sans-serif;transform:scaleX(.9)}.rad-5{border-radius:5px}.pad-10{padding:10px}.text-ac{text-align:center}#pst-c{background:#f2f7fc;background:linear-gradient(#f2f7fc,#bedeff);border:3px solid #bbdcff;border-radius:12px;color:#0f5da1;position:relative;width:170px}#day,#time-w{background:#0078c4;box-shadow:inset 4px 4px 6px #005c91;color:#fff}#time-w{display:inline-block;font:19px Courier New,monospace;line-height:16px;width:150px}#day{font:14px Arial,sans-serif}#pst-c-w{margin:50px 0 0}#pst-c:before{background:url(https://i.imgur.com/yE4wKpM.png);top:-83px;right:5px;content:" ";position:absolute;width:87px;height:80px}#pwr-cb{background:url(https://i.imgur.com/2U7cNOd.png) no-repeat;border:0;border-radius:50px;box-sizing:border-box;cursor:pointer;float:right;width:25px;height:27px}#pwr-cb:hover{background-position:0 -27px}#pwr-cb:focus{box-shadow:0 0 0 2px #fff;outline:0}#pwr-cb::-moz-focus-inner{border:0}#pwr-cb:active{background-position:0 -54px;transform:skew(-8deg)}