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
No edit summary
Tag: Reverted
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 6: Line 6:
}
}


 
/* Hide stats bar in sidebar */
/* Hide the site stats row above the wiki title */
.citizen-siteStats {
.citizen-siteStats {
     display: none !important;
     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;
}
}

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;
}