MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
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..." |
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 | /* === 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: | ||
} | } | ||
.citizen-rail { | |||
.citizen- | order: -1; /* rail links plaatsen */ | ||
order: -1; | width: 20%; /* breedte rail */ | ||
margin-right: 2em; /* ruimte tussen rail en inhoud */ | |||
width: 20%; | |||
margin: | |||
} | } | ||
/* | /* Content rechts van de rail */ | ||
.citizen-body-content { | .citizen-body-content { | ||
flex: 1; | flex: 1; | ||
max-width: 78%; | 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 */
}