mediawiki.legacy/commonPrint.css needs an overhaul on coding style:
- Coding guidelines: align colors
- Coding guidelines: put every selector of combined selectors on one line
- Coding guidelines: use border: 0 instead of border: none and put border shortcut structure into same order across selectors for better gzipping
- Coding guidelines: whitespace in parenthesis
- CSSLint: proof and fix overqualified selectors – followed-up in T136459 instead of here.
- CSSLint: disable setting margin for inline elements
- General:
get rid of print style hacks f. IE 6&7? -
General: give images max-width: 100% to stop them bleeding over the edge.See comment T120154#2003709 - General: join pagination and 'Generic HTML elements'' rules
- General: swap 1px border values with 1pt
- General: add word-wrap: break-word to pre, .mw-code selector to aggressively wrap long words instead of going out of paper on those white space saved elements
-
General: add universal selector with filter and text-shadow resets to speed up printing.See comment at https://gerrit.wikimedia.org/r/#/c/256619/4/resources/src/mediawiki.legacy/commonPrint.css - General: we should carry over word-wrap: break-word for .mw-body a.external* links like it's done in en:Wikipedia's Common.css
- General: do the list-style shorthand property right.