MediaWiki:Common.css

From Fancade Wiki
Revision as of 17:33, 13 May 2024 by Nikitaivanov (talk | contribs) (Created page with ".infobox { width: 250px; background-color: #f9f9f9; border: 1px solid #a2a9b1; padding: 5px; font-size: 90%; line-height: 1.5em; float: right; margin: 0 0 1em 1em; } .infobox-title { font-size: 110%; font-weight: bold; text-align: center; background-color: #b0c4de; padding: 5px; border-bottom: 1px solid #a2a9b1; } .infobox-image { text-align: center; margin: 5px 0; } .infobox-caption { font-size: 90%; text-align: center; padding:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 {
  width: 250px;
  background-color: #f9f9f9;
  border: 1px solid #a2a9b1;
  padding: 5px;
  font-size: 90%;
  line-height: 1.5em;
  float: right;
  margin: 0 0 1em 1em;
}

.infobox-title {
  font-size: 110%;
  font-weight: bold;
  text-align: center;
  background-color: #b0c4de;
  padding: 5px;
  border-bottom: 1px solid #a2a9b1;
}

.infobox-image {
  text-align: center;
  margin: 5px 0;
}

.infobox-caption {
  font-size: 90%;
  text-align: center;
  padding: 2px 5px;
}

.infobox-table {
  width: 100%;
  border-collapse: collapse;
}

.infobox-header th {
  background-color: #e6e6e6;
  font-weight: bold;
  text-align: left;
  padding: 5px;
  border-bottom: 1px solid #a2a9b1;
}

.infobox-row td {
  padding: 2px 5px;
  border-bottom: 1px solid #f2f2f2;
}

.infobox-label {
  font-weight: bold;
  background-color: #f2f2f2;
}