resources/src/mediawiki.skinning/content.body-print.less
raw| 1 | /* stylelint-disable selector-class-pattern */ |
| 2 | |
| 3 | .mw-parser-output a.external { |
| 4 | /* Expand URLs for printing */ |
| 5 | &.text::after, |
| 6 | &.autonumber::after { |
| 7 | content: ' (' attr( href ) ')'; |
| 8 | word-break: break-all; |
| 9 | word-wrap: break-word; |
| 10 | } |
| 11 | |
| 12 | /* Expand protocol-relative URLs for printing */ |
| 13 | &.text[ href^='//' ]:after, |
| 14 | &.autonumber[ href^='//' ]:after { |
| 15 | content: ' (https:' attr( href ) ')'; |
| 16 | } |
| 17 | } |