reverting r35574 for the moment...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 29 May 2008 22:56:27 +0000 (22:56 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 29 May 2008 22:56:27 +0000 (22:56 +0000)
* adds a whopping 3kb to main.css, most of which seems to be duplicated code
* appears to be applying RTL-specific styles to general classes like .link-mailto

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

index 4c0d0e5..249898a 100644 (file)
@@ -603,70 +603,6 @@ div.townBox dl dd {
        background: url("document.png") center right no-repeat;
        padding-right: 12px;
 }
-/* for rtl wikis */
-.rtl #bodyContent a.external,
-.rtl #bodyContent a[href ^="gopher://"] {
-        background: url(external.png) center left no-repeat;
-        padding-right: 0px;
-        padding-left: 13px;
-}
-.rtl #bodyContent a[href ^="https://"],
-.link-https {
-        background: url(lock_icon.gif) center left no-repeat;
-        padding-right: 0px;
-        padding-left: 16px;
-}
-.rtl #bodyContent a[href ^="mailto:"],
-.link-mailto {
-        background: url(mail_icon.gif) center left no-repeat;
-        padding-right: 0px;
-        padding-left: 18px;
-}
-.rtl #bodyContent a[href ^="news://"] {
-        background: url(news_icon.png) center left no-repeat;
-        padding-right: 0px;
-        padding-left: 18px;
-}
-.rtl #bodyContent a[href ^="ftp://"],
-.link-ftp {
-        background: url(file_icon.gif) center left no-repeat;
-        padding-right: 0px;
-        padding-left: 18px;
-}
-.rtl #bodyContent a[href ^="irc://"],
-.link-irc {
-        background: url(discussionitem_icon.gif) center left no-repeat;
-        padding-right: 0px;
-        padding-left: 18px;
-}
-.rtl #bodyContent a.external[href $=".ogg"], .rtl #bodyContent a.external[href $=".OGG"],
-.rtl #bodyContent a.external[href $=".mid"], .rtl #bodyContent a.external[href $=".MID"],
-.rtl #bodyContent a.external[href $=".midi"], .rtl #bodyContent a.external[href $=".MIDI"],
-.rtl #bodyContent a.external[href $=".mp3"], .rtl #bodyContent a.external[href $=".MP3"],
-.rtl #bodyContent a.external[href $=".wav"], .rtl #bodyContent a.external[href $=".WAV"],
-.rtl #bodyContent a.external[href $=".wma"], .rtl #bodyContent a.external[href $=".WMA"],
-.link-audio {
-        background: url("audio.png") center left no-repeat;
-        padding-right: 0px;
-        padding-left: 13px;
-}
-.rtl #bodyContent a.external[href $=".ogm"], .rtl #bodyContent a.external[href $=".OGM"],
-.rtl #bodyContent a.external[href $=".avi"], .rtl #bodyContent a.external[href $=".AVI"],
-.rtl #bodyContent a.external[href $=".mpeg"], .rtl #bodyContent a.external[href $=".MPEG"],
-.rtl #bodyContent a.external[href $=".mpg"], .rtl #bodyContent a.external[href $=".MPG"],
-.link-video {
-        background: url("video.png") center left no-repeat;
-        padding-right: 0px;
-        padding-left: 13px;
-}
-.rtl #bodyContent a.external[href $=".pdf"], .rtl #bodyContent a.external[href $=".PDF"],
-.rtl #bodyContent a.external[href *=".pdf#"], .rtl #bodyContent a.external[href *=".PDF#"],
-.rtl #bodyContent a.external[href *=".pdf?"], .rtl #bodyContent a.external[href *=".PDF?"],
-.link-document {
-        background: url("document.png") center left no-repeat;
-        padding-right: 0px;
-        padding-left: 12px;
-}
 
 /* disable interwiki styling */
 #bodyContent a.extiw,
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;
 }