MediaWiki:Theme.css: Difference between revisions
MediaWiki interface page
More actions
LightSwitch (talk | contribs) No edit summary |
LightSwitch (talk | contribs) No edit summary |
||
| Line 79: | Line 79: | ||
@media only screen and (max-width: 1152px) { | @media only screen and (max-width: 1152px) { | ||
.gtw- | .gtw-mp-row { | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
} | } | ||
.gtw-card. | .gtw-card.mp { | ||
flex-basis: 100%; | |||
} | |||
.gtw-discord { | |||
flex-basis: 100%; | flex-basis: 100%; | ||
} | } | ||
} | } | ||
Revision as of 10:22, 2 August 2024
/******************** 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 80px;
flex: 1;
}
.gtw-discord .joinserver a {
background: #5865F2;
border-radius: 10px;
color: #FFF;
display: block;
font-size: 20px;
font-weight: bold;
padding: 10px;
text-align: center;
text-decoration: none;
}
.gtw-discord .joinserver a:hover {
opacity: 0.75;
}
.gtw-mp-row {
display: flex;
gap: 10px;
}
.gtw-card.mp {
flex: 1;
}
.gtw-card.min-col {
flex: 2;
}
/* 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%;
}
}