diff --git a/css/_links.css b/css/_links.css index faa6e2e..c0c7e58 100644 --- a/css/_links.css +++ b/css/_links.css @@ -39,29 +39,19 @@ .dokuwiki a.interwiki { background-repeat: no-repeat; background-position: 0 center; - padding: 0 0 0 20px; + padding: 0 0 0 18px; } -[dir=rtl] .dokuwiki a.urlextern, -[dir=rtl] .dokuwiki a.windows, -[dir=rtl] .dokuwiki a.mail, -[dir=rtl] .dokuwiki a.interwiki, -[dir=rtl] .dokuwiki a.mediafile { - background-position: right center; - padding: 0 17px 0 0; -} - /* external link */ .dokuwiki a.urlextern { - background-image: url(images/link_icon.gif); - padding: 0 0 0 17px; + background-image: url(images/external-link.png); } /* windows share */ .dokuwiki a.windows { - background-image: url(images/windows.gif); + background-image: url(images/unc.png); } /* email link */ .dokuwiki a.mail { - background-image: url(images/mail_icon.gif); + background-image: url(images/email.png); } /* icons of the following are set by dokuwiki in lib/exe/css.php */ @@ -70,5 +60,15 @@ } /* interwiki link */ .dokuwiki a.interwiki { - padding: 0 0 0 17px; +} + +/* RTL corrections */ +[dir=rtl] .dokuwiki a.urlextern, +[dir=rtl] .dokuwiki a.windows, +[dir=rtl] .dokuwiki a.mail, +[dir=rtl] .dokuwiki a.interwiki, +[dir=rtl] .dokuwiki a.mediafile { + background-position: right center; + padding: 0 18px 0 0; + display: inline-block; /* needed for IE7 */ } diff --git a/images/email.png b/images/email.png new file mode 100644 index 0000000..d1d4a5f Binary files /dev/null and b/images/email.png differ diff --git a/images/external-link.png b/images/external-link.png new file mode 100644 index 0000000..a4d5de1 Binary files /dev/null and b/images/external-link.png differ diff --git a/images/icons-license.txt b/images/icons-license.txt new file mode 100644 index 0000000..747d6f5 --- /dev/null +++ b/images/icons-license.txt @@ -0,0 +1,5 @@ +Icons for: email.png, external-link.png and unc.png +Icon set: Dusseldorf +Designer: pc.de +License: Creative Commons Attribution License [http://creativecommons.org/licenses/by/3.0/] +URL: http://pc.de/icons/#Dusseldorf diff --git a/images/link_icon.gif b/images/link_icon.gif deleted file mode 100644 index 815ccb1..0000000 Binary files a/images/link_icon.gif and /dev/null differ diff --git a/images/mail_icon.gif b/images/mail_icon.gif deleted file mode 100644 index 50a87a9..0000000 Binary files a/images/mail_icon.gif and /dev/null differ diff --git a/images/unc.png b/images/unc.png new file mode 100644 index 0000000..a552d6e Binary files /dev/null and b/images/unc.png differ diff --git a/images/windows.gif b/images/windows.gif deleted file mode 100644 index 4f12acc..0000000 Binary files a/images/windows.gif and /dev/null differ