From a1f69abb12164b3c1ba8dd056ba54ce6b085a1fe Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 29 May 2008 22:56:27 +0000 Subject: [PATCH] reverting r35574 for the moment... * 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 | 64 ----------------------------------------- skins/monobook/rtl.css | 6 +++- 2 files changed, 5 insertions(+), 65 deletions(-) diff --git a/skins/monobook/main.css b/skins/monobook/main.css index 4c0d0e5a1e..249898aeca 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -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, diff --git a/skins/monobook/rtl.css b/skins/monobook/rtl.css index 700f8491d6..73bc1451f7 100644 --- a/skins/monobook/rtl.css +++ b/skins/monobook/rtl.css @@ -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; } -- 2.20.1