Jump to content

MediaWiki:Common.css

From WikiChilopoda
Revision as of 03:52, 31 December 2025 by Mazmurlo (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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.

.infobox {
  float: right;
  clear: right;
  margin: 0 0 1em 1em;
  width: 260px;

  border: 1px solid #a2a9b1;
  background: #f8f9fa;

  font-size: 88%;
  line-height: 1.45;

  border-collapse: collapse;
}

/* Reset all table spacing */
.infobox th,
.infobox td {
  padding: 0.35em 0.4em;
  vertical-align: top;
}

/* Header bars (yellow) */
.infobox-title,
.infobox-section {
  background: #f2f2ce;
  text-align: center;
  font-weight: bold;

  padding: 0.3em 0.25em;

  border-top: 1px solid #a2a9b1;
}

/* Top title should not double-border */
.infobox-title {
  border-top: none;
  font-size: 110%;
}

/* Image row */
.infobox-image {
  background: #ffffff;
  text-align: center;
  padding: 0.5em;
}

/* Left column labels */
.infobox td:first-child {
  width: 40%;
  white-space: nowrap;
}

/* Binomial name block */
.binomial-name {
  text-align: center;
  font-style: italic;
  font-weight: bold;

  padding: 0.45em 0.3em;
}

/* Authority line */
.binomial-name .authority {
  display: block;
  margin-top: 0.15em;

  font-style: normal;
  font-weight: normal;
  font-size: 90%;
}