Template:Infobox/styles.css

From blackwiki
< Template:Infobox
Revision as of 19:29, 20 November 2018 by imported>Great Brightstar (Small fix)
Jump to navigation Jump to search
/* The width style is limited to tablet and desktop resolutions as 22em is bigger than most mobile screens.
Historically, the mobile skin (Minerva) has used !important to override them but this is not sustainable.*/
@media all and ( min-width: 720px ) {
	.infobox {
		width: 22em;
	}
}
/* The title is usually aligned to the left in the mobile skin, but it makes inconsistent with the desktop 
skin (Vector), this fixes that. */ 
body.skin-minerva table.infobox caption {
	text-align: center;
}