Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Wikia.css: Difference between revisions

MediaWiki interface page
NekoPillow (talk | contribs)
No edit summary
NekoPillow (talk | contribs)
No edit summary
Line 49: Line 49:
.activityfeed > li.activity-type-categorization {
.activityfeed > li.activity-type-categorization {
border-left-color: #b76801;
border-left-color: #b76801;
}
/** Header Force Color **/
.wds-community-header .wds-community-header__sitename a, .wds-community-header .wds-tabs__tab-label,
.wds-community-header .wds-community-header__counter {
    color: #FFF;
}
.wds-community-header .wds-button.wds-is-secondary {
    color: #FFF;
    border-color: #FFF;
}
.wds-community-header .wds-button-group > .wds-dropdown:not(:first-child) .wds-button {
    border-left-color: #FFF;
}
.wds-community-header .wds-button.wds-is-secondary svg {
    fill: #FFF;
}
}



Revision as of 06:12, 1 March 2019

/* CSS here will be applied to the main Wikia theme */
@import url("/MediaWiki:Staff.css?action=raw&ctype=text/css");
@import url("/MediaWiki:Item.css?action=raw&ctype=text/css");
@import url("/MediaWiki:ThemeOverride.css?action=raw&ctype=text/css");
@import url("/MediaWiki:Theme_Default.css?action=raw&ctype=text/css");

/* ===== Theme: Chinese New Year ===== */ /*DISABLE
body.mediawiki {
   background: url('https://vignette.wikia.nocookie.net/growtopia/images/5/50/Wiki-background/revision/latest?cb=20190202072059') center bottom fixed repeat !important;
}
/*END*/

/* ===== Theme: Valentine's ===== */ /*DISABLE
body.mediawiki {
   background: #BCA4D4 url('https://vignette.wikia.nocookie.net/growtopia/images/f/f1/Valentine-Background.png/revision/latest?cb=20190208124407') center bottom fixed repeat-x !important;
}
/*END*/

/* ===== General CSS ===== */
.i18ndoc {
    background-color: #FFF77D;
    border-bottom: 1px solid lightgrey;
    font-family: monospace;
    font-size: 8pt;
    height: 140px;
    overflow: auto;
    padding: 3px;
}

/** Better WikiActivity**/
.activityfeed > li {
	border-left: 5px solid #fbfbfb;
	border-radius: 3px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
	margin: 0.5em;
	overflow: hidden;
	padding-left: 3em;
	transition: all 0.3s;
}
.activityfeed > li.activity-type-edit {
	border-left-color: #feaf09;
}
.activityfeed > li.activity-type-new {
	border-left-color: skyblue;
}
.activityfeed > li.activity-type-talk {
	border-left-color: silver;
}
.activityfeed > li.activity-type-categorization {
	border-left-color: #b76801;
}

/* Tabber Design */
.tabbernav {
    font: bold 18px Century Gothic !important;
    border-bottom: 3px solid #229CBC !important;
    padding: 10px 0px !important;
}
.tabbernav a {
    padding: 10px 10px !important;
    margin: 0px !important;
    color: #229CBC !important;
    border: none !important;
    background: transparent !important;
}
.tabberactive a {
    color: white !important;
    background: #229CBC !important;
    border-radius: 8px 8px 0 0;
}
.tabbernav :not(.tabberactive) a:hover {
    background: rgba(35,156,188, 0.2) !important;
    border-radius: 8px 8px 0 0;
}
.tabbertab {
    border: none !important;
    padding: 0px !important;
}

.tabs {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}
.tabs li {
    float: none;
    display: inline-block;
}

/* User Tags */
a.tag {
    color: inherit;
}

/* WPCard */
.wpcard {
    font-family: Century Gothic;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
    color: #000000;
}
.wpcard.style1>.header{
    background-image: url("https://vignette.wikia.nocookie.net/growtopia/images/7/74/Ntbheader.png");
    background-color: #60D7F2;
    background-repeat: no-repeat;
    background-position: right bottom;
    color: #FFFFFF;
    text-shadow: 1.5px 1.5px 1px rgba(0,0,0,0.8);
    padding: 20px 20px 30px;
    text-align: left;
    font-size: 22px;
    position:relative;
}
.wpcard.style1>.header::after{
    content: "";
    display: block;
    width: 100%;
    height: 17px;
    background-image: url("https://vignette.wikia.nocookie.net/growtopia/images/9/96/Dirtlayer.png");
    background-color: #BEE8F1;
    background-repeat: repeat-x;
    position:absolute;
    bottom: 0;
    left: 0;
}
.wpcard.style1>.body {
    padding: 10px 20px;
    background-color: #BEE8F1;
}

/* WPNewsBox */
.newsBox {
    background: #4481A6;
    border-radius: 5px;
    border: 5px solid #89C3D6;
    color: #FFF;
    box-shadow: 3px 3px #000000, 3px 3px #000000 inset;
    font-family: Century Gothic;
    font-weight: bold;
    padding: 5px 15px;
    margin: 0 3px 3px;
    font-size: 16px;
}
.newsBox .header {
    font-size: 32px;
    margin-top: 5px;
}
.newsBox .header .growsprite {
    vertical-align: text-bottom;
    margin-right: 10px;
}
.newsBox .header .growsprite img {
    width: 40px;
}
.newsBox .hover img {
    width: 100%;
    height: auto;
    margin: 10px 0px;
}

.newsBox .colorable .point {
    display:flex;
}
.newsBox .colorable .point .growsprite img {
    margin-right: 5px;
    width: 24px;
}
.newsBox .colorable a {
    background: #89C3D6;
    display: inline-block;
    border-radius: 5px;
    color: #FFF;
    box-shadow: 2px 2px #000000; 
    font-size: 20px;
    padding: 7px;
    text-shadow: 1.5px 1.5px rgba(0,0,0,0.7)
}
.newsBox .colorable a:hover {
    text-decoration: none;
}
.newsBox .colorable a:after {
    display: none;
}

/* Pet Battles */
.petBattle {
    font-family: Century Gothic;
    font-weight: bold;
    margin-bottom: 5px;
    color: #FFFFFF;
    text-shadow: 2px 2px 1px rgba(0,0,0,0.8);
}
 
.petBattle.style1>.Earth{
    width: 100%;
    background-image: url("https://vignette.wikia.nocookie.net/growtopia/images/d/d7/PetEarthbg.png");
    background-color: #2d6023;
    background-repeat: repeat;
    background-position: left top;
    position: relative;
}
 
.petBattle.style1>.Air{
    width: 100%;
    background-image: url("https://vignette.wikia.nocookie.net/growtopia/images/d/dd/Petairbg2.png");
    background-color: #af9e3a;
    background-repeat: repeat;
    background-position: left top;
    position: relative;
}
 
.petBattle.style1>.Water{
    width: 100%;
    background-image: url("https://vignette.wikia.nocookie.net/growtopia/images/4/46/Petwaterbg2.png");
    background-color: #078bc6;
    background-repeat: repeat;
    background-position: left top;
    position: relative;
}
 
.petBattle.style1>.Fire{
    width: 100%;
    background-image: url("https://vignette.wikia.nocookie.net/growtopia/images/9/90/PetFirebg.png");
    background-color: #720909;
    background-repeat: repeat;
    background-position: left top;
    position: relative;
}

/* LightSwitch WIP */
.LSItem {
    width: 100%;
    background-image: url("https://vignette.wikia.nocookie.net/growtopia/images/5/50/Wiki-background/revision/20190202023433");
    background-color: #60D7F2;
    background-repeat: repeat;
    background-position: left bottom;
    position: relative;
}

/* Colorable */
.colorable {
    color:rgb(252,230,186);
    font-family: Century Gothic;
    font-weight: bold;
}
.colorable span[style="0"] {color:rgb(255,255,255);}
.colorable span[style="1"] {color:rgb(173,244,255);}
.colorable span[style="2"] {color:rgb(73,252,0);}
.colorable span[style="3"] {color:rgb(191,218,255);}
.colorable span[style="4"] {color:rgb(255,39,29);}
.colorable span[style="5"] {color:rgb(235,183,255);}
.colorable span[style="6"] {color:rgb(255,202,111);}
.colorable span[style="7"] {color:rgb(230,230,230);}
.colorable span[style="8"] {color:rgb(255,148,69);}
.colorable span[style="9"] {color:rgb(255,238,125);}

.colorable span[style="!"] {color:rgb(209,255,249);}
.colorable span[style="@"] {color:rgb(255,205,201);}
.colorable span[style="#"] {color:rgb(255,143,243);}
.colorable span[style="$"] {color:rgb(255,252,197);}
.colorable span[style="^"] {color:rgb(181,255,151);}
.colorable span[style="&"] {color:rgb(254,235,255);}

.colorable span[style="w"] {color:rgb(255,255,255);}
.colorable span[style="o"] {color:rgb(252,230,186);}
.colorable span[style="b"] {color:rgb(0,0,0);}
.colorable span[style="p"] {color:rgb(255,223,241);}

.colorable span[style="q"] {color:rgb(12,96,164);}
.colorable span[style="e"] {color:rgb(25,185,255);}
.colorable span[style="r"] {color:rgb(111,211,87);}
.colorable span[style="t"] {color:rgb(47,131,13);}
.colorable span[style="a"] {color:rgb(81,81,81);}
.colorable span[style="s"] {color:rgb(158,158,158);}


/* Disclaimer */
.disclaimer {
    background-image: url("https://vignette.wikia.nocookie.net/growtopia/images/e/e7/Disclaimerbackground2222.png");
    background-color: #60D7F2;
    background-repeat: repeat-x;
    background-position: bottom;
}

/* Better Hover */
.hover {
opacity: 1;
transition: opacity 300ms ease-out;
}
.hover:hover {
opacity: 0.5;
}

.ogg_player > div:last-child {
    display: none;
}

/* No-Colour Link (for WPSocialMedia) */
.ncLink a {
    text-decoration: none;
    color: #FFF;
}
.ncLink a:hover {
    text-decoration: none;
}
.ncLink a:after {
    display: none !important;
}

/* Hide the internal page source code viewer */
#editform[action="/wiki/Template:Item/ids?action=submit"] #PermissionsError~#mw-content-text,#ca-viewsource[href="/wiki/Template:Item/ids?action=edit"],#ca-viewsource[href="/wiki/Template:Item/ids?action=edit"]~.wds-dropdown .wds-button{
    display:none;
}
.page-Module_Item_ID #mw-content-text {
    display:none;
}
#editform[action="/wiki/Module:Item/ID?action=submit"] #PermissionsError~#mw-content-text,#ca-viewsource[href="/wiki/Module:Item/ID?action=edit"],#ca-viewsource[href="/wiki/Module:Item/ID?action=edit"]~.wds-dropdown .wds-button{
    display:none;
}
.rc-conntent .mw-changeslist-ns10-Item_ids, .rc-conntent .mw-changeslist-ns10-Item_Data, .rc-conntent .mw-changeslist-ns828-Item_ID, .rc-conntent .mw-changeslist-ns828-Item_Data {
	display:none
}

#tooltip-wrapper .main-tooltip {
    background: rgba(0,0,0,0.5);
    color: #FFF;
    border: none;
}