Template:MinorNation/styles.css

From Kerbal Powers Wiki
Jump to navigation Jump to search
/* {{pp-template}} */
/* 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.*/

.infobox {
 float: right;
 clear: right;
 margin-bottom: 0.5em;
 margin-left: 1em;
 padding: 0.2em;
 border: 1px solid #a2a9b1;
 background: #f8f9fa;
 color: black;
 max-width: 150px;
}

.infobox td,
.infobox th {
 vertical-align: top;
 max-width: 150px;
}

.infobox caption {
	font-size: larger;
	margin-left: inherit;
}
.infobox.bordered {
	border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
	border: 0;
}