MediaWiki:Common.css

From Pittsburgh Streets

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.
/* CSS placed here will be applied to all skins */

.all-small {
  font-variant-caps: all-small-caps;
}

.big {
  font-size: larger;
}

.block-indent {
  padding-left: 3em;
}

.bold {
  font-weight: bold;
}

.documentation {
  background-color: aliceblue;
  border: 1px solid #a2a9b1;
  box-sizing: border-box;
  clear: both;
  margin: 1em auto 0;
  padding: 1ex 1em;
  width: 100%;
}

.fact {
  background-color: #fdf7ce;
  border: 1px solid black;
  margin: 0.5em 0;
  padding: 1ex 1em;
  width: 326.797px;
}

.fact-container {
  /* div on the main page that holds the random fact */
  clear: right;
  float: right;
}

.fact-container .fact {
  margin-left: 1em;
}

.fact-heading {
  font-size: 120%;
  font-weight: bold;
  text-align: center;
}

.fact-random {
  margin-right: 1em;
  text-align: right;
}

.former-name-redirect {
  float: right;
  margin: 0 0.5em;
}

.former-name-redirect-check-failed a {
  color: orange !important;
}

.infobox {
  background-color: #f8f9fa;
  border: 1px solid #a2a9b1;
  border-spacing: 3px;
  color: black;
  margin: 0.5em 0 0.5em 1em;
  padding: 0.2em;
  float: right;
  clear: right;
  font-size: 88%;
  line-height: 1.5em;
  width: 326.797px;
}

.infobox-title,
.infobox-header {
  background-color: #0056c1;
  color: white;
  font-weight: bold;
  text-align: center;
}

.infobox-title {
  font-size: 125%;
  padding: 0.2em;
}

.mw-parser-output .content-table .infobox .infobox-header a {
  color: white;
}

.infobox-header {
  line-height: 1.5em;
}

.infobox-image {
  text-align: center;
}

.infobox-label {
  white-space: nowrap;
}

.infobox-label,
.infobox-data {
  text-align: left;
  vertical-align: top;
}

.italic {
  font-style: italic;
}

.navbox {
  background-color: #f8f9fa;
  border: 1px solid #a2a9b1;
  box-sizing: border-box;
  clear: both;
  font-size: 88%;
  margin: 1em auto 0;
  padding: 1px;
  text-align: center;
  width: 100%;
}

.navbox-title,
.navbox-group {
  background-color: #bdf;
}

.navbox-title {
  font-size: 113%;
  padding: 0.2em;
}

.navbox-group {
  padding: 0.2em 0.5em;
  text-align: right;
  white-space: nowrap;
  width: 1%;
}

.notes-list .references {
  list-style-type: inherit;  /* Enable custom list style types */
}

.references {
  font-size: 90%;
}

.sic {
  text-decoration: underline dotted;
}

.small {
  font-size: smaller;
}

.small-caps {
  font-variant: small-caps;
}

.source-anchors, .source-content {
  border: 1px solid;
  box-sizing: border-box;
  clear: both;
  margin: 1em auto 0;
  padding: 1ex 1em;
  width: 100%;
}

.source-anchors {
  background-color: whitesmoke;
  border-color: darkgray;
}

.source-content {
  background-color: linen;
  border-color: saddlebrown;
}

.source-content blockquote {
  border: 0;
  font-size: 92%;
  padding: 0;
}

.source-content blockquote blockquote {
  font-size: 100%;
}

.source-name {
  color: silver;
  white-space: nowrap;
}

.start-box {
  font-size: 88%;
  text-align: right;
}

.todo {
  border: 1px solid #a2a9b1;
  background-color: #f8f9fa;
  margin: 0 auto 1em;
  padding: 1ex 1em;
}

.todo-heading {
  font-weight: bold;
  font-size: 120%;
}

/* Styles used in transcriptions of newspaper articles */

.kicker {
  font-size: 130%;
  font-style: italic;
  font-weight: bold;
  margin: 1ex 0;
  text-decoration: underline;
}

.headline {
  font-size: 170%;
  font-weight: bold;
  margin-bottom: 1ex;
}

.deck {
  font-size: 130%;
  font-weight: bold;
  margin: 1ex 0;
}

.byline {}
.sub-byline {
  font-weight: normal;
}

.headline, .deck, .byline { /* .sub-byline is a <span> inside .byline */
  text-align: center;
}
.headline.leftalign, .deck.leftalign, .byline.leftalign {
  text-align: left;
}

.headline.dashafter, .deck.dashafter {
  margin-bottom: 0;
  margin-top: 0;
}
.headline.dashafter::after, .deck.dashafter::after {
  content: '⸻';
  display: block;
  font-weight: normal;
}
.headline.dashafter::after {
  font-size: 58.82%; /* 1/1.7 */
}
.deck.dashafter::after {
  font-size: 76.92%; /* 1/1.3 */
}

.subhead {
  margin: 1em 0;
  text-align: center;
}
.subhead.leftalign {
  text-align: left;
}

/* Horizontal lists */

.hlist ul {
  margin: 0;
  padding: 0;
}

.hlist li {
  display: inline;
  margin: 0;
}

.hlist li:after {
  content: " · ";
  font-weight: bold;
}

.hlist li:last-child:after {
  content: none;
}

/* Hide things for anonymous visitors. Made visible again for logged-in users in MediaWiki:Group-user.css. */
.user-show {
	display: none;
}