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

MediaWiki:Gadget-Common.css

MediaWiki interface page
Revision as of 19:46, 2 May 2024 by Ihaveahax (talk | contribs) (fix accidentally inverting every image if color was set to "Auto")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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