MediaWiki:Common.css

From The Reed and Rite
Revision as of 22:58, 11 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; }

/* Change reference numbering to lowercase letters (a, b, c, etc.) */
.references ol {
    list-style-type: lower-alpha !important;
}

/* Ensure superscript reference numbers also use letters */
sup a[href^="#cite_ref-"]::before {
    content: attr(href);
    counter-increment: cite-counter;
    content: counter(cite-counter, lower-alpha);
}

/* Replace the default backlink arrow (↑) with a bold caret (^) */
.mw-cite-backlink a::after {
    content: " ^";
    font-weight: bold;
    font-size: 90%;
}

/* Hide the original backlink text */
.mw-cite-backlink a {
    visibility: hidden;
}

/* Make the caret visible */
.mw-cite-backlink a::after {
    visibility: visible;
}