MediaWiki:Common.css: Difference between revisions

From Ylvapedia
Jump to navigation Jump to search
(optimization, added infobox-classrace and infobox-equipment)
No edit summary
Line 19: Line 19:
.thumb img, .pixelated img {
.thumb img, .pixelated img {
image-rendering: pixelated;
image-rendering: pixelated;
}
/* Front page styling */
.NewsBox {
width: 30%;
border-radius: 20px;
border: 3px solid;
padding: 10px;
}
}

Revision as of 20:20, 1 October 2023

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

/* Main Page title and tagline are centered*/
body.page-Main_Page #firstHeading, #contentSub {
	text-align:center;
}

/* Images viewed in Media Viewer are scaled up and remain pixelated. */
.mw-mmv-image img {
	max-width: 100%;
	height: 100%;
	image-rendering: pixelated;
}
.infobox-profile, .infobox-classrace, .infobox-equipment {
	float: right;
	max-width: 24em;
}
/* Thumbnails and specified images remain pixelated. */
.thumb img, .pixelated img {
	image-rendering: pixelated;
}

/* Front page styling */
.NewsBox {
	width: 30%;
	border-radius: 20px;
	border: 3px solid;
	padding: 10px;
}