MediaWiki:Vector.css: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 22: Line 22:
.infobox td,
.infobox td,
.infobox th {
.infobox th {
padding: 0.2em 0.6em 0.2em 0.6em;
padding: 0.1em 0.6em 0.1em 0.6em;
vertical-align: top;
vertical-align: top;
text-align: left;
text-align: left;
Line 28: Line 28:
.infobox .mergedtoprow td,
.infobox .mergedtoprow td,
.infobox .mergedtoprow th {
.infobox .mergedtoprow th {
padding-top: 0.4em;
padding-top: 0.2em;
}
}
.infobox .mergedbottomrow td,
.infobox .mergedbottomrow td,
.infobox .mergedbottomrow th {
.infobox .mergedbottomrow th {
padding-bottom: 0.4em;
padding-bottom: 0.2em;
}
}

Revision as of 19:00, 22 March 2021

/* All CSS here will be loaded for users of the Vector skin */
.infobox {
	float: right;
	clear: right;
	border: 1px solid #aaa;
	border-collapse: collapse;
	background-color: #eee;
	margin: 0 0 0.5em 0.5em;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em;
}
.infobox .mergedtoprow {
	border-top: 1px solid #aaa;
}
.infobox .mergedrow {
	border: none;
}
.infobox .mergedbottomrow {
	border-bottom: 1px solid #aaa;
}
.infobox td,
.infobox th {
	padding: 0.1em 0.6em 0.1em 0.6em;
	vertical-align: top;
	text-align: left;
}
.infobox .mergedtoprow td,
.infobox .mergedtoprow th {
	padding-top: 0.2em;
}
.infobox .mergedbottomrow td,
.infobox .mergedbottomrow th {
	padding-bottom: 0.2em;
}