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
Tag: Reverted
Line 7: Line 7:




/* Hide the site stats row above the wiki title */
.citizen-siteStats {
    display: none !important;
}


/* Hide the floating TOC sidebar */
.citizen-toc {
    display: none !important;
}


.citizen-page-container__start {
/* Constrain images so they don't overflow their container */
     display: none !important;
.mw-parser-output img,
.mw-parser-output .thumbinner,
.mw-parser-output figure,
.mw-parser-output table {
     max-width: 100% !important;
    height: auto !important;
}
}


/* Give content a right margin so TOC doesn't cover it */
/* Fix flex overflow so TOC stays in its lane */
.mw-content-container {
.mw-content-container {
     margin-right: 260px !important;
     min-width: 0 !important;
    overflow-x: hidden !important;
}
}


/* Give content a right margin so TOC doesn't cover it */
/* Ensure the page container handles wide content gracefully */
.mw-content-container {
.citizen-page-container {
     margin-right: 260px !important;
     overflow-x: hidden !important;
}
}

Revision as of 20:45, 29 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;
}




/* Constrain images so they don't overflow their container */
.mw-parser-output img,
.mw-parser-output .thumbinner,
.mw-parser-output figure,
.mw-parser-output table {
    max-width: 100% !important;
    height: auto !important;
}

/* Fix flex overflow so TOC stays in its lane */
.mw-content-container {
    min-width: 0 !important;
    overflow-x: hidden !important;
}

/* Ensure the page container handles wide content gracefully */
.citizen-page-container {
    overflow-x: hidden !important;
}