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 */
/* Hide the History link from page actions */
#ca-history {
display: none !important;
}
/* Prevent main content from expanding under the sidebar */
.mw-body {
min-width: 0 !important;
flex: 1 1 0% !important;
overflow-x: hidden !important;
}
/* Make content area scrollable for wide tables/images */
.mw-parser-output {
overflow-x: auto !important;
}
/* Constrain images */
.mw-parser-output img {
max-width: 100% !important;
height: auto !important;
}
/* Keep sidebar from shrinking */
.citizen-page-sidebar {
flex-shrink: 0 !important;
}