MediaWiki:Gadget-GlobalStyle.css: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 28: Line 28:


/* Image upscaling */
/* Image upscaling */
img {
img, .results .list-thumb:not(.list-thumb-none),
.ext-related-articles-card-thumb:not(.ext-related-articles-card-thumb-placeholder) {
image-rendering: crisp-edges;
image-rendering: crisp-edges;
image-rendering: pixelated;
image-rendering: pixelated;
}
}

Revision as of 13:28, January 21, 2021

/* CSS placed here will be applied to all skins on both desktop and mobile
   The "mobile" body class can be used to target mobile specifically */

body.anon.ns-content.action-view.mobile #stub,
body.anon.ns-content.action-view .notice-template:not(.show) {
	display: none !important;
}
body.anon.ns-content.action-view:not(.mobile) .notice-template.show {
	margin-top: 0 !important;
}

/* SiteNotice */
#localNotice a.external {
	padding: 0 !important;
	background: none !important;
}

/* Special:Preferences */
#mw-htmlform-mobile .oo-ui-inline-help {
	display: none;
}

/* Galleries */
.gallery.center {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Image upscaling */
img, .results .list-thumb:not(.list-thumb-none),
.ext-related-articles-card-thumb:not(.ext-related-articles-card-thumb-placeholder) {
	image-rendering: crisp-edges;
	image-rendering: pixelated;
}