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
Wikiadmin (talk | contribs)
No edit summary
Wikiadmin (talk | contribs)
No edit summary
Line 1: Line 1:
/* All CSS here will be loaded for users of the Citizen skin */
/* All CSS here will be loaded for users of the Citizen skin */


/* === Move entire Citizen rail (TOC + widgets) to the left === */
/* Zet de hele Table of Contents rail terug naar links */
 
.citizen-body .citizen-toc {
/* Zorg dat de rail links van de content komt */
     float: left !important;
.citizen-body {
     clear: left !important;
     display: flex;
    margin: 0 1em 1em 0 !important;
     flex-direction: row;
}
}


.citizen-rail {
/* Zorg dat de inhoud niet overlapt met de TOC */
    order: -1;              /* rail links plaatsen */
.citizen-body .mw-body {
    width: 20%;            /* breedte rail */
     margin-left: 320px; /* pas breedte aan als nodig */
     margin-right: 2em;     /* ruimte tussen rail en inhoud */
}
}


/* Content rechts van de rail */
/* Optioneel: voorkom dat de rail rechts nog ruimte houdt */
.citizen-body-content {
.citizen-body .citizen-rail {
     flex: 1;
     display: none !important;
    max-width: 78%;         /* evenwicht met rail */
}
}

Revision as of 14:49, 1 October 2025

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

/* Zet de hele Table of Contents rail terug naar links */
.citizen-body .citizen-toc {
    float: left !important;
    clear: left !important;
    margin: 0 1em 1em 0 !important;
}

/* Zorg dat de inhoud niet overlapt met de TOC */
.citizen-body .mw-body {
    margin-left: 320px; /* pas breedte aan als nodig */
}

/* Optioneel: voorkom dat de rail rechts nog ruimte houdt */
.citizen-body .citizen-rail {
    display: none !important;
}