Difference between revisions of "MediaWiki:Common.css"
MediaWiki interface page
Views
Actions
Namespaces
Variants
Tools
AmberFrost (talk | contribs) |
AmberFrost (talk | contribs) |
||
| Line 32: | Line 32: | ||
border-radius: 5px; | border-radius: 5px; | ||
width: 100%; | width: 100%; | ||
} | |||
.infobox tr { | |||
outline: thin solid; | |||
outline-color: #ccc; | |||
} | } | ||
.infobox th { | .infobox th { | ||
| Line 45: | Line 49: | ||
vertical-align: top; | vertical-align: top; | ||
text-align: right; | text-align: right; | ||
} | } | ||
Revision as of 21:31, 9 April 2022
.infobox {
background-color: #eee;
color: black;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
border-radius: 9px;
width: 250px;
border-collapse: collapse;
}
.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 tr {
outline: thin solid;
outline-color: #ccc;
}
.infobox th {
font-size: 14px;
text-align: left;
vertical-align: top;
width: 120px;
border-bottom: 1px solid #ccc;
}
.infobox td {
border-bottom: 1pt solid #ccc;
font-size: 14px;
vertical-align: top;
text-align: right;
}
.mwe-popups .mwe-popups-extract {
color: black !important;
}
.mwe-popups:active .mwe-popups-extract[dir='ltr']:after {
background: transparent !important;
}
.mwe-popups:hover .mwe-popups-extract[dir='ltr']:after {
background: transparent !important;
}
.mwe-popups .mwe-popups-extract[dir='ltr']:after {
background: transparent !important;
}
@media (prefers-color-scheme: dark) {
.infobox {
background-color: #222 !important;
color: white;
}
}