X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.skinning%2Felements.css;h=19f35535eb91482bcf7c447c429f2d6e66058d54;hp=245fb53f387b056cddd36a04674c5caec02f9a87;hb=74136a25a6a7f1b072bbcbf6d487eeee29e9571a;hpb=23673a0ff99f4173ded689ee32dae799f2d07642 diff --git a/resources/src/mediawiki.skinning/elements.css b/resources/src/mediawiki.skinning/elements.css index 245fb53f38..19f35535eb 100644 --- a/resources/src/mediawiki.skinning/elements.css +++ b/resources/src/mediawiki.skinning/elements.css @@ -13,7 +13,9 @@ a { background: none; } -a:not( [href] ) { +/* Support: Firefox 57 - it can't parse `rule[ attr ]` and the LESS compiler doesn't */ +/* strip whitespace inside the :not() (T180138) */ +a:not( [href] ) { /* stylelint-disable-line selector-attribute-brackets-space-inside */ cursor: pointer; /* Always cursor:pointer even without href */ } @@ -53,33 +55,33 @@ a.new:visited, } /* Interwiki Styling */ -.mw-body-content a.extiw, -.mw-body-content a.extiw:active { +.mw-parser-output a.extiw, +.mw-parser-output a.extiw:active { color: #36b; } -.mw-body-content a.extiw:visited { +.mw-parser-output a.extiw:visited { color: #636; } -.mw-body-content a.extiw:active { +.mw-parser-output a.extiw:active { color: #b63; } /* External links */ -.mw-body-content a.external { +.mw-parser-output a.external { color: #36b; } -.mw-body-content a.external:visited { +.mw-parser-output a.external:visited { color: #636; /* T5112 */ } -.mw-body-content a.external:active { +.mw-parser-output a.external:active { color: #b63; } -.mw-body-content a.external.free { +.mw-parser-output a.external.free { word-wrap: break-word; } @@ -203,11 +205,7 @@ tt, kbd, samp, .mw-code { - /* - * Some browsers will render the monospace text too small, namely Firefox, Chrome and Safari. - * Specifying any valid, second value will trigger correct behavior without forcing a different font. - * See T176636 - */ + /* Support: Blink, Gecko, Webkit; enable unified font sizes for monospace font. T176636 */ font-family: monospace, monospace; }