MediaWiki:Common.css

From SZ
Revision as of 16:09, 25 August 2025 by Test2 (talk | contribs)
Jump to navigation Jump to search

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.
.mw-collapsible-arrowtoggle {

  background-image: url('https://upload.wikimedia.org/wikipedia/commons/4/41/MediaWiki_Vector_skin_right_arrow.png'); /* @noflip */

  background-position: left center;

  /* Add other styles as desired for the toggle arrow */

}

.mw-collapsible-toggle-collapsed.mw-collapsible-arrowtoggle {

  background-image: url('https://upload.wikimedia.org/wikipedia/commons/1/1e/MediaWiki_Vector_skin_left_arrow.png'); /* @noflip */

  /* Add other styles for the collapsed state of the arrow */

}

 

/* Adjustments for the toggle link */

.mw-collapsible span.mw-collapsible-toggle {

    float: left;

    margin-left: 0;

    margin-right: 1em;

    /* This example floats the toggle left and adjusts margins */

}

 

/* Hide the content within collapsed sections */

.mw-collapsible-content {

    display: none;

}

.mw-collapsible-toggle-expanded .mw-collapsible-content {

    display: block;

}