MediaWiki:Common.css: Difference between revisions

From Portland NET Wiki
Jump to navigation Jump to search
adjust vertical alignment of District icons in the Neighborhood infobox
don't center wikitables
Line 37: Line 37:
   width: 90%;
   width: 90%;
   margin-left: 5%;
   margin-left: 5%;
}
/* WMAU hardcodes centered (margin: auto) wikitables, which we don't like the look of. */
/* Also, there apparently isn't a WMAU.css to put this in. */
table.wikitable {
  margin: inherit;
}
}

Revision as of 13:49, 29 August 2025

/* 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 centered (margin: auto) wikitables, which we don't like the look of. */
/* Also, there apparently isn't a WMAU.css to put this in. */
table.wikitable {
  margin: inherit;
}