MediaWiki:Common.css: Difference between revisions

From Portland NET Wiki
Jump to navigation Jump to search
team-page-banner: add margin-bottom. Otherwise it bumps into the auto-generated Table of Contents on long pages.
disable WMAU-related changes
 
(9 intermediate revisions by the same user not shown)
Line 6: Line 6:
   height: auto;
   height: auto;
   margin-left: 1em;
   margin-left: 1em;
  vertical-align: top;
}
}


Line 16: Line 17:
   background-color: #ecbf33;
   background-color: #ecbf33;
   font-size: small;
   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 {
.team-page-banner {
  background-color: #e9ae97;
  border-style: solid;
  border-width: 1px;
   margin-bottom: 20px;
   margin-bottom: 20px;
}
}
Line 28: Line 33:
   padding: 10px;
   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;
}
*/

Latest revision as of 15:23, 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 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;
}
*/