Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 26: Line 26:
background-position: center;
background-position: center;
background-size: contain;
background-size: contain;
}
.mw-logo:hover {
background-image: none !important;
}
}
.skin-citizen-light .mw-logo {
.skin-citizen-light .mw-logo {

Revision as of 16:41, 5 March 2025

/* CSS placed here will be applied to all skins */

/* Remove icons from Extension:AddPersonalUrls */
li[id^="pt-"] {
	background: none !important;
}

/* Normalize icon padding from Extension:AddPersonalUrls */
.mw-list-item {
	padding-left: 15px !important;
}
.mw-list-item > a {
	margin-left: -15px !important;
}

/* Hide drawer icon */
.citizen-drawer__logo {
	display: none;
}

/* Replace global icon */
.mw-logo-icon {
	display: none;
}
.mw-logo {
	background-position: center;
	background-size: contain;
}
.mw-logo:hover {
	background-image: none !important;
}
.skin-citizen-light .mw-logo {
	background-image: url(https://wiki-whidbey-fyi.s3.amazonaws.com/WhidbeyFYI_Icon_Black.png);	
}
.skin-citizen-dark .mw-logo {
	background-image: url(https://wiki-whidbey-fyi.s3.amazonaws.com/WhidbeyFYI_Icon_White.png);	
}
@media screen and (prefers-color-scheme: dark) {
	.skin-citizen-auto .mw-logo {
		background-image: url(https://wiki-whidbey-fyi.s3.amazonaws.com/WhidbeyFYI_Icon_Black.png);	
	}
}
@media screen and (prefers-color-scheme: light) {
	.skin-citizen-auto .mw-logo {
		background-image: url(https://wiki-whidbey-fyi.s3.amazonaws.com/WhidbeyFYI_Icon_White.png);	
	}
}