From: Volker E Date: Thu, 29 Sep 2016 06:56:43 +0000 (-0700) Subject: commonPrint: Remove overqualified selectors & `!important` where applicable X-Git-Tag: 1.31.0-rc.0~5112^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=8145ac7149a97c58f0e63b28684bc5ad233b6c86;p=lhc%2Fweb%2Fwiklou.git commonPrint: Remove overqualified selectors & `!important` where applicable Removing overqualified CSS selectors and use of `important` where applicable (CSSLint). Also deleting obsolete `a.sortheader` rule. Bug: T136459 Change-Id: I2ed1c7188c96d6205ee03dc46a2a90130c8d120a --- diff --git a/resources/src/mediawiki.legacy/commonPrint.css b/resources/src/mediawiki.legacy/commonPrint.css index d387a2d7bb..ec94df34e4 100644 --- a/resources/src/mediawiki.legacy/commonPrint.css +++ b/resources/src/mediawiki.legacy/commonPrint.css @@ -10,10 +10,9 @@ * Hide all the elements irrelevant for printing */ .noprint, -div#jump-to-nav, +#jump-to-nav, .mw-jump, -div.top, -div#column-one, +#column-one, .mw-editsection, .mw-editsection-like, #footer-places, @@ -21,12 +20,12 @@ div#column-one, .usermessage, .patrollink, .ns-0 .mw-redirectedfrom, -div.magnify, +.magnify, #mw-navigation, #siteNotice, /* Deprecated, changed in core */ -div#f-poweredbyico, -div#f-copyrightico, +#f-poweredbyico, +#f-copyrightico, li#about, li#disclaimer, li#mobileview, @@ -228,7 +227,7 @@ div.floatleft p { font-style: italic; } -div.center { +.center { text-align: center; } @@ -246,7 +245,7 @@ div.thumb { div.thumbinner { background-color: #fff; border: 1pt solid #ccc; - padding: 3px !important; + padding: 3px; font-size: 94%; text-align: center; /* new block formatting context, @@ -262,7 +261,7 @@ html .thumbcaption { border: none; text-align: left; line-height: 1.4em; - padding: 3px !important; + padding: 3px; font-size: 94%; } @@ -325,10 +324,6 @@ table.listing td { border-collapse: collapse; } -a.sortheader { - margin: 0 0.3em; -} - /** * Categories */