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: Difference between revisions

MediaWiki interface page
LightSwitch (talk | contribs)
No edit summary
LightSwitch (talk | contribs)
No edit summary
Line 59: Line 59:
.gtw-discord .joinserver a {
.gtw-discord .joinserver a {
background: #5865F2;
background: #5865F2;
     border-radius: 100%;
     border-radius: 50%;
     color: #FFF;
     color: #FFF;
     display: block;
     display: block;

Revision as of 00:18, 4 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;
    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: 50%;
    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%;
	}
}