MediaWiki:Gadget-switch-infobox.css

.switch-infobox > p, .switch-infobox-triggers > p { display: none; }

.switch-infobox > p:first-child, .switch-infobox-triggers > p:first-child { display: block; }

.switch-infobox > .item { display: none; }

.switch-infobox > .item.showing { display: block; }

.switch-infobox > .loading-button { display: none; }

.switch-infobox.loading > .loading-button { display: inline-block; }

.switch-infobox.loading > .switch-infobox-triggers { display: none; }

.infobox .switch-infobox-triggers { text-align: center; font-weight: normal; margin-bottom: -5px; }

.trigger.button { white-space: pre; margin: 0 2px; } .switch-infobox-triggers .trigger.button[disabled="disabled"], .infobox-buttons .button[disabled="disabled"], .synced-buttons .button[disabled="disabled"], .infobox-buttons .button.button-selected, .switch-infobox-triggers .trigger.button.button-selected { opacity: 0.5; }

.rts-infobox td.rts-infobox-switch-buttons { padding-top: 0.5em; padding-bottom:0; border-top:0; }

.switch-infobox .switch-infobox-triggers .button, .infobox-switch .infobox-buttons .button { background: linear-gradient(to top, #438ab5, #357aa5) #438ab5; border: 1px solid #2a83bb; color: #fff; cursor: pointer; display: inline-block; font-size: 12px; height: 19px; line-height: 20px; padding: 0 10px; white-space: pre; margin: 0 2px 2px; } .switch-infobox .switch-infobox-triggers, .switch-infobox .loading-button { clear: left; } .switch-infobox caption .switch-infobox-triggers, .rts-infobox-switch-buttons-row .infobox-buttons { text-align: center; }

table.wikitable > caption.rts-infobox-switch-buttons-caption { font-weight: normal; }

.rts-synced-switch .rts-synced-switch-item { display:none; }

.rts-synced-switch .rts-synced-switch-item.showing { display:block; }

.rts-synced-switch.has-buttons { margin: 1em 0; overflow-x: hidden; } .rts-synced-switch.has-buttons .rts-synced-switch-item { background-color: #fff; border: 1px solid #e4eaee; padding: 1em 1.5em; margin-top: -1px; } body.wgl-darkmode .rts-synced-switch.has-buttons .rts-synced-switch-item { background-color: #313e59; border-color: #172136; } .rts-synced-switch.has-buttons .synced-buttons { margin-left: 2em; } .rts-synced-switch.has-buttons .synced-buttons .button { font-size: 0.9em; font-weight: bold; height: auto; background: #f9fafa; color: #444e5a; border: 1px solid #e4eaee; padding: 0.5em 1em; -webkit-transition: 0.2s ease; -moz-transition: 0.2s ease; transition: 0.2s ease; } body.wgl-darkmode .rts-synced-switch.has-buttons .synced-buttons .button { background-color: #222e45; color: #cbd9f4; border-color: #172136; } .rts-synced-switch.has-buttons .synced-buttons .button:not(:first-of-type) { margin-left: 3px; } .rts-synced-switch.has-buttons .synced-buttons .button:hover { background-color: #f1f3f3; border-color: #dbe3e8; } body.wgl-darkmode .rts-synced-switch.has-buttons .synced-buttons .button:hover { background-color: #27354f; border-color: #172136; } .rts-synced-switch.has-buttons .synced-buttons .button.button-selected { border-bottom: 1px solid #fff; background-color: #fff; } body.wgl-darkmode .rts-synced-switch.has-buttons .synced-buttons .button.button-selected { border-bottom-color: #313e59; background-color: #313e59; } .rts-synced-switch.has-buttons .synced-buttons .button.button-selected:hover { color: #000; border-bottom: 1px solid #fff; } body.wgl-darkmode .rts-synced-switch.has-buttons .synced-buttons .button.button-selected:hover { color: #cbd9f4; border-bottom-color: #313e59; }

display: none; }
 * 1) toc li.sync-toc-hidden {