Difference between revisions of "Template:Extension/styles.css"

From WPRDC Wiki
Jump to navigation Jump to search
>Lens0021
(reset(normalize) the caption of the table to {text-align:center;}. In MinervaNeue, the caption has no left margin.)
>Shirayuki
(reset width)
Line 1: Line 1:
.tpl-infobox {
.tpl-infobox {
width: 513px;
clear: right;
float: right;
float: right;
clear: right;
margin: 0 0 .5em .5em;
margin: 0 0 .5em .5em;
border-spacing: 0;
border-spacing: 0;

Revision as of 08:53, 23 January 2021

.tpl-infobox {
	width: 513px;
	clear: right;
	float: right;
	margin: 0 0 .5em .5em;
	border-spacing: 0;
}
@media (max-width: 719px) {
	.tpl-infobox {
		box-sizing: border-box;
		float: none;
		clear: both;
		width: 100%;
		margin: 0 0 .5em 0;
	}
}
.tpl-infobox-header {
	text-align: left;
}
.ext-infobox > tbody > tr > td:first-child {
	vertical-align: top;
}
.ext-infobox > tbody > tr > td abbr {
	white-space: nowrap;
}
.ext-infobox .mw-collapsible-header,
.ext-infobox .mw-collapsible-toggle {
	font-weight: bold;
}
.ext-infobox .mw-collapsible-content {
	margin-top: .2em;
	padding-top: .2em;
}
.ext-infobox caption {
	text-align: center;
}