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

MediaWiki:Theme.css: Difference between revisions

MediaWiki interface page
NekoPillow (talk | contribs)
No edit summary
mNo edit summary
 
(120 intermediate revisions by 5 users not shown)
Line 4: Line 4:
   
   
  *************************************************/
  *************************************************/
@import url("/MediaWiki:CenturyGothic.css?action=raw&ctype=text/css");
@import url("/index.php?title=MediaWiki:ThemeSwitcher.css&action=raw&ctype=text/css");
@import url("/index.php?title=MediaWiki:CenturyGothic.css&action=raw&ctype=text/css");


/* Background */
body.mediawiki.skin-oasis {
    background-position: center bottom;
    background-attachment: fixed;
    background-repeat: repeat-x;
}
/* Custom Scrollbar */
*::-webkit-scrollbar {
*::-webkit-scrollbar {
     box-shadow: 0px 0px 2px rgba(0,0,0,0.5) inset;
     box-shadow: 0px 0px 2px rgba(0,0,0,0.5) inset;
    background: var(--scrollbar-background-color);
}
}
*::-webkit-scrollbar:vertical{width:8px}
*::-webkit-scrollbar:vertical{width:8px}
Line 23: Line 16:
     border-radius: 4px;
     border-radius: 4px;
     box-shadow: 0px 0px 2px rgba(0,0,0,0.5), 0px 0px 2px rgba(255,255,255,0.5) inset;
     box-shadow: 0px 0px 2px rgba(0,0,0,0.5), 0px 0px 2px rgba(255,255,255,0.5) inset;
    background: var(--scrollbar-thumb-color);
}
}


/* Hide line in home page */
body {
body.mainpage hr.page-header__separator {
--theme-link-decoration: none;
     display: none;
--theme-page-headings-font: "Century Gothic";
}
body.skin-citizen, button, input, textarea {
     font-family: "Century Gothic", sans-serif;
}
}


/* GTW Card */
.gtw-card {
.gtw-card {
    background-image: linear-gradient(#60D7F2,#0b6d83);
background-image: var(--gtw-landscape), var(--gtw-background);
background-size: 1024px 80px, auto;
     background-position: bottom center;
     background-position: bottom center;
     background-repeat: repeat-x;
     background-repeat: repeat-x;
     border-radius: 20px;
     border-radius: 10px;
     box-shadow: 0 2px 2px rgba(0,0,0,0.5);
     box-shadow: 0 2px 2px rgba(0,0,0,0.5);
     color: #FFF;
     color: #FFF;
     font-family: Century Gothic, sans-serif;
     font-family: "Century Gothic", sans-serif;
     margin-bottom: 5px;
     margin-bottom: 10px;
     padding: 25px 40px 80px;
     padding: 25px 40px 80px;
     text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
     text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
}
}
.gtw-card h2 {
    border: none;
    font-size: 35px;
    font-weight: bold;
    line-height: 35px;
    margin: 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.gtw-nav a {
    color: #FFFFFF;
    border: 2px solid #FFF;
    padding: 10px;
}
.gtw-nav a span:before {
    content: "";
    background: url("https://vignette.wikia.nocookie.net/growtopia/images/8/8f/ItemSprites.png");
    width: 32px;
    height: 32px;
    display: block;
    background-position: -attr(class px) -attr(style px);
}


/* Home WPCard */
/************************************** COLORABLES **************************************/
.wpcard {
.colorable {
    color:rgb(252,230,186);
     font-family: Century Gothic, sans-serif;
     font-family: Century Gothic, sans-serif;
     font-weight: bold;
     font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
    color: #000000;
}
.wpcard>.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>.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>.header>.image {
    text-align: center;
    width: 100%;
    display: block;
}
.wpcard>.header>h2{
    font-size: 25px;
    line-height: 25px;
    text-align: center;
    border: none;
    margin: 0;
}
.wpcard>.body {
    padding: 10px 20px;
    background-color: #BEE8F1;
    text-align: center;
}
}
.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);}


.wpcard.large {
.colorable span[style="w"] {color:rgb(255,255,255);}
    background-image: url("https://vignette.wikia.nocookie.net/growtopia/images/e/e7/Disclaimerbackground2222.png");
.colorable span[style="o"] {color:rgb(252,230,186);}
    background-color: #60D7F2;
.colorable span[style="b"] {color:rgb(0,0,0);}
    background-repeat: repeat-x;
.colorable span[style="p"] {color:rgb(255,223,241);}
    background-position: bottom;
    padding: 50px 50px 150px;
    text-align: center;
    color: #FFFFFF;
    font-size: 16px;
    text-shadow: 1.5px 1.5px 1px rgba(0,0,0,0.8);
}


 
.colorable span[style="q"] {color:rgb(12,96,164);}
/* Home WPNav */
.colorable span[style="e"] {color:rgb(25,185,255);}
.wpnav {
.colorable span[style="r"] {color:rgb(111,211,87);}
    display: flex;
.colorable span[style="t"] {color:rgb(47,131,13);}
    justify-content: space-between;
.colorable span[style="a"] {color:rgb(81,81,81);}
}
.colorable span[style="s"] {color:rgb(158,158,158);}
.wpnav>.wpnav-main {
.colorable span[style="c"] {color:#50ffff;}
    width: 50%;
    margin-right: 10px;
}
.wpnav>.wpnav-side {
    width: 50%;
}
.wpnav .wpnav-header {
    background-color: #239CBC;
    color:#FFFFFF;
    font-size:20px;
    padding: 10px;
}
.wpnav .wpnav-body {
    color:#000000;
    display: flex;
    flex-wrap: wrap;
}
.wpnav .wpnav-body>div {
    padding: 5px 0;
}
.wpnav>.wpnav-main .wpnav-body>div {
    width: 50%;
}
.wpnav>.wpnav-side .wpnav-body>div {
    width: 50%;
}
.wpnav .wpnav-body>div img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}
.wpnav .wpnav-body>div b {
    display: block; 
    color: #FFF;
}
 
/* Home NewsBox */
.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, sans-serif;
    font-weight: bold;
    padding: 5px 15px;
    margin: 0 3px 3px;
    font-size: 20px;
    text-align: left;
}
.newsBox .header {
    font-size: 32px;
    margin-top: 5px;
    margin-bottom: 10px;
}
.newsBox .header .growsprite {
    vertical-align: text-bottom;
    margin-right: 10px;
}
.newsBox .header .growsprite img {
    width: 40px;
}
.newsBox img {
    transition: opacity 0.2s;
}
.newsBox img:hover {
    opacity: 0.7;
}
 
.newsBox .colorable .point {
    display:flex;
}
.newsBox .colorable .point .growsprite img {
    margin-right: 5px;
    width: 24px;
}
.newsBox .flex-img p {
    display: flex;
    margin: 20px 0;
}
.newsBox .flex-img a {
    display: block;
}
.newsBox .flex-img a:not(:last-child) {
    padding-right: 10px;
}
.newsBox .flex-img a img {
    width: 100%;
    height: auto;
}
.newsBox .flex-img.col-3 a {
    width: 33%;
}
.newsBox .flex-img.col-5 a {
    width: 20%;
}

Latest revision as of 22:05, 11 January 2026

/******************** Theme.css *******************
  Description:
    This is a stylesheet for wiki theme
 
 *************************************************/
@import url("/index.php?title=MediaWiki:ThemeSwitcher.css&action=raw&ctype=text/css");
@import url("/index.php?title=MediaWiki:CenturyGothic.css&action=raw&ctype=text/css");

*::-webkit-scrollbar {
    box-shadow: 0px 0px 2px rgba(0,0,0,0.5) inset;
    background: var(--scrollbar-background-color);
}
*::-webkit-scrollbar:vertical{width:8px}
*::-webkit-scrollbar:horizontal{height:8px}
*::-webkit-scrollbar-thumb {
    border-radius: 4px;
    box-shadow: 0px 0px 2px rgba(0,0,0,0.5), 0px 0px 2px rgba(255,255,255,0.5) inset;
    background: var(--scrollbar-thumb-color);
}

body {
	--theme-link-decoration: none;
	--theme-page-headings-font: "Century Gothic";
}
body.skin-citizen, button, input, textarea {
    font-family: "Century Gothic", sans-serif;
}

.gtw-card {
	background-image: var(--gtw-landscape), var(--gtw-background);
	background-size: 1024px 80px, auto;
    background-position: bottom center;
    background-repeat: repeat-x;
    border-radius: 10px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.5);
    color: #FFF;
    font-family: "Century Gothic", sans-serif;
    margin-bottom: 10px;
    padding: 25px 40px 80px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
}

/************************************** COLORABLES **************************************/
.colorable {
    color:rgb(252,230,186);
    font-family: Century Gothic, sans-serif;
    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);}
.colorable span[style="c"] {color:#50ffff;}