MediaWiki:Vector.css: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 59: Line 59:
background-color: darkslateblue;
background-color: darkslateblue;
color: white;
color: white;
}
.infobox .capital {
background-color: gold;
}
}

Revision as of 13:01, 24 June 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: 25em;
}
.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;
}
.infobox .name {
	font-size: 150%;
	padding-top: 0.4em;
	padding-bottom: 0.4em;
}
.infobox .title {
	padding-top: 0.4em;
	font-weight: bold;
}
.infobox th {
	width: 8.14em;
}

.infobox .continent {
	background-color: goldenrod;
}

.infobox .country {
	background-color: cornsilk;
}

.infobox .town {
	background-color: darkslateblue;
	color: white;
}

.infobox .capital {
	background-color: gold;
}