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
mNo edit summary
mNo edit summary
Line 7: Line 7:


:root {
:root {
     --width-layout: 1280px;
     --width-layout: 980px;
}
}



Revision as of 17:36, 14 September 2023

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

.res-img img {
    max-width: 100%;
    height: auto;
}

:root {
    --width-layout: 980px;
}

: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-color: var(--bg-color);
    --color-primary: var(--interface-blue);
}

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

/*
body.mediawiki {
    background-color: var(--bg-color);
    background-image: url("https://boardgamebarrage.com/w/bg.png");
    background-position: top;
    background-size: 200px;
    padding-left: 20%;
    padding-right: 20%;
}
*/

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

.mw-body {
    background-color: 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);
}
*/