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

MediaWiki interface page
Revision as of 16:10, 3 July 2020 by NekoPillow (talk | contribs)

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.
/******************** Theme.css *******************
  Description:
    This is a stylesheet for wiki theme
 
 *************************************************/
@import url("/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 {
    box-shadow: 0px 0px 2px rgba(0,0,0,0.5) inset;
}
*::-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;
}

/* Hide line in home page */
body.mainpage hr.page-header__separator {
    display: none;
}

/* GTW Card */
.gtw-card {
    background-image: linear-gradient(#60D7F2,#0b6d83);
    background-position: bottom center;
    background-repeat: repeat-x;
    border-radius: 20px;
    color: #FFF;
    font-family: Century Gothic, sans-serif;
    padding: 25px 40px 80px;
    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);
}


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


.wpcard.large {
    background-image: url("https://vignette.wikia.nocookie.net/growtopia/images/e/e7/Disclaimerbackground2222.png");
    background-color: #60D7F2;
    background-repeat: repeat-x;
    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);
}


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