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
 
(4 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 so they don't overflow their container */
/* Constrain images */
.mw-parser-output img,
.mw-parser-output img {
.mw-parser-output .thumbinner,
.mw-parser-output figure,
.mw-parser-output table {
     max-width: 100% !important;
     max-width: 100% !important;
     height: auto !important;
     height: auto !important;
}
}


/* Fix flex overflow so TOC stays in its lane */
/* Keep sidebar from shrinking */
.mw-content-container {
.citizen-page-sidebar {
    min-width: 0 !important;
     flex-shrink: 0 !important;
    overflow-x: hidden !important;
}
 
/* Ensure the page container handles wide content gracefully */
.citizen-page-container {
     overflow-x: hidden !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;
}