Difference between revisions of "MediaWiki:Common.css"
MediaWiki interface page
Views
Actions
Namespaces
Variants
Tools
AmberFrost (talk | contribs) |
AmberFrost (talk | contribs) |
||
| Line 27: | Line 27: | ||
.infobox-category { | .infobox-category { | ||
text-align: center; | text-align: center; | ||
background-color: # | background-color: #ccc; | ||
font-weight: bold; | font-weight: bold; | ||
border-radius: 5px; | border-radius: 5px; | ||
| Line 38: | Line 38: | ||
} | } | ||
.infobox td { | .infobox td { | ||
font-size: 14px; | |||
vertical-align: top; | vertical-align: top; | ||
text-align: right; | |||
} | } | ||
Revision as of 15:31, 9 April 2022
.infobox {
background-color: #ddd;
color: black;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
border-radius: 7px;
padding: 1em;
width: 250px;
}
.infobox-title {
font-size: 1.5em;
text-align: center;
}
.infobox-stationtype {
font-size: 0.8em;
text-align: center;
}
.infobox-image {
text-align: center;
width:250px;
}
.infobox-imgdesc {
font-size: 0.8em;
text-align: center;
}
.infobox-category {
text-align: center;
background-color: #ccc;
font-weight: bold;
border-radius: 5px;
width: 100%;
}
.infobox th {
text-align: left;
vertical-align: top;
width: 120px;
}
.infobox td {
font-size: 14px;
vertical-align: top;
text-align: right;
}
@media (prefers-color-scheme: dark) {
.infobox {
background-color: #252B32;
border: 1px solid #aaa;
}
}