Jump to content

MediaWiki:Common.css

From Wikibase
Revision as of 06:18, 18 October 2026 by Rongzhou (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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;
}