MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
Citizen CSS - Hide bars Tag: Reverted |
No edit summary |
||
| (11 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
} | } | ||
/* Hide stats bar in sidebar */ | |||
.citizen-siteStats { | |||
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 */ | ||
.citizen- | .mw-parser-output img { | ||
max-width: 100% !important; | |||
height: auto !important; | |||
} | |||
/* Keep sidebar from shrinking */ | |||
.citizen-page-sidebar { | |||
flex-shrink: 0 !important; | |||
} | } | ||
Latest revision as of 15:37, 30 April 2026
/* All CSS here will be loaded for users of the Citizen skin */
/* Hide the History link from page actions */
#ca-history {
display: none !important;
}
/* Hide stats bar in sidebar */
.citizen-siteStats {
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;
}