MediaWiki:Common.css: Difference between revisions

From The Reed and Rite
No edit summary
No edit summary
Line 10: Line 10:
.reference .cite-bracket { font-size: 0; }
.reference .cite-bracket { font-size: 0; }


/* Change reference numbering to lowercase letters (a, b, c, etc.) */
/* Replace the backlink arrow (↑) with a caret (^) */
.references ol {
.mw-cite-backlink a::before {
    list-style-type: lower-alpha !important;
     content: "^";
}
 
/* 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-weight: bold;
     font-size: 90%;
     font-size: 90%;
}
}


/* Hide the original backlink text */
/* Hide the original arrow */
.mw-cite-backlink a {
.mw-cite-backlink a {
     visibility: hidden;
     visibility: hidden;
Line 35: Line 23:


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

Revision as of 23:03, 11 March 2025

/* Justify all text in content area */
#mw-content-text {
    text-align: justify;
}

body {
    background-color: white !important;
}

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

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

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

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