2 * main-rtl.css is automatically generated using CSSJanus, a python script for
3 * creating RTL versions of otherwise LTR stylesheets.
5 * You may download the tool to rebuild this stylesheet
6 * http://code.google.com/p/cssjanus/
8 * An online version of this tool can be used at:
9 * http://cssjanus.commoner.com/
11 * The following command is used to generate the RTL version of this file
12 * ./cssjanus.py --swap_ltr_rtl_in_url < main-ltr.css > main-rtl.css
14 * Any rules which should not be flipped should be prepended with @noflip in
23 font-family: sans-serif
;
27 background-color: #f3f3f3;
28 background-image: url
(images
/page-base
.png
);
34 background-image: url
(images/border.png);
35 background-position: top left
;
36 background-repeat: repeat-y
;
37 background-color: white
;
42 background-color: white
;
43 background-image: url
(images
/page-fade
.png
);
44 background-position: bottom left
;
45 background-repeat: repeat-x
;
51 background-image: url
(images/border.png);
52 background-position: bottom left
;
53 background-repeat: repeat-x
;
65 /* Hide empty portlets */
93 /* Navigation Containers */
103 /* Navigation Labels */
105 div
.vectorMenu h5 span
{
108 /* Namespaces and Views */
114 background-image: url
(images
/tab-break
.png
);
115 background-position: bottom left
;
116 background-repeat: no-repeat
;
130 div
.vectorTabs ul li
{
133 /* OVERRIDDEN BY COMPLIANT BROWSERS */
134 div
.vectorTabs ul li
{
135 line-height: 1.125em;
136 display: inline-block
;
140 background-color: #f3f3f3;
141 background-image: url
(images
/tab-normal-fade
.png
);
142 background-position: bottom left
;
143 background-repeat: repeat-x
;
147 div
.vectorTabs ul
> li
{
150 div
.vectorTabs li
.selected
{
151 background-image: url
(images
/tab-current-fade
.png
);
153 /* OVERRIDDEN BY COMPLIANT BROWSERS */
154 div
.vectorTabs li a
{
155 display: inline-block
;
158 padding-right: 0.4em;
159 background-image: url
(images
/tab-break
.png
);
160 background-position: bottom right
;
161 background-repeat: no-repeat
;
164 div
.vectorTabs li a span
{
168 div
.vectorTabs li a span
{
172 div
.vectorTabs li
> a
{
175 /* OVERRIDDEN BY COMPLIANT BROWSERS */
176 div
.vectorTabs a span
{
177 display: inline-block
;
182 div
.vectorTabs a
> span
{
186 div
.vectorTabs li
.selected a
,
187 div
.vectorTabs li
.selected a span
,
188 div
.vectorTabs li
.selected
a:visited
189 div
.vectorTabs li
.selected
a:visited span
{
191 text-decoration: none
;
193 div
.vectorTabs li
.new a
,
194 div
.vectorTabs li
.new a span
,
195 div
.vectorTabs li
.new
a:visited
,
196 div
.vectorTabs li
.new
a:visited span
{
199 /* Variants and Actions */
204 background-image: url
(images
/arrow-down-icon
.png
);
205 background-position: center center
;
206 background-repeat: no-repeat
;
209 body
.rtl div
.vectorMenu
{
212 /* OVERRIDDEN BY COMPLIANT BROWSERS */
214 #head div
.vectorMenu h5
{
216 background-image: url
(images
/tab-break
.png
);
217 background-repeat: no-repeat
;
220 #head div
.vectorMenu
> h5
{
221 background-image: none
;
223 #head div
.vectorMenu h5
{
224 background-position: bottom left
;
227 /* OVERRIDDEN BY COMPLIANT BROWSERS */
229 div
.vectorMenu h5 a
{
230 display: inline-block
;
233 text-decoration: none
;
234 background-image: url
(images
/tab-break
.png
);
235 background-repeat: no-repeat
;
238 background-position: bottom right
;
241 div
.vectorMenu h5
> a
{
244 div
.vectorMenu div
.menu
{
250 /* OVERRIDDEN BY COMPLIANT BROWSERS */
252 body
.rtl div
.vectorMenu div
.menu
{
257 body
.rtl div
.vectorMenu
> div
.menu
{
260 /* Fixes old versions of FireFox */
262 body
.rtl div
.vectorMenu
> div
.menu
,
266 div
.vectorMenu:hover div
.menu
{
271 background-color: white
;
272 border: solid
1px silver
;
275 list-style-image: none
;
276 list-style-type: none
;
282 /* Fixes old versions of FireFox */
287 /* Returns things back to normal in modern versions of FireFox */
299 /* OVERRIDDEN BY COMPLIANT BROWSERS */
300 div
.vectorMenu li a
{
301 display: inline-block
;
306 div
.vectorMenu li
> a
{
309 div
.vectorMenu li a
{
314 div
.vectorMenu li
.selected a
,
315 div
.vectorMenu li
.selected
a:visited
{
317 text-decoration: none
;
339 border: solid
1px #AAAAAA;
340 background-color: white
;
341 background-image: url
(images
/search-fade
.png
);
342 background-position: top left
;
343 background-repeat: repeat-x
;
345 #simpleSearch label
{
349 #simpleSearch input#searchInput
{
356 background-color: transparent
;
358 /* OVERRIDDEN BY COMPLIANT BROWSERS */
359 #simpleSearch button#searchButton
{
366 background-color: transparent
;
367 background-image: url
(images
/search-ltr
.png
);
368 background-position: center center
;
369 background-repeat: no-repeat
;
372 #simpleSearch > button#searchButton
{
375 .suggestions-special .special-label {
379 .suggestions-special .special-query {
383 .suggestions-special .special-hover {
384 background-color: silver
;
395 padding-bottom: 1.5em;
397 #panel div
.portal h5
{
402 padding-left: 1.75em;
407 #panel div
.portal div
.body
{
411 background-image: url
(images
/portal-break
.png
);
412 background-repeat: no-repeat
;
413 background-position: top left
;
415 #panel div
.portal div
.body ul
{
417 list-style-image: none
;
418 list-style-type: none
;
422 #panel div
.portal div
.body ul li
{
423 line-height: 1.125em;
425 padding-bottom: 0.5em;
430 #panel div
.portal div
.body ul li a
{
433 #panel div
.portal div
.body ul li
a:visited
{
441 background-image: url
(images/border.png);
442 background-position: top left
;
443 background-repeat: repeat-x
;
447 list-style-image: none
;
448 list-style-type: none
;
456 padding-bottom: 0.5em;
460 #footer #footer-icons
{
464 body
.ltr #footer #footer-places
{
467 #footer #footer-info li
{
470 #footer #footer-icons li
{
475 #footer #footer-places li
{
492 background-repeat: no-repeat
;
493 background-position: center center
;
494 text-decoration: none
;
499 * The following code is highly modified from monobook. It would be nice if the
500 * preftoc id was more human readable like preferences-toc for instance,
501 * howerver this would require backporting the other skins.
510 margin: 0 !important
;
511 padding: 0 !important
;
512 background-image: url
(images
/preferences-break
.png
);
513 background-position: bottom left
;
514 background-repeat: no-repeat
;
524 list-style-type: none
;
525 list-style-image: none
;
526 background-image: url
(images
/preferences-break
.png
);
527 background-position: bottom right
;
528 background-repeat: no-repeat
;
531 #preftoc li:first-child
{
536 display: inline-block
;
540 text-decoration: none
;
541 background-image: none
;
545 text-decoration: underline
;
547 #preftoc li
.selected a
{
548 background-image: url
(images
/preferences-fade
.png
);
549 background-position: bottom
;
550 background-repeat: repeat-x
;
552 text-decoration: none
;
560 border: solid
1px #cccccc;
561 background-color: #f9f9f9;
562 background-image: url
(images
/preferences-base
.png
);
564 #preferences fieldset
.prefsection
{
569 #preferences fieldset
.prefsection fieldset
{
571 border-top: solid
1px #cccccc;
573 #preferences legend
{
576 #preferences fieldset
.prefsection legend
.mainLegend
{
581 padding-right: 0.5em;
583 #preferences td
.htmlform-tip
{
588 #preferences div
.mw-prefs-buttons
{
591 #preferences div
.mw-prefs-buttons input
{
592 margin-right: 0.25em;
596 * Styles for the user login and create account forms
598 #userlogin, #userloginForm
{
599 border: solid
1px #cccccc;
613 * The following code is slightly modified from monobook
624 text-decoration: none
;
635 text-decoration: underline
;
640 a
.new
, #p-personal a
.new
{
643 a
.new:visited
, #p-personal a
.new:visited
{
647 /* Inline Elements */
650 vertical-align: middle
;
655 background-color: #aaa;
657 margin: .2em 0 .2em 0;
660 /* Structural Elements */
672 padding-bottom: .17em;
673 border-bottom: 1px solid
#aaa;
676 h1
{ font-size: 188%; }
677 h1
.editsection
{ font-size: 53%; }
678 h2
{ font-size: 150%; }
679 h2
.editsection
{ font-size: 67%; }
687 h3
{ font-size: 132%; }
688 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
689 h4
{ font-size: 116%; }
690 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
691 h5
{ font-size: 100%; }
692 h5
.editsection
{ font-weight: normal
; }
693 h6
{ font-size: 80%; }
694 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
696 margin: .4em 0 .5em 0;
705 border-bottom: 1px dotted black
;
711 font-family: Times
, "Times New Roman", serif
;
716 font-family: Times, "Times New Roman", serif;
720 background-color: #f9f9f9;
724 border: 1px dashed
#2f6fab;
726 background-color: #f9f9f9;
731 list-style-type: square
;
732 margin: .3em 0 0 1.5em;
734 list-style-image: url
(images
/bullet-icon
.png
);
738 margin: .3em 0 0 3.2em;
740 list-style-image: none
;
762 /* we don't want the bottom borders of <h2>s to be visible through
764 background-color: white
;
767 /* but keep table layouts in forms clean... */
772 border: 1px solid
#2f6fab;
779 padding: 0 0.5em 0.5em;
796 /* Table of Contents */
800 border: 1px solid
#aaa;
801 background-color: #f9f9f9;
821 list-style-type: none
;
822 list-style-image: none
;
836 div
.floatright
, table
.floatright
{
840 margin: 0 0 .5em .5em;
843 div
.floatright p
{ font-style: italic
; }
844 div
.floatleft
, table
.floatleft
{
848 margin: 0 .5em .5em 0;
851 div
.floatleft p
{ font-style: italic
; }
858 background-color: transparent
;
861 border: 1px solid
#ccc;
862 padding: 3px !important
;
863 background-color: #f9f9f9;
869 border: 1px solid
#ccc;
875 padding: 3px !important
;
880 border: none
!important
;
881 background: none
!important
;
883 div
.magnify a
, div
.magnify img
{
885 border: none
!important
;
886 background: none
!important
;
891 border-width: .5em 0 .8em 1.4em;
897 border-width: .5em 1.4em .8em 0;
900 border: 1px solid
#dddddd;
913 background-color: #ffce7b;
914 border: 1px solid
#ffa500;
919 vertical-align: middle
;
931 margin-bottom: 0.9em;
935 border: 1px solid
#aaa;
936 background-color: #f9f9f9;
948 #contentSub, #contentSub2
{
951 margin: 0 0 1.4em 1em;
967 /* Small for tables and similar */
974 /* Edge Cases for Content */
985 margin-bottom: 0.1em;
991 #content a
[href ^
="gopher://"] {
992 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
995 #content a
[href ^
="https://"],
997 background: url
(images
/lock-icon
.png
) center right no-repeat
;
1000 #content a
[href ^
="mailto:"],
1002 background: url
(images
/mail-icon
.png
) center right no-repeat
;
1003 padding: 0 18px 0 0;
1005 #content a
[href ^
="news://"] {
1006 background: url
(images
/news-icon
.png
) center right no-repeat
;
1007 padding: 0 18px 0 0;
1009 #content a
[href ^
="ftp://"],
1011 background: url
(images
/file-icon
.png
) center right no-repeat
;
1012 padding: 0 18px 0 0;
1014 #content a
[href ^
="irc://"],
1015 #content a
.extiw
[href ^
="irc://"],
1017 background: url
(images
/talk-icon
.png
) center right no-repeat
;
1018 padding: 0 18px 0 0;
1020 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
1021 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
1022 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
1023 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
1024 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
1025 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
1027 background: url
("images/audio-icon.png") center right no-repeat
;
1028 padding: 0 18px 0 0;
1030 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
1031 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
1032 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
1033 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
1035 background: url
("images/video-icon.png") center right no-repeat
;
1036 padding: 0 18px 0 0;
1038 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
1039 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
1040 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
1042 background: url
("images/document-icon.png") center right no-repeat
;
1043 padding: 0 18px 0 0;
1045 /* Interwiki Styling (Disabled) */
1047 #content a
.extiw:active
{
1052 #content a
.external
{
1055 #content .printfooter
{
1058 /* Icon for Usernames */
1062 background: url
(images
/user-icon
.png
) left top no-repeat
;
1063 padding-left: 15px !important
;
1064 text-transform: none
;
1068 border: 1px solid
#aaa;
1069 background-color: #f9f9f9;
1084 /* Watch/Unwatch Icon Styling */
1098 #ca-unwatch.icon a
{
1099 background-image: url
(images
/watch-icons
.png
);
1100 background-position: -43px 60%;
1103 background-image: url
(images
/watch-icons
.png
);
1104 background-position: 5px 60%;
1106 #ca-unwatch.icon
a:hover
{
1107 background-image: url
(images
/watch-icons
.png
);
1108 background-position: -67px 60%;
1110 #ca-watch.icon
a:hover
{
1111 background-image: url
(images
/watch-icons
.png
);
1112 background-position: -19px 60%;
1114 #ca-unwatch.icon a
.loading
,
1115 #ca-watch.icon a
.loading
{
1116 background-image: url
(images
/watch-icon-loading
.gif
);
1117 background-position: center
60%;
1119 #ca-unwatch.icon a span
,
1120 #ca-watch.icon a span
{
1124 background-image:url
(images
/tab-break
.png
);
1125 background-position:right bottom
;
1126 background-repeat:no-repeat
;