Jump to content

MediaWiki:Common.css

From Echols Wiki

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.
/* CSS placed here will be applied to all skins */

/* Template:Infobox person */
.infobox-person {
  width: 300px;
  float: right;
  clear: right;
  margin: 0 0 1em 1em;
  font-size: 90%;
  border: 1px solid var(--border-color-base, #a2a9b1);
  background: var(--background-color-base, #fff);
  color: var(--color-base, #202122);
}

.infobox-person__title {
  text-align: center;
  font-size: 125%;
  background: var(--background-color-interactive-subtle, #eaecf0);
}

.infobox-person th {
  text-align: left;
  font-weight: bold;
}

/* Remove spacing for the first couple <p> right after the infobox */
.infobox-person + p,
.infobox-person + p + p {
  margin: 0;
}
.infobox-person + p br,
.infobox-person + p + p br {
  display: none;
}