MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 7: | Line 7: | ||
. | /* 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 { | .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; | |||
} | } | ||
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;
}