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

MediaWiki:Theme2.css

MediaWiki interface page
Revision as of 09:11, 11 March 2022 by Vijuki (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
 
 *************************************************/
 /* temp fix for header */
body .fandom-community-header__background {
  background: linear-gradient(0deg, rgb(var(--theme-body-background-color--rgb)), transparent), var(--theme-body-background-image) no-repeat
}

/* GTW Card */
.gtw-card.card-center {
    text-align: center;
}
.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-card p.gtw-text-mb {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 20px;
}
.gtw-card a {
    color: #FC0;
    font-style: normal;
    text-decoration: none;
}
.gtw-card .gtw-btn a {
    border-radius: 10px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.5);
    color: #FFF;
    display: block;
    font-size: 20px;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    text-decoration: none;
}
.gtw-card .gtw-btn a:after {
    display: none;
}

.gtw-nav.full-width a {
    margin: 3px 0;
    padding: 3px 12px;
    text-align: left;
    width: 100%;
}
.gtw-nav>p {
    display: flex;
    flex-wrap: wrap;
}
.gtw-nav a {
    border: 3px solid #FFF;
    border-radius: 10px;
    box-shadow: 0 3px 0px rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin: 5px;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    text-shadow: 1.5px 1.5px rgba(0,0,0,0.7);
    transition: opacity 0.2s;
}
.gtw-nav a:hover {
    opacity: 0.75;
}
.gtw-nav a span {
    background: url("https://vignette.wikia.nocookie.net/growtopia/images/8/8f/ItemSprites.png/revision/latest?fill=h");
    display: inline-block;
    height: 32px;
    width: 32px;
    vertical-align: middle;
    margin-right: 5px;
}
#gtw-clock #c-event {
	margin-top: 10px;
}
#gtw-clock #c-event.loading {
	display: none;
}
.gtw-timer {
	margin: 5px 0;
	padding: 5px 0px;
	position: relative;
	background: rgba(0,0,0,0.15);
}
.gtw-timer>span {
    background: url("https://vignette.wikia.nocookie.net/growtopia/images/8/8f/ItemSprites.png/revision/latest?fill=h");
    display: inline-block;
    height: 32px;
    width: 32px;
    position: absolute;
    top: 5px;
    left: 10px;
}
.gtw-timer h3 {
	margin: 0;
	font-size: 13px;
	font-weight: bold;
}
.gtw-timer div {
	font-size: 12px;
}
.gtw-card .ajax-poll {
    border: 0;
    padding: 0;
}
.gtw-card .ajax-poll .header {
    font-size: 17px;
}
.gtw-card .ajax-poll .pollAnswerName {
    padding-left: 0;
}
.gtw-card .ajax-poll .pollAnswerName input[type=radio] {
    margin-left: 0;
}
.gtw-card .ajax-poll .pollAnswerVotes {
    background: rgba(0, 0, 0, 0.5);
    border: 0;
    height: 5px;
    margin-left: 0;
}
.gtw-card .ajax-poll .pollAnswerVotes div {
    background: #FFFFFF;
    height: 5px;
}
.gtw-card .ajax-poll .pollAnswerVotes span {
    bottom: 0;
    font-weight: bold;
    left: auto;
    right: 0;
    top: auto;
}
.gtw-card .ajax-poll .pollAnswerVotes:hover span {
    bottom: auto;
    color: #FF9900;
    text-shadow: 2px 0 #000, 0 2px #000, 0 -2px #000, -2px 0 #000, 1px 1px #000, 1px -1px #000, -1px 1px #000, -1px -1px #000;
    top: -250%;
}
.gtw-card .ajax-poll input[type="submit"] {
    background-image: none;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 0 2px 2px rgba(0,0,0,0.5);
    font-family: Century Gothic, sans-serif;
    font-size: 20px;
    font-weight: bold;
    height: auto;
    margin-top: 5px;
    outline: none;
    padding: 10px;
    text-transform: uppercase;
    width: 100%;
}
.gtw-card .ajax-poll input[type="submit"]:hover {
    background-image: none;
}
.gtw-card .ajax-poll #ajax-poll-area > div:last-child {
    font-size: 12px;
    line-height: 12px;
}

.gtw-discord {
    border-radius: 20px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.5);
    margin-bottom: 10px;
    overflow: hidden;
}
.rcs-container .gtw-card {
    padding: 25px 25px 80px;
}

/* 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 div:not(.flex-img)>p>a {
    color: #FFF;
    background: #89C3D6;
    display: inline-block;
    box-shadow: 1px 1px #000000;
    padding: 7px 5px;
    text-shadow: 1px 1px #000;
    border-radius: 3px;
    text-decoration: none;
    font-size: 22px;
}
.newsBox div:not(.flex-img)>p>a:after {
    display: none;
}

.newsBox .colorable .point {
    display:flex;
}
.newsBox .colorable .point .growsprite img {
    margin-right: 5px;
    width: 24px;
}
.newsBox .colorable span, .newsBox .colorable a, .newsBox .colorable p {
	font-weight: bold;
}
.newsBox .flex-img p {
    display: flex;
    margin: 20px -6px;
}
.newsBox .flex-img a {
    display: block;
    margin: 0 5px;
}
.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%;
}


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