resources/src/mediawiki.skinning/toc/print.less
raw| 1 | /* Hide the complete TOC on print when the TOC is hidden. */ |
| 2 | /* stylelint-disable selector-class-pattern */ |
| 3 | .toctogglecheckbox:checked + .toctitle { |
| 4 | display: none; |
| 5 | } |
| 6 | |
| 7 | .toc { |
| 8 | background-color: #f9f9f9; |
| 9 | border: 1pt solid #aaa; |
| 10 | padding: 5px; |
| 11 | display: table; |
| 12 | } |
| 13 | |
| 14 | /* Separate columns for `.tocnumber` and `.toctext` */ |
| 15 | .tocnumber, |
| 16 | .toctext { |
| 17 | display: table-cell; |
| 18 | } |