MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
m (Fixed discord link color)
(Added comments to stylesheet and removed weird line from user profiles)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Makes page previews use dark/light mode */
.mwe-popups-container {
.mwe-popups-container {
background: var(--background-color-dp-02) !important;
background: var(--background-color-dp-02) !important;
Line 5: Line 6:
}
}


/* Makes wiki logo fully opaque rather than partially transparent */
.mw-logo-icon {
.mw-logo-icon {
opacity: 1.0 !important;
opacity: 1.0 !important;
}
}


/* Hide page header on main page */
body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-submit #siteSub,
body.page-Main_Page.action-submit #siteSub,
Line 16: Line 19:
}
}


/* Styles for cards on home page */
.home-card {
.home-card {
background: var(--background-color-dp-02);
background: var(--background-color-dp-02);
Line 79: Line 83:
.home-social-link:hover {
.home-social-link:hover {
transform:scale(1.1);
transform:scale(1.1);
}
/* Styles for user profiles */
#profile-top {
border-bottom: 0;
}
}

Revision as of 21:01, 10 April 2022

/* CSS placed here will be applied to all skins */
/* Makes page previews use dark/light mode */
.mwe-popups-container {
	background: var(--background-color-dp-02) !important;
    color: var(--color-base)!important;
}

/* Makes wiki logo fully opaque rather than partially transparent */
.mw-logo-icon {
	opacity: 1.0 !important;
}

/* Hide page header on main page */
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;
}

/* Styles for cards on home page */
.home-card {
	background: var(--background-color-dp-02);
	border-radius: 12px;
	border: 1px solid var( --border-color-base );
	padding: 10px 15px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04), 0 3px 6px rgba(0, 0, 0, 0.06);
}

.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-discord a {
	color: #ffffff;
}

.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;
	transition-timing-function: ease;
}

.home-social-link:hover {
	transform:scale(1.1);
}

/* Styles for user profiles */
#profile-top {
	border-bottom: 0;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.