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

From WPRDC Wiki
Jump to navigation Jump to search
>Pppery
m (Protected "Template:Extension/styles.css": Matching protection level with Template:Extension ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
>Lens0021
(reset(normalize) the caption of the table to {text-align:center;}. In MinervaNeue, the caption has no left margin.)
Line 30: Line 30:
margin-top: .2em;
margin-top: .2em;
padding-top: .2em;
padding-top: .2em;
}
.ext-infobox caption {
text-align: center;
}
}

Revision as of 09:19, 26 December 2020

.tpl-infobox {
	float: right;
	clear: 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;
}