MediaWiki:Common.css

From Anesthesia Wiki
Revision as of 06:08, 13 May 2023 by Danesthesia (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)
  • 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 {
  border: 1px solid #aaa;
  background-color: #f9f9f9;
  margin: 1em 0;
  padding: 0.5em;
  font-size: 90%;
  line-height: 1.5em;
}

.infobox caption {
  font-size: larger;
  font-weight: bold;
}

.infobox th {
  text-align: left;
  vertical-align: top;
  padding-right: 0.5em;
}

.infobox td {
  vertical-align: top;
}

.infobox ul {
  margin: 0;
  padding: 0 0 0 1.2em;
}

.infobox ul li {
  margin: 0.5em 0;
}

.infobox img {
  max-width: 100%;
  height: auto;
}

.infobox-header {
  background-color: #f2f2f2;
  font-weight: bold;
  text-align: center;
  padding: 0.5em;
}

.infobox-header h1, .infobox-header h2 {
  margin: 0;
  font-size: 120%;
}

.infobox-header .nickname {
  font-weight: normal;
  font-style: italic;
}

.infobox-header .motto {
  font-weight: normal;
  font-size: 90%;
  color: #666;
}

.infobox-map {
  border: 1px solid #ccc;
  margin: 0.5em 0;
}