MediaWiki:Wikia.css
MediaWiki interface page
More actions
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS here will be applied to the main Wikia theme */
/* Body background */
body.mediawiki {
background: #60D7F2 url('http://www.growtopiagame.com/images/background.png') center bottom fixed repeat-x !important;
}
.i18ndoc {
background-color: #FFF77D;
border-bottom: 1px solid lightgrey;
font-family: monospace;
font-size: 8pt;
height: 140px;
overflow: auto;
padding: 3px;
}
.growsprite {
display: inline-block;
position: relative;
overflow: hidden;
vertical-align: middle;
height: 32px;
width: 32px;
}
.growsprite > span {
position: relative;
}
/** Bureaucrats **/
a[href="/wiki/User:RedboneBits"],
a[href="/wiki/User:Librarian_Bird"] {
background: url(http://vignette4.wikia.nocookie.net/growtopia/images/5/5f/Rsz_screen_shot_2016-10-24_at_71438_pm.png) center left no-repeat;
padding-left: 17px;
}
a[href$=":RedboneBits"],
a[href$="/RedboneBits"],
a[href$=":Librarian_Bird"],
a[href$="/Librarian_Bird"] {
color: #ec2dff !important;
font-weight: 700 !important;
}
.Wall .edited-by a.subtle[href$="Wall:RedboneBits"]:after,
.Wall .edited-by a.subtle[href$="Wall:Librarian_Bird"]:after {
color: #ec2dff !important;
content: "bureaucrat" !important;
font-family: Nunito;
font-size: 15px;
font-variant: small-caps;
font-weight: 400;
}
/** Administrators **/
a[href="/wiki/User:BlueDwarf"],
a[href="/wiki/User:Joshcat"],
a[href="/wiki/User:LightSwitch"],
a[href="/wiki/User:26nightmare"],
a[href="/wiki/User:TheKill69"] {
background: url(http://vignette1.wikia.nocookie.net/growtopia/images/1/19/Rsz_rsz_screen_shot_2016-10-24_at_35749_pm_1.png) center left no-repeat;
padding-left: 17px;
}
a[href$=":BlueDwarf"],
a[href$="/BlueDwarf"],
a[href$=":Joshcat"],
a[href$="/Joshcat"],
a[href$=":LightSwitch"],
a[href$="/LightSwitch"],
a[href$=":26nightmare"],
a[href$="/26nightmare"],
a[href$=":TheKill69"],
a[href$="/TheKill69"] {
color: #06c22c !important;
font-weight: 700 !important;
}
.Wall .edited-by a.subtle[href$="Wall:BlueDwarf"]:after,
.Wall .edited-by a.subtle[href$="Wall:Joshcat"]:after,
.Wall .edited-by a.subtle[href$="Wall:LightSwitch"]:after,
.Wall .edited-by a.subtle[href$="Wall:26nightmare"]:after,
.Wall .edited-by a.subtle[href$="Wall:TheKill69"]:after {
color: #06c22c !important;
content: "Admin" !important;
font-family: Nunito;
font-size: 15px;
font-variant: small-caps;
font-weight: 400;
}
/** Moderators **/
a[href="/wiki/User:Mctommycheng"] {
background: url(http://vignette1.wikia.nocookie.net/growtopia/images/8/88/Screen_Shot_2016-10-28_at_11.22.39_PM.png) center left no-repeat;
padding-left: 17px;
}
a[href$=":Mctommycheng"],
a[href$="/Mctommycheng"] {
color: #df7d00 !important;
font-weight: 700 !important;
}
.Wall .edited-by a.subtle[href$="Wall:Mctommycheng"]:after {
color: #df7d00 !important;
content: "content moderator" !important;
font-family: Nunito;
font-size: 15px;
font-variant: small-caps;
font-weight: 400;
}
/* Cursor */
body{
cursor:url('http://vignette1.wikia.nocookie.net/growtopia/images/5/5e/Normalcursorgtwv2.png/revision/latest?cb=20161104082611'), pointer;
}
a:hover{
cursor: url('http://vignette1.wikia.nocookie.net/growtopia/images/b/bc/Redclicklinkcursor.png/revision/latest?cb=20161104081936'), pointer;
}
/* Tabber Design */
ul.tabbernav {
border-bottom: 0px solid !important;
font: normal 14px Helvetica, Arial, sans-serif !important;
padding: 10px 0px !important;
border-top: 5px solid #06C22C;
border-radius: 0px !important;
}
ul.tabbernav li {
}
ul.tabbernav li a {
padding: 10px 10px !important;
margin-left: 0px !important;
border: 0px solid !important;
background: transparent !important;
border-radius: 0px !important;
}
ul.tabbernav li a:link {
color: #06C22C !important;
}
ul.tabbernav li a:visited {
color: #06C22C !important;
}
ul.tabbernav li a:hover {
background-color: #06C22C !important;
border-color: transparent !important;
color: #fff !important;
border-radius: 0px !important;
}
ul.tabbernav li.tabberactive a {
color:#FFF !important;
font-weight:normal !important;
border: 0px solid #D9D9D9 !important;
border-bottom: 1px solid #fff !important;
background-color: #06C22C !important;
border-radius: 0px !important;
}
ul.tabbernav li.tabberactive a:hover {
border: 0px solid #D9D9D9 !important;
border-bottom: 0px solid #fff !important;
border-radius: 0px;
}
.tabberlive {
width: auto !important;
}
.tabberlive .tabbertab {
border: 0px solid #D9D9D9 !important;
border-top: 0 !important;
border-radius: 0px !important;
}
$(function() {
if (!$('#UserProfileMasthead').length) return;
if (!parseInt($("#UserProfileMasthead .tally").text())) return;
var userName = $("#UserProfileMasthead h1").text();
function ISODateNDaysAgo (days) {
function pad (n) { return n < 10 ? '0' + n : n; }
function ISODateString (d) {
return d.getUTCFullYear() + '-'
+ pad(d.getUTCMonth()+1) + '-'
+ pad(d.getUTCDate()) + 'T'
+ pad(d.getUTCHours()) + ':'
+ pad(d.getUTCMinutes()) + ':'
+ pad(d.getUTCSeconds()) + 'Z';
}
return ISODateString(new Date(Date.now() - days * 24 * 60 * 60 * 1000));
}
var apiUrl = '/api.php?action=query&list=usercontribs&uclimit=1&ucprop=title|timestamp&format=json' +
'&ucuser=' + userName +
'&ucstart=' + ISODateNDaysAgo(0) +
'&ucend=' + ISODateNDaysAgo(3 * 30);
$.getJSON(apiUrl, function (result) {
if (typeof result.query != 'undefined' && typeof result.query.usercontribs != 'undefined' &&
!result.query.usercontribs.length) {
$('<span class="group inactive-user">inactive</span>').appendTo('#UserProfileMasthead hgroup');
}
});
});