MediaWiki:Gadget-Common.css

MediaWiki interface page

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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;
}

.center-tabber-tabs a.tabber__tab {
	text-align: center;
}

/* 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;
}

html.skin-theme-clientpref-night body.skin-citizen .invert-dark img {
	filter: invert( 1 ) hue-rotate( 180deg );
}
@media screen and (prefers-color-scheme: dark) {
	.skin-timeless .invert-dark img,
	html.skin-theme-clientpref-os body.skin-citizen .invert-dark img {
		filter: invert( 1 ) hue-rotate( 180deg );
	}
}

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