MediaWiki:Common.css

From The Reed and Rite
Revision as of 04:25, 20 March 2025 by TheRoman (talk | contribs)

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Justify all text in content area */
#mw-content-text {
    text-align: justify;
}

body {
    background-color: white !important;
}

.reference .cite-bracket { font-size: 0; }

/* Style caret symbol (^) to be bold and ensure only one caret appears */
.mw-cite-backlink > a::before {
    content: "^"; /* Ensure only one caret symbol */
    font-weight: bold; /* Makes the caret bold */
}

/* Style the links with lowercase letters for "many" references (bold and italic) */
.mw-cite-backlink > a[rel="mw:referencedBy"]::before {
    content: counter(mw-ref-linkback, lower-alpha); /* Use lowercase alphabetic counter */
    font-size: 80%;  /* Optional: Reduce size of the counter */
    font-weight: bold; /* Bold the counter */
    font-style: italic; /* Italicize the counter */
}

/* Ensure no additional caret is added to the single citation backlink */
.mw-cite-backlink > a:only-child::before {
    content: ""; /* Remove any extra caret for single references */
}

/* Notice */
div.notice {
  text-align: center;
  margin: auto;
  width: 65%;
  padding: 0.5em;
}
div.notice.quality {
  font-style: italic;
}
img.notice {
  width: 1em;
}

/* curved */
.curved {
  border-radius: 10px;
}

/* navigation */
.navigation {
  display: block;
  margin: 1em 40px;
  font-style: italic;
}