The District of Joban MediaWiki:Common.css

MediaWiki:Common.css

MediaWiki interface page
Revision as of 15:49, 9 April 2022 by LX86 (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
.infobox {
    background-color: #ddd;
    color: black;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 0.5em 0.5em;
    padding: 0.5em;
    border-radius: 9px;
    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 {
    border-bottom: 1px solid #ccc;
    font-size: 14px;
    text-align: left;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    border-bottom: 1px solid #ccc;
    font-size: 14px;
    vertical-align: top;
    text-align: right;
}

@media (prefers-color-scheme: dark) {
  .infobox {
    background-color: #252B32;
    border: 1px solid #aaa;
  }
}