Jump to content

MediaWiki:Common.css: Difference between revisions

From WNN Polka Archive
No edit summary
No edit summary
Line 57: Line 57:
.mw-cite-backlink {
.mw-cite-backlink {
     padding-right: 4px;
     padding-right: 4px;
}
/* Change the reference arrow to a caret */
.mw-cite-backlink a {
    visibility: hidden;
    position: relative;
    font-weight: bold;
}
.mw-cite-backlink a::before {
    content: "^"; /* This puts the caret in */
    visibility: visible;
    position: absolute;
    left: 0;
}
}

Revision as of 23:08, 7 January 2026

/* CSS placed here will be applied to all skins */


.infobox {
  float: right;
  clear: right;
  margin: 0 0 1em 1em;
  padding: 0.2em;
  border: 1px solid #a2a9b1;
  background-color: #f8f9fa;
  font-size: 88%;
  line-height: 1.4em;
  width: 22em;
}

.infobox th {
  background-color: #eaecf0;
  text-align: left;
  padding: 0.2em 0.4em;
  vertical-align: top;
}

.infobox td {
  padding: 0.2em 0.4em;
  vertical-align: top;
}

.infobox caption,
.infobox-title {
  font-weight: bold;
  text-align: center;
  background-color: #eaecf0;
}

.infobox.guest-infobox th {
  background-color: #eaf3ff;
}

.site-disclaimer {
  display: block;
  width: 100%;
  clear: both;
  text-align: center;
  font-size: 0.85em;
  color: #54595d;
  margin-top: 0.75em;
  line-height: 1.4;
  border-top: 1px solid #c8ccd1;
  padding-top: 0.5em;
}
/* Makes the reference list slightly smaller */
.references {
    font-size: 90%;
}

/* Optional: Gives the backlink caret a bit of breathing room */
.mw-cite-backlink {
    padding-right: 4px;
}
/* Change the reference arrow to a caret */
.mw-cite-backlink a {
    visibility: hidden;
    position: relative;
    font-weight: bold;
}

.mw-cite-backlink a::before {
    content: "^"; /* This puts the caret in */
    visibility: visible;
    position: absolute;
    left: 0;
}