MediaWiki:Common.css

From Portland NET Wiki
Revision as of 15:23, 29 August 2025 by HollisBlanchard (talk | contribs) (disable WMAU-related changes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.
/* CSS placed here will be applied to all skins */
.noautonum .tocnumber { display: none; }

.district_logo img {
  max-width: 32px;
  height: auto;
  margin-left: 1em;
  vertical-align: top;
}

.pi-theme-team .pi-title {
  background-color: #d35d30;
  color: white;
}

.pi-theme-neighborhood .pi-title {
  background-color: #ecbf33;
  font-size: small;
}

.pi-theme-neighborhood .pi-data-label {
  /* WMAU skin shrank page width such that "Population" no longer
   * fit in the Neighborhood infobox label without wrapping. Manually
   * expand that here. */
  flex-basis: 100px;
}

.team-page-banner {
  margin-bottom: 20px;
}

.team-page-banner th, td {
  padding: 10px;
}

#iframeframe iframe {
  width: 90%;
  margin-left: 5%;
}

/* WMAU hardcodes some things which we don't like the look of. */
/* Also, there apparently isn't a WMAU.css to put this in. */
/* Disabling until WMAU is the default skin:
table.wikitable {
  margin: inherit;
  font-size: inherit;
}
.toc .tocnumber {
  display: inherit;
}
body {
  font-size: 16px;
}
*/