MediaWiki:Vector.css: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
(Blanked the page)
Tags: Blanking Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
/* 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;
}
.infobox .city {
background-color: dodgerblue;
}
.infobox .forest {
background-color: forestgreen;
}

Revision as of 19:40, 16 May 2022

/* 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;
}

.infobox .city {
	background-color: dodgerblue;
}

.infobox .forest {
	background-color: forestgreen;
}