Difference between revisions of "MediaWiki:Common.css"
MediaWiki interface page
		Views
Actions
Namespaces
Variants
Tools
AmberFrost (talk | contribs)  | 
				AmberFrost (talk | contribs)   | 
				||
| Line 7: | Line 7: | ||
     border-radius: 7px;  |      border-radius: 7px;  | ||
     padding: 1em;  |      padding: 1em;  | ||
     width:   |      width: 250px;  | ||
}  | }  | ||
.infobox-title {  | .infobox-title {  | ||
     font-size:   |      font-size: 1.5em;  | ||
    text-align: center;  | |||
}  | |||
.infobox-stationtype {  | |||
    font-size: 0.8em;  | |||
     text-align: center;  |      text-align: center;  | ||
}  | }  | ||
.infobox-image {  | .infobox-image {  | ||
     text-align: center;  |      text-align: center;  | ||
     width:  |      width:250px;  | ||
}  | |||
.infobox-imgdesc {  | |||
    font-size: 0.8em;  | |||
    text-align: center;  | |||
}  | |||
.infobox-category {  | |||
    background-color: #aaa  | |||
    font-weight: bold;  | |||
    border-radius: 9px;  | |||
    width: 90%;  | |||
}  | }  | ||
.infobox th {  | .infobox th {  | ||
Revision as of 23:54, 8 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 {
    background-color: #aaa
    font-weight: bold;
    border-radius: 9px;
    width: 90%;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}
@media (prefers-color-scheme: dark) {
  .infobox {
    background-color: #252B32;
    border: 1px solid #aaa;
  }
}