resources/src/mediawiki.action.styles/categoryPage.less
raw| 1 | @import 'mediawiki.mixins.less'; |
| 2 | |
| 3 | .mw-category { |
| 4 | .mw-category-group ul { |
| 5 | margin-top: 0; |
| 6 | margin-bottom: 0; |
| 7 | } |
| 8 | |
| 9 | &.mw-category-columns { |
| 10 | .column-count( 3 ); |
| 11 | .column-width( 24em ); |
| 12 | |
| 13 | h3 { |
| 14 | break-after: avoid-column; |
| 15 | } |
| 16 | |
| 17 | .mw-category-group li { |
| 18 | .column-break-inside-avoid; |
| 19 | |
| 20 | a { |
| 21 | overflow-wrap: break-word; |
| 22 | } |
| 23 | } |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | /* stylelint-disable-next-line selector-class-pattern */ |
| 28 | .redirect-in-category { |
| 29 | font-style: italic; |
| 30 | } |