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

From WPRDC Wiki
Jump to navigation Jump to search
>Tacsipacsi
(prevent floating on narrow screens)
>TheDJ
m (set border box)
Line 7: Line 7:
@media (max-width: 719px) {
@media (max-width: 719px) {
.tpl-infobox {
.tpl-infobox {
box-sizing: border-box;
float: none;
float: none;
clear: both;
clear: both;

Revision as of 20:20, 3 February 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;
}