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

MediaWiki:Gadget-Common.css: Difference between revisions

MediaWiki interface page
(.invert-dark)
(no-rounded-image)
Tags: Mobile edit Mobile web edit
Line 31: Line 31:
filter: invert( 1 ) hue-rotate( 180deg );
filter: invert( 1 ) hue-rotate( 180deg );
}
}
}
.no-rounded-image img {
border-radius: 0;
}
}

Revision as of 13:01, 1 March 2023

/* CSS for everyone, all skins, desktop and mobile. */

@media screen and (max-width: 850px) {
	.collapse-on-mobile {
		display: block;
		width: 100%!important;
	}
}

#n-getsupport {
	font-weight: bold;
}

/* not needed on the Main Page */
.page-Main_Page.approvedRevs-approved #contentSub,
.page-Main_Page.approvedRevs-approved #catlinks {
	display: none;
}

/* image max width (but only sometimes) */
.img-maxwidth img {
	max-width: 100%;
	height: auto;
}

.skin-citizen-dark .invert-dark img {
	filter: invert( 1 ) hue-rotate( 180deg );
}
@media screen and (prefers-color-scheme: dark) {
	.skin-timeless .invert-dark img {
		filter: invert( 1 ) hue-rotate( 180deg );
	}
}

.no-rounded-image img {
	border-radius: 0;
}