Jump to content

MediaWiki:Common.css: Difference between revisions

From Wikibase
Created page with "→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; }"
 
No edit summary
Line 15: Line 15:
  .mw-collapsible-toggle {
  .mw-collapsible-toggle {
     float: left !important;
     float: left !important;
}
/* Ensure proper float */
.mw-collapsible {
    float: left !important;
    display: flow-root;
}
}

Revision as of 06:18, 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 */
 .mw-collapsible {
    float: left !important;
    display: flow-root;
}