MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Moved styles from main page to here)
(Made links to discord, reddit, etc. expand on hover)
Line 16: Line 16:


.home-card {
.home-card {
background: #1F262C;
background: var(--background-color-dp-02);
border-radius:12px;
border-radius: 12px;
border: 1px solid var( --border-color-base );
padding: 10px 15px;
padding: 10px 15px;
}
}
Line 66: Line 67:
align-content: center;  
align-content: center;  
flex-direction: column;
flex-direction: column;
transition: transform .2s;
}
.home-social-link:hover {
transform:scale(1.1);
}
}

Revision as of 17:49, 10 April 2022

/* CSS placed here will be applied to all skins */
.mwe-popups.mwe-popups-is-tall .mwe-popups-extract {
    color: black;
}

.mwe-popups.mwe-popups-is-not-tall .mwe-popups-extract {
	color: black;
}

body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-submit #siteSub,
body.page-Main_Page.action-view h1,
body.page-Main_Page.action-submit h1{
    display: none;
}

.home-card {
	background: var(--background-color-dp-02);
	border-radius: 12px;
	border: 1px solid var( --border-color-base );
	padding: 10px 15px;
}

.home-card--col2 {
	grid-column: span 2;
}

.home-card--row4 {
	grid-row: span 4;
}

.home-card-discord {
	color: #ffffff; 
	text-align: center; 
	background: #5865F2; 
	border-radius:12px; 
}

.home-card-reddit {
	color: #ffffff; 
	text-align: center; 
	background: #FF4500; 
	border-radius:12px; 	
}

.home-card-patreon {
	color: #ffffff; 
	text-align: center; 
	background: #FF6871; 
	border-radius:12px; 
}

.home-card-kofi {
	color: #ffffff; 
	text-align: center; 
	background: #52D0FE; 
	border-radius:12px; 	
}

.home-social-link {
	color: #fff; 
	font-weight: bold;
	width:100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-content: center; 
	flex-direction: column;
	transition: transform .2s;
}

.home-social-link:hover {
	transform:scale(1.1);
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.