MediaWiki:Common.css: Difference between revisions

From The Reed and Rite
No edit summary
No edit summary
Line 19: Line 19:
     counter-increment: cite-ref-counter;
     counter-increment: cite-ref-counter;
     content: counter(cite-ref-counter, lower-alpha);
     content: counter(cite-ref-counter, lower-alpha);
     font-size: 80%;
     font-size: 100%; /* Size of superscript */
     font-weight: bold;
     font-weight: bold; /* Make the letter bold */
     font-style: normal;
     font-style: normal; /* Remove italic styling if any */
}
}


/* Display the caret (^) symbol in the backlink */
/* Display the caret (^) symbol in the backlink */
a[rel="mw:referencedBy"]::before,
.mw-cite-backlink::before {
span[rel="mw:referencedBy"]::before {
     content: "^";
     content: "^ ";
     font-weight: bold;
     font-weight: bold;
    font-size: 100%; /* Adjust size of caret if needed */
}
}

Revision as of 23:15, 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; }

/* Custom styles for referenced citations */
.mw-cite-backlink {
    counter-reset: cite-ref-counter;
}

/* Change numeric references to letters (a, b, c, etc.) */
.mw-cite-backlink sup a {
    counter-increment: cite-ref-counter;
    content: counter(cite-ref-counter, lower-alpha);
    font-size: 100%; /* Size of superscript */
    font-weight: bold; /* Make the letter bold */
    font-style: normal; /* Remove italic styling if any */
}

/* Display the caret (^) symbol in the backlink */
.mw-cite-backlink::before {
    content: "^";
    font-weight: bold;
    font-size: 100%; /* Adjust size of caret if needed */
}