User:Chlod/Templates/toggle/style.css

.ch-toggle.mw-collapsible { display: inline; height: 1em; }

.ch-toggle .mw-collapsible-toggle { line-height: 1em; }

.ch-toggle .mw-collapsible-toggle-default::before { content: '[off]'; }

.ch-toggle.mw-collapsed .mw-collapsible-toggle-default::before { content: '[on]'; }

.ch-toggle .mw-collapsible-text { overflow: hidden; display: inline-block; height: 0; width: 0; }

.ch-toggle .mw-collapsible-toggle-default::after { content: unset; }