MediaWiki:Common.css

From Red Star Games Compendium
Revision as of 23:15, 3 May 2025 by Wolk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.
/* CSS placed here will be applied to all skins */
.infobox {
  float: right;
  width: 250px;
  margin: 5px;
  border: none;
  border-collapse: collapse;
  font-size: 0.9em;
}

.infobox td, .infobox th {
  padding: 3px;
  border: 1px solid lightgray;
}

.infobox .infoboxImage {
  text-align: center;
}

.infobox .infoboxName {
  height: 25px;
  font-size: 1.2em;
  font-variant: small-caps;
}

.infobox tr {
  border: none;
  margin: 0;
  padding: 0;
}

.infobox .infoboxParent {
  font-size: 1.1em;
  font-variant: small-caps;
}

.infobox .infoboxCase {
  background-color: #EEEEF0;
  color: black;
  font-weight: bolder;
}

.infobox .infoboxParent, .infobox .infoboxName {
  background-color: #111;
  color: white;
}

.infobox .infoboxParent a {
  color: white !important;
  text-decoration: none;
}

.infobox .infoboxDual {
  text-align: center;
}

.infobox a {
  color: currentColor;
  font-weight: bold;
}

/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
.wikitable th,
.prettytable th {
    background: #f2f2f2;
    text-align: center;
}
.wikitable caption,
.prettytable caption {
    font-weight: bold;
}

/* references styling */
.references-div {
  font-size: 0.75em;
}

sup.reference {
  user-select: none;
}