User:Oznogon/common.css

From PathfinderWiki

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.
/* Collapse navbox lists */
.navbox .navbox-content {
  line-height: 1.3;
}

/* Work around vertical alignment of inline refs */
.reference-group {
  vertical-align: top;
}

/* Fix heading colors being too similar to links */
h2, h3, h4 {
  color: #57160d !important;
}

/* Nostalgia */
html {
  font-size: 1.25rem;
}

html, body {
  font-family: 'Alegreya Sans';
}

h1, h2, h3, h4, .mw-page-title-namespace {
  font-family: Alegreya !important;
  font-weight: bold !important;
  font-variant: inherit;
}

.mw-body {
  margin: 1rem;
}

.mw-body-content {
  font-family: Alegreya !important;
  line-height: 1.4 !important;
}

table, .table, .wikitable, .infobox, .navbox {
  font-family: 'Alegreya Sans' !important;
}

.mw-logo-container img {
  margin-bottom: 0 !important;
  margin-right: 0 !important;
  height: auto !important;
  max-height: 2.25rem;
}


/* Restore alignment grid */
.fw-alignment-grid td {
  text-align: center;
  width: 1.25rem;
  height: 1.25rem;
}

.fw-alignment-on {
  font-weight: bold;
}

/* Limit width */
div.mw-page-container-inner {
  max-width: 90em !important;
  margin: 0 auto;
}

/* Dark mode experiment: https://pathfinderwiki.com/w/index.php?title=User:Oznogon/common.css&oldid=450775 */