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
NekoPillow (talk | contribs)
No edit summary
Line 4: Line 4:
   
   
  *************************************************/
  *************************************************/
/* ===== [ Theme Switcher ] ===== */
@import url("/MediaWiki:Theme_Default.css?action=raw&ctype=text/css");
/* ===== Theme: SummerFest ===== */
@import url("/MediaWiki:Theme_SummerFest.css?action=raw&ctype=text/css");
/*END*/
/* ===== 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*/
/* ===== Theme: St. Paddy's ===== */ /*DISABLE
body.mediawiki {
  background: #60D6F2 url('https://vignette.wikia.nocookie.net/growtopia/images/f/f9/Paddy-background.png/revision/latest?cb=20190316122944') center bottom fixed repeat-x !important;
}
/*END*/
/* ===== Theme: Easter ===== */ /*DISABLE
body.mediawiki {
  background: #2280F1 url('https://vignette.wikia.nocookie.net/growtopia/images/c/cf/Spring.jpg/revision/latest?cb=20190421225749') center bottom fixed repeat-x !important;
}
/*END*/
/* ===== Theme: Pineapple ===== */ /*DISABLE
body.mediawiki {
  background: #60D6F2 url('https://vignette.wikia.nocookie.net/growtopia/images/a/ae/Pine-background.png/revision/latest?cb=20190608010648')  center bottom fixed repeat !important;
}
/*END*/
/* ===== Theme: SummerFest ===== */
body.mediawiki {
  background: #010B3C url('https://vignette.wikia.nocookie.net/growtopia/images/9/94/SummerFest_Background.jpg/revision/latest?cb=20190629022637') center bottom fixed repeat-x !important;
}
/*END*/
/* ===== Theme: Thanksgiving ===== */ /*DISABLE
body.mediawiki {
  background: url('https://vignette.wikia.nocookie.net/growtopia/images/d/d0/Thanksgiving_Background.png/revision/latest?cb=20191123040128')  center bottom fixed repeat !important;
}
/*END*/
/* ===== [ Global Style ] ===== */
/* Global Background */
body.mediawiki.skin-oasis {
    background-position: center bottom;
    background-attachment: fixed;
    background-repeat: repeat-x;
}
/* Global Custom Scrollbar */
*::-webkit-scrollbar{background:#FFFFFF}
*::-webkit-scrollbar:vertical{width:13px}
*::-webkit-scrollbar:horizontal{height:13px}
*::-webkit-scrollbar-thumb{background: #229CBC}


/* Home WPCard */
/* Home WPCard */

Revision as of 13:12, 3 July 2020

/******************** Theme.css *******************
  Description:
    This is a stylesheet for wiki theme
 
 *************************************************/
 
/* ===== [ Theme Switcher ] ===== */
@import url("/MediaWiki:Theme_Default.css?action=raw&ctype=text/css");

/* ===== Theme: SummerFest ===== */
@import url("/MediaWiki:Theme_SummerFest.css?action=raw&ctype=text/css");
/*END*/


/* ===== 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*/

/* ===== Theme: St. Paddy's ===== */ /*DISABLE
body.mediawiki {
   background: #60D6F2 url('https://vignette.wikia.nocookie.net/growtopia/images/f/f9/Paddy-background.png/revision/latest?cb=20190316122944') center bottom fixed repeat-x !important;
}
/*END*/

/* ===== Theme: Easter ===== */ /*DISABLE
body.mediawiki {
   background: #2280F1 url('https://vignette.wikia.nocookie.net/growtopia/images/c/cf/Spring.jpg/revision/latest?cb=20190421225749') center bottom fixed repeat-x !important;
}
/*END*/

/* ===== Theme: Pineapple ===== */ /*DISABLE
body.mediawiki {
   background: #60D6F2 url('https://vignette.wikia.nocookie.net/growtopia/images/a/ae/Pine-background.png/revision/latest?cb=20190608010648')  center bottom fixed repeat !important;
}
/*END*/

/* ===== Theme: SummerFest ===== */
body.mediawiki {
   background: #010B3C url('https://vignette.wikia.nocookie.net/growtopia/images/9/94/SummerFest_Background.jpg/revision/latest?cb=20190629022637') center bottom fixed repeat-x !important;
}
/*END*/

/* ===== Theme: Thanksgiving ===== */ /*DISABLE
body.mediawiki {
   background: url('https://vignette.wikia.nocookie.net/growtopia/images/d/d0/Thanksgiving_Background.png/revision/latest?cb=20191123040128')  center bottom fixed repeat !important;
}
/*END*/




/* ===== [ Global Style ] ===== */

/* Global Background */
body.mediawiki.skin-oasis {
    background-position: center bottom;
    background-attachment: fixed;
    background-repeat: repeat-x;
}

/* Global Custom Scrollbar */
*::-webkit-scrollbar{background:#FFFFFF}
*::-webkit-scrollbar:vertical{width:13px}
*::-webkit-scrollbar:horizontal{height:13px}
*::-webkit-scrollbar-thumb{background: #229CBC}

/* Home WPCard */
.wpcard {
    font-family: Century Gothic, sans-serif;
    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;
}

/* Home WPNav */
.wpnav {
    display: flex;
    justify-content: space-between;
}
.wpnav>.wpnav-main {
    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 {
    background-color: rgba(35,156,188, 0.2);
    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;   
}

/* 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%;
}