مستخدم:AhmadSherif/Patch
باتش main.css
Index: main.css =================================================================== --- main.css (revision 35798) +++ main.css (working copy) @@ -552,31 +552,37 @@ #bodyContent a[href ^="gopher://"] { background: url(external.png) center right no-repeat; padding-right: 13px; + padding-left: 13px; } #bodyContent a[href ^="https://"], .link-https { background: url(lock_icon.gif) center right no-repeat; padding-right: 16px; + padding-left: 16px; } #bodyContent a[href ^="mailto:"], .link-mailto { background: url(mail_icon.gif) center right no-repeat; padding-right: 18px; + padding-left: 18px; } #bodyContent a[href ^="news://"] { background: url(news_icon.png) center right no-repeat; padding-right: 18px; + padding-left: 18px; } #bodyContent a[href ^="ftp://"], .link-ftp { background: url(file_icon.gif) center right no-repeat; padding-right: 18px; + padding-left: 18px; } #bodyContent a[href ^="irc://"], #bodyContent a.extiw[href ^="irc://"], .link-irc { background: url(discussionitem_icon.gif) center right no-repeat; padding-right: 18px; + padding-left: 18px; } #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"], #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"], @@ -587,6 +593,7 @@ .link-audio { background: url("audio.png") center right no-repeat; padding-right: 13px; + padding-left: 13px; } #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"], #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"], @@ -595,6 +602,7 @@ .link-video { background: url("video.png") center right no-repeat; padding-right: 13px; + padding-left: 13px; } #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"], #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"], @@ -602,8 +610,15 @@ .link-document { background: url("document.png") center right no-repeat; padding-right: 12px; + padding-left: 12px; } +/* for rtl wikis */ +.rtl #bodyContent a.external { + background-position: left; + padding-right: 0; +} + /* disable interwiki styling */ #bodyContent a.extiw, #bodyContent a.extiw:active {
باتش rtl.css
Index: rtl.css =================================================================== --- rtl.css (revision 35583) +++ rtl.css (working copy) @@ -157,10 +157,12 @@ float: left; } /* Fix link icons */ +/* .external { padding: 0 !important; background: none !important; } +*/ #footer { clear: both; }