MediaWiki:Theme.css
MediaWiki interface page
More actions
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:ThemeSwitcher.css?action=raw&ctype=text/css");
@import url("/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;
}
.gtw-card {
background-image: var(--gtw-landscape), var(--gtw-background);
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);
}
.gtw-discord {
background: rgba(35,36,40,1.0);
border-radius: 10px;
box-shadow: 0 2px 2px rgba(0,0,0,0.5);
font-family: Century Gothic, sans-serif;
margin-bottom: 10px;
padding: 25px 40px;
flex: 1;
text-align: center;
}
.gtw-discord 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-discord .servericon img {
border-radius: 20px;
}
.gtw-discord .joinserver a {
background: #5865F2;
border-radius: 25px;
color: #FFF;
display: block;
font-size: 20px;
font-weight: bold;
padding: 10px;
text-align: center;
text-decoration: none;
}
.gtw-discord .joinserver a:hover {
background: rgba(73,82,189,1.0);
text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.gtw-mp-row {
display: flex;
gap: 10px;
}
.gtw-card.mp {
flex: 1;
}
.gtw-card.col-23 {
flex: 2;
}
.gtw-card.col-34 {
flex: 3;
}
/* MEDIA QUERIES */
@media only screen and (max-width: 1152px) {
.gtw-mp-row {
flex-wrap: wrap;
}
.gtw-card.mp {
flex-basis: 100%;
}
.gtw-discord {
flex-basis: 100%;
}
}