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 10:16, 2 August 2024 by LightSwitch (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: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;
	margin-bottom: 10px;
}

.gtw-card.mp {
	flex: 1;
}

.gtw-card.min-col {
	flex: 2;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 1152px) {
	
	.gtw-card-mainpage-row {
		flex-wrap: wrap;
	}
	
	.gtw-card.mainpage {
		flex-basis: 100%;
	}
}