MediaWiki:Citizen.css
MediaWiki interface page
More actions
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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 */
}
/* Main content area */
.citizen-body-content {
flex: 1;
max-width: 78%; /* keep balance with TOC */
}