MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 58: | Line 58: | ||
.infobox .town { | .infobox .town { | ||
background-color: darkslateblue; | background-color: darkslateblue; | ||
color: white; | |||
} | } |
Revision as of 13:00, 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;
}