Index: trunk/phase3/skins/monobook/rtl.css |
— | — | @@ -156,11 +156,7 @@ |
157 | 157 | #p-personal li { |
158 | 158 | float: left; |
159 | 159 | } |
160 | | -/* Fix link icons */ |
161 | | -.external { |
162 | | - padding: 0 !important; |
163 | | - background: none !important; |
164 | | -} |
| 160 | + |
165 | 161 | #footer { |
166 | 162 | clear: both; |
167 | 163 | } |
Index: trunk/phase3/skins/monobook/main.css |
— | — | @@ -551,32 +551,32 @@ |
552 | 552 | #bodyContent a.external, |
553 | 553 | #bodyContent a[href ^="gopher://"] { |
554 | 554 | background: url(external.png) center right no-repeat; |
555 | | - padding-right: 13px; |
| 555 | + padding: 0 13px; |
556 | 556 | } |
557 | 557 | #bodyContent a[href ^="https://"], |
558 | 558 | .link-https { |
559 | 559 | background: url(lock_icon.gif) center right no-repeat; |
560 | | - padding-right: 16px; |
| 560 | + padding: 0 16px; |
561 | 561 | } |
562 | 562 | #bodyContent a[href ^="mailto:"], |
563 | 563 | .link-mailto { |
564 | 564 | background: url(mail_icon.gif) center right no-repeat; |
565 | | - padding-right: 18px; |
| 565 | + padding: 0 18px; |
566 | 566 | } |
567 | 567 | #bodyContent a[href ^="news://"] { |
568 | 568 | background: url(news_icon.png) center right no-repeat; |
569 | | - padding-right: 18px; |
| 569 | + padding: 0 18px; |
570 | 570 | } |
571 | 571 | #bodyContent a[href ^="ftp://"], |
572 | 572 | .link-ftp { |
573 | 573 | background: url(file_icon.gif) center right no-repeat; |
574 | | - padding-right: 18px; |
| 574 | + padding: 0 18px; |
575 | 575 | } |
576 | 576 | #bodyContent a[href ^="irc://"], |
577 | 577 | #bodyContent a.extiw[href ^="irc://"], |
578 | 578 | .link-irc { |
579 | 579 | background: url(discussionitem_icon.gif) center right no-repeat; |
580 | | - padding-right: 18px; |
| 580 | + padding: 0 18px; |
581 | 581 | } |
582 | 582 | #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"], |
583 | 583 | #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"], |
— | — | @@ -586,7 +586,7 @@ |
587 | 587 | #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"], |
588 | 588 | .link-audio { |
589 | 589 | background: url("audio.png") center right no-repeat; |
590 | | - padding-right: 13px; |
| 590 | + padding: 0 13px; |
591 | 591 | } |
592 | 592 | #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"], |
593 | 593 | #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"], |
— | — | @@ -594,16 +594,26 @@ |
595 | 595 | #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"], |
596 | 596 | .link-video { |
597 | 597 | background: url("video.png") center right no-repeat; |
598 | | - padding-right: 13px; |
| 598 | + padding: 0 13px; |
599 | 599 | } |
600 | 600 | #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"], |
601 | 601 | #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"], |
602 | 602 | #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"], |
603 | 603 | .link-document { |
604 | 604 | background: url("document.png") center right no-repeat; |
605 | | - padding-right: 12px; |
| 605 | + padding: 0 12px; |
606 | 606 | } |
607 | 607 | |
| 608 | +/* for rtl wikis */ |
| 609 | +.rtl #bodyContent a.external { |
| 610 | + background-position: left; |
| 611 | + padding-right: 0; |
| 612 | +} |
| 613 | +/* correction for ltr wikis */ |
| 614 | +.ltr #bodyContent a.external { |
| 615 | + padding-left: 0; |
| 616 | +} |
| 617 | + |
608 | 618 | /* disable interwiki styling */ |
609 | 619 | #bodyContent a.extiw, |
610 | 620 | #bodyContent a.extiw:active { |