MediaWiki:Common.css: Difference between revisions

From Portland NET Wiki
Jump to navigation Jump to search
fix "Population" label wrapping in Neighborhood infoboxes
adjust vertical alignment of District icons in the Neighborhood infobox
Line 6: Line 6:
   height: auto;
   height: auto;
   margin-left: 1em;
   margin-left: 1em;
  vertical-align: top;
}
}



Revision as of 08:44, 28 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%;
}