MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 18: | Line 18: | ||
/* Ensure proper float */ | /* Ensure proper float */ | ||
.mw-collapsible { | div.mw-collapsible { | ||
display: flow-root; | display: flow-root; | ||
} | } | ||
Revision as of 06:31, 18 October 2026
/* CSS placed here will be applied to all skins */
/* === Collapsible section behaviour === */
/* Removes the border, background, and padding when the element is collapsed */
.mw-collapsible.mw-collapsed {
border: none !important;
background: none !important;
padding: 0 !important;
box-shadow: none !important;
}
/* Moves the toggle to the left for elements with the class 'toggle-left' */
.mw-collapsible-toggle {
float: left !important;
}
/* Ensure proper float */
div.mw-collapsible {
display: flow-root;
}