From 6c5a17a2ca950c6d3bb8db2febe4c242bef8b861 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 10 Jun 2009 13:49:31 +0200 Subject: apply monobook changes to archlinux skin --- skins/archlinux/main.css | 43 +++++++++++++++++++++++++++++++++---------- 1 file changed, 33 insertions(+), 10 deletions(-) (limited to 'skins/archlinux/main.css') diff --git a/skins/archlinux/main.css b/skins/archlinux/main.css index 7e5809b5..d6a67c1e 100644 --- a/skins/archlinux/main.css +++ b/skins/archlinux/main.css @@ -527,32 +527,36 @@ table.rimage { #bodyContent a.external, #bodyContent a[href ^="gopher://"] { background: url(external.png) center right no-repeat; - padding-right: 13px; + padding: 0 13px; +} +.rtl #bodyContent a.external, +.rtl #bodyContent a[href ^="gopher://"] { + background-image: url(external-rtl.png); } #bodyContent a[href ^="https://"], .link-https { background: url(lock_icon.gif) center right no-repeat; - padding-right: 16px; + padding: 0 16px; } #bodyContent a[href ^="mailto:"], .link-mailto { background: url(mail_icon.gif) center right no-repeat; - padding-right: 18px; + padding: 0 18px; } #bodyContent a[href ^="news://"] { background: url(news_icon.png) center right no-repeat; - padding-right: 18px; + padding: 0 18px; } #bodyContent a[href ^="ftp://"], .link-ftp { background: url(file_icon.gif) center right no-repeat; - padding-right: 18px; + padding: 0 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: 0 18px; } #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"], #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"], @@ -562,7 +566,7 @@ table.rimage { #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"], .link-audio { background: url("audio.png") center right no-repeat; - padding-right: 13px; + padding: 0 13px; } #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"], #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"], @@ -570,14 +574,30 @@ table.rimage { #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"], .link-video { background: url("video.png") center right no-repeat; - padding-right: 13px; + padding: 0 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-right: 12px; + padding: 0 12px; +} + +/* for rtl wikis */ +.rtl #bodyContent a.external { + background-position: left; + padding-right: 0; +} +.rtl a.feedlink { + background-position: right; + padding-right: 16px; + padding-left: 0; +} + +/* correction for ltr wikis */ +.ltr #bodyContent a.external { + padding-left: 0; } /* disable interwiki styling */ @@ -715,7 +735,10 @@ input.searchButton { padding: .5em .4em .4em .4em; text-align: center; } - +#p-search #searchform div div { + margin-top: .4em; + font-size: 95%; +} /* ** the personal toolbar */ -- cgit v1.2.3-54-g00ecf