resources/src/mediawiki.skinning/toc/common.less
raw| 1 | /* This style is loaded on all media. */ |
| 2 | /* stylelint-disable selector-class-pattern */ |
| 3 | |
| 4 | @import 'mediawiki.mixins.less'; |
| 5 | |
| 6 | /* Hide the content of the TOC when the checkbox is checked. */ |
| 7 | .toctogglecheckbox:checked ~ ul { |
| 8 | display: none; |
| 9 | } |
| 10 | |
| 11 | /* Space between the columns for tocnumber and toctext */ |
| 12 | .tocnumber { |
| 13 | .padding-inline( 0, 0.5em ); |
| 14 | } |