Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 47: Line 47:


.mw-datatable th {
.mw-datatable th {
     background-color: var(--bgb-blue);
     background-color: var(--interface-blue);
}
}



Revision as of 15:55, 4 April 2021

/* All CSS here will be loaded for users of the Citizen skin */

:root.skin-citizen-light {
    --bgb-blue:         rgb(27 62 116 / 100%);
    --interface-blue:   rgb(74 112 170 / 100%);
    --bg-color:         rgb(220 235 250 / 100%);

    --text-header:      rgb(0 0 0 / 100%);
    --text-content:     rgb(0 0 0 / 80%);

    background: var(--bg-color);
    --color-primary: var(--interface-blue);
}

:root.skin-citizen-dark {
    --bgb-blue:         rgb(27 62 116 / 100%);
    --interface-blue:   rgb(74 112 170 / 100%);
    --bg-color:         rgb(20 35 63 / 100%);

    --text-header:      rgb(255 255 255 / 100%);
    --text-content:     rgb(255 255 255 / 80%);

    background: var(--bg-color);
    --color-primary: var(--interface-blue);
}

.mw-header-siteinfo .mw-wiki-title .mw-logo-wordmark {
    color: var(--text-header);
}

body {
    background: var(--bg-color);
    color: var(--text-content);
}

.mw-body {
    background: var(--bg-color);
}

.mw-footer {
    background: var(--bgb-blue);
}

.mw-datatable td {
    background-color: var(--bg-color);
}

.mw-datatable th {
    background-color: var(--interface-blue);
}

/*
.last-modified-bar {
    background: var(--bg-color);
}

.last-modified-bar-content {
    background: var(--bg-color);
}
*/