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

From WPRDC Wiki
Jump to navigation Jump to search
>Tacsipacsi
(Created page with ".tpl-infobox { float: right; clear: right; margin: 0 0 .5em .5em; border-spacing: 0; } .tpl-infobox-header { text-align: left; } .ext-infobox > tbody > tr > td:first-chil...")
 
>Tacsipacsi
(prevent floating on narrow screens)
Line 4: Line 4:
margin: 0 0 .5em .5em;
margin: 0 0 .5em .5em;
border-spacing: 0;
border-spacing: 0;
}
@media (max-width: 719px) {
.tpl-infobox {
float: none;
clear: both;
width: 100%;
margin: 0 0 .5em 0;
}
}
}
.tpl-infobox-header {
.tpl-infobox-header {

Revision as of 22:22, 20 January 2020

.tpl-infobox {
	float: right;
	clear: right;
	margin: 0 0 .5em .5em;
	border-spacing: 0;
}
@media (max-width: 719px) {
	.tpl-infobox {
		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;
}