MediaWiki:Common.css

From Agropelter Archives
Revision as of 00:31, 29 September 2025 by ChiefAgropelter (talk | contribs)
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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Container just to float the whole box */
.infobox {
  float: right;
  margin: 0 0 1em 1em;
  width: 400px;           /* adjust width */
}

/* The table inside */
.infobox-table {
  border: 1px solid #aaa;
  background: #f9f9f9;
  font-size: 90%;
  line-height: 1.4em;
  width: 100%;
  border-collapse: collapse;
}

/* Title bar */
.infobox-title {
  text-align: center;
  background: #829682;    /* default header color */
  color: white;
  font-size: 110%;
  padding: 0.25em 0;
}

/* Labels and values */
.infobox-table th,
.infobox-table td {
  text-align: left;
  padding: 4px 6px;
  vertical-align: top;
  border-top: 1px solid #ddd;
}