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)
Created page with "→All CSS here will be loaded for users of the Citizen skin: →=== Move Table of Contents to the left in Citizen skin ===: .citizen-body { display: flex; flex-direction: row; } →Table of contents on the left: .citizen-toc { order: -1; →move before content: float: none !important; →reset float: width: 20%; →adjust TOC width: margin: 0 2em 0 0; →space between TOC and content: } /* Ma..."
 
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 Table of Contents to the left in Citizen skin === */
/* === Move entire Citizen rail (TOC + widgets) to the left === */
 
/* Zorg dat de rail links van de content komt */
.citizen-body {
.citizen-body {
     display: flex;
     display: flex;
Line 7: Line 9:
}
}


/* Table of contents on the left */
.citizen-rail {
.citizen-toc {
     order: -1;             /* rail links plaatsen */
     order: -1;               /* move before content */
     width: 20%;             /* breedte rail */
    float: none !important;  /* reset float */
     margin-right: 2em;     /* ruimte tussen rail en inhoud */
     width: 20%;               /* adjust TOC width */
     margin: 0 2em 0 0;       /* space between TOC and content */
}
}


/* Main content area */
/* Content rechts van de rail */
.citizen-body-content {
.citizen-body-content {
     flex: 1;
     flex: 1;
     max-width: 78%;           /* keep balance with TOC */
     max-width: 78%;         /* evenwicht met rail */
}
}

Revision as of 11:14, 1 October 2025

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

/* === Move entire Citizen rail (TOC + widgets) to the left === */

/* Zorg dat de rail links van de content komt */
.citizen-body {
    display: flex;
    flex-direction: row;
}

.citizen-rail {
    order: -1;              /* rail links plaatsen */
    width: 20%;             /* breedte rail */
    margin-right: 2em;      /* ruimte tussen rail en inhoud */
}

/* Content rechts van de rail */
.citizen-body-content {
    flex: 1;
    max-width: 78%;         /* evenwicht met rail */
}