MediaWiki:Common.css: Difference between revisions

From Ylvapedia
Jump to navigation Jump to search
(infobox styling basic)
Tag: Reverted
(Undo revision 216 by Hachimitsu (talk))
Tag: Undo
Line 15: Line 15:
.thumb img, .pixelated img {
.thumb img, .pixelated img {
image-rendering: pixelated;
image-rendering: pixelated;
}
/* Infobox template style */
.infobox {
width: 22em;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
text-align: left;
font-size: 88%;
line-height: 1.5em;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
.infobox p {
margin: 0;
}
.infobox-profile-td {
text-align: center;
padding: 0;
}
.profile-imageset {
width: 150px;
}
}

Revision as of 17:02, 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;
}
/* Thumbnails and specified images remain pixelated. */
.thumb img, .pixelated img {
	image-rendering: pixelated;
}