The District of Joban Difference between revisions of "MediaWiki:Common.css"

Difference between revisions of "MediaWiki:Common.css"

MediaWiki interface page
m
Line 1: Line 1:
.infobox {
.infobox {
     background: #eee;
     background-color: #ddd;
     border: 1px solid #aaa;
     border: 1px solid #aaa;
     float: right;
     float: right;
Line 26: Line 26:
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
   .infobox {
   .infobox {
     background: hsl(212,15%,17%);
     background-color: #252B32;
     border: 1px solid #aaa;
     border: 1px solid #aaa;
   }
   }
}
}

Revision as of 23:35, 8 April 2022

.infobox {
    background-color: #ddd;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    border-radius: 5px;
    padding: 1em;
    width: 400px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.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;
  }
}