shared.css: Limit .plainlinks styling to .external links
authorBartosz Dziewoński <matma.rex@gmail.com>
Sun, 31 Aug 2014 12:45:24 +0000 (14:45 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sun, 31 Aug 2014 12:45:24 +0000 (14:45 +0200)
Overriding the background of all links on the page can have unexpected
results, for example causing the "Enlarge" icons under thumbnails to
disappear when the entire page is wrapped in <div class="plainlinks">.
https://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2014-08-27/In_the_media

Change-Id: I6fb15c5de39419993d37d9f5dd31ecb7ae6503fa

resources/src/mediawiki.legacy/shared.css

index 67f7ca6..a3ad1e8 100644 (file)
@@ -487,7 +487,7 @@ a.feedlink {
 
 /* Plainlinks - this can be used to switch
  * off special external link styling */
-.plainlinks a {
+.plainlinks a.external {
        background: none !important;
        padding: 0 !important;
 }