Module:Infobox/styles.css

From TwentyOneWiki
Jump to navigation Jump to search
/*
 * Infobox stylesheet for 3rd parties who use [[Module:Infobox]]
 * and don't have to worry about manual classes lying around (most of you)
 */
.infobox {
	border: 2px solid #C14424;
	border-spacing: 3px;
	border-radius: 5px 5px;
	background-color: #FFE6CE;
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em;
}

/*
 * not strictly certain .infobox-subbox styles are necessary since the modules
 * now exclusively output infobox-subbox or infobox, not both
 * just replicating the module faithfully
 */
.infobox-subbox {
	padding: 0;
	border: none;
	margin: -3px;
	width: auto;
	min-width: 100%;
	font-size: 100%;
	clear: none;
	float: none;
	background-color: transparent;
}

.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar {
	vertical-align: top;
}

.infobox-label,
.infobox-data {
	/* @noflip */
	text-align: left;
}

.infobox-above,
.infobox-title {
	font-size: 125%;
	font-weight: bold;
	text-align: center;
	border-radius: 2px 2px;
}

.infobox-title {
	padding: 0.2em;
}

.infobox-header,
.infobox-subheader,
.infobox-image,
.infobox-full-data,
.infobox-below {
	text-align: center;
}

.infobox-navbar {
	/* @noflip */
	text-align: right;
}

.infobox .navbar {
	font-size: 100%;
}

.infobox-3cols-child {
	margin: auto;
}