MediaWiki:Common.css: Difference between revisions

From Randomdata wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


/* Force lining numbers in headers (for fonts like Georgia) */
/* Force lining numbers in headers (for fonts like Georgia) */
h1,
h1 {
.firstHeading {
    font-variant-numeric: lining-nums;
     background-color: #000000;
     background-color: #000000;
     color: #00FF00;
     color: #ABCA4B;
}
}
h2,
h2 {
.firstHeading {
     background-color: #000000;
     font-variant-numeric: lining-nums;
     color: #ABCA4B;
     background-color: var( --background-color-error-subtle, #ABCA4B );
}
}


div#bodyContent{
div#bodyContent {
     font-variant-numeric: lining-nums;
     background-color: #000000;
     background-color: var( --background-color-error-subtle, #ABCA4B );
     color: #ABCA4B;
}
}


div#toc {
div#toc {
     font-variant-numeric: lining-nums;
     background-color: #000000;
     background-color: var( --background-color-error-subtle, #ABCA4B );
     color: #ABCA4B;
}
}

Revision as of 11:57, 22 March 2025

/*
 * This is the CSS for all skins (for both mobile and desktop) on MediaWiki.org.
 * Styling inside .mw-parser-output should generally use TemplateStyles.
 */


/* Force lining numbers in headers (for fonts like Georgia) */
h1 {
    background-color: #000000;
    color: #ABCA4B;
}
h2 {
    background-color: #000000;
    color: #ABCA4B;
}

div#bodyContent {
    background-color: #000000;
    color: #ABCA4B;
}

div#toc {
    background-color: #000000;
    color: #ABCA4B;
}