MediaWiki:Gadget-CollapsibleNav.css

From Nookipedia, the Animal Crossing wiki

Note: After saving, 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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/**
 * Collapsible navigation for Timeless
 * Created by Elaeagnifolia of Dragalia Lost Wiki (https://dragalialost.wiki/w/User:Elaeagnifolia)
 * Licensed under CC BY-NC-SA 4.0 (https://creativecommons.org/licenses/by-nc-sa/4.0/)
 * @source https://dragalialost.wiki/w/MediaWiki:Gadget-CollapsibleNav.css
 * @source /core/skins/vector/collapsibleNav.js
 */

.collapsible-nav .mw-portlet-body {
	background-image: none !important;
	padding-top: 0;
	display: none;
}

.collapsible-nav .mw-portlet h3 {
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAAXRSTlMAQObYZgAAABtJREFUCNdjQAPyPxj4PzCwP2BgPsDA2MCAAQBu+gRCcXVT0AAAAABJRU5ErkJggg==');
	background-position: right 5px center;
	background-repeat: no-repeat;
	padding: 1px 0 3px 1.5em;
}

.collapsible-nav .mw-portlet h3:hover, div#sidebar-collapsible-toggle:hover {
	cursor: pointer;
	text-decoration: none;
}

/* Collapsed */
.collapsible-nav .mw-portlet.collapsed h3 {
	color: #0645ad;
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAAXRSTlMAQObYZgAAAB9JREFUCNdjgAMWBgY2BgZ2IGpgYD8ARGAGWJAFoQoAQN8CvyowenAAAAAASUVORK5CYII=');
	background-position: right 5px center;
	background-repeat: no-repeat;
}

div#sidebar-collapsible-toggle {
    text-align: right;
    font-size: .8em;
    color: #0088dd;
    padding: 0px 2px 5px 0px;
}