Revert r35812 (link icons for RTL).
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 3 Jun 2008 23:36:48 +0000 (23:36 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 3 Jun 2008 23:36:48 +0000 (23:36 +0000)
Icons overlap text in Firefox 2 and IE 6 (seems worse in IE); haven't tested other browsers extensively yet.

skins/monobook/main.css
skins/monobook/rtl.css

index c615f27..249898a 100644 (file)
@@ -551,32 +551,32 @@ div.townBox dl dd {
 #bodyContent a.external,
 #bodyContent a[href ^="gopher://"] {
        background: url(external.png) center right no-repeat;
-       padding: 0 13px;
+       padding-right: 13px;
 }
 #bodyContent a[href ^="https://"],
 .link-https {
        background: url(lock_icon.gif) center right no-repeat;
-       padding: 0 16px;
+       padding-right: 16px;
 }
 #bodyContent a[href ^="mailto:"],
 .link-mailto {
        background: url(mail_icon.gif) center right no-repeat;
-       padding: 0 18px;
+       padding-right: 18px;
 }
 #bodyContent a[href ^="news://"] {
        background: url(news_icon.png) center right no-repeat;
-       padding: 0 18px;
+       padding-right: 18px;
 }
 #bodyContent a[href ^="ftp://"],
 .link-ftp {
        background: url(file_icon.gif) center right no-repeat;
-       padding: 0 18px;
+       padding-right: 18px;
 }
 #bodyContent a[href ^="irc://"],
 #bodyContent a.extiw[href ^="irc://"],
 .link-irc {
        background: url(discussionitem_icon.gif) center right no-repeat;
-       padding: 0 18px;
+       padding-right: 18px;
 }
 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
@@ -586,7 +586,7 @@ div.townBox dl dd {
 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
 .link-audio {
        background: url("audio.png") center right no-repeat;
-       padding: 0 13px;
+       padding-right: 13px;
 }
 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
@@ -594,24 +594,14 @@ div.townBox dl dd {
 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
 .link-video {
        background: url("video.png") center right no-repeat;
-       padding: 0 13px;
+       padding-right: 13px;
 }
 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
 .link-document {
        background: url("document.png") center right no-repeat;
-       padding: 0 12px;
-}
-
-/* for rtl wikis */
-.rtl #bodyContent a.external {
-       background-position: left;
-       padding-right: 0;
-}
-/* correction for ltr wikis */
-.ltr #bodyContent a.external {
-       padding-left: 0;
+       padding-right: 12px;
 }
 
 /* disable interwiki styling */
index 700f849..73bc145 100644 (file)
@@ -156,7 +156,11 @@ li#ca-watch {
 #p-personal li {
        float: left;
 }
-
+/* Fix link icons */
+.external {
+       padding: 0 !important;
+       background: none !important;
+}
 #footer {
        clear: both;
 }