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
;
88 /* Navigation Containers */
98 /* Navigation Labels */
100 div
.vectorMenu h5 span
{
103 /* Namespaces and Views */
109 background-image: url
(images
/tab-break
.png
);
110 background-position: bottom left
;
111 background-repeat: no-repeat
;
125 div
.vectorTabs ul li
{
128 /* OVERRIDDEN BY COMPLIANT BROWSERS */
129 div
.vectorTabs ul li
{
130 display: inline-block
;
134 background-color: #f3f3f3;
135 background-image: url
(images
/tab-normal-fade
.png
);
136 background-position: bottom left
;
137 background-repeat: repeat-x
;
140 div
.vectorTabs ul
> li
{
143 div
.vectorTabs li
.selected
{
144 background-image: url
(images
/tab-current-fade
.png
);
146 /* OVERRIDDEN BY COMPLIANT BROWSERS */
147 div
.vectorTabs li a
{
148 display: inline-block
;
151 padding-right: 0.5em;
152 background-image: url
(images
/tab-break
.png
);
153 background-position: bottom right
;
154 background-repeat: no-repeat
;
157 div
.vectorTabs li a span
{
162 div
.vectorTabs li
> a
{
165 /* OVERRIDDEN BY COMPLIANT BROWSERS */
166 div
.vectorTabs a span
{
167 display: inline-block
;
172 div
.vectorTabs a
> span
{
176 div
.vectorTabs li
.selected a
,
177 div
.vectorTabs li
.selected a span
,
178 div
.vectorTabs li
.selected
a:visited
179 div
.vectorTabs li
.selected
a:visited span
{
181 text-decoration: none
;
183 div
.vectorTabs li
.new a
,
184 div
.vectorTabs li
.new a span
,
185 div
.vectorTabs li
.new
a:visited
,
186 div
.vectorTabs li
.new
a:visited span
{
189 /* Variants and Actions */
194 background-image: url
(images
/arrow-down-icon
.png
);
195 background-position: center center
;
196 background-repeat: no-repeat
;
198 body
.rtl div
.vectorMenu
{
205 /* OVERRIDDEN BY COMPLIANT BROWSERS */
206 div
.vectorMenu h5 a
{
207 display: inline-block
;
210 text-decoration: none
;
211 background-image: url
(images
/tab-break
.png
);
212 background-position: bottom right
;
213 background-repeat: no-repeat
;
216 div
.vectorMenu h5
> a
{
219 div
.vectorMenu div
.menu
{
225 /* OVERRIDDEN BY COMPLIANT BROWSERS */
226 body
.rtl div
.vectorMenu div
.menu
{
230 body
.rtl div
.vectorMenu
> div
.menu
{
233 /* Fixes old versions of FireFox */
234 body
.rtl div
.vectorMenu
> div
.menu
,
238 div
.vectorMenu:hover div
.menu
{
243 background-color: white
;
244 border: solid
1px silver
;
252 /* Fixes old versions of FireFox */
257 /* Returns things back to normal in modern versions of FireFox */
268 /* OVERRIDDEN BY COMPLIANT BROWSERS */
269 div
.vectorMenu li a
{
270 display: inline-block
;
275 div
.vectorMenu li
> a
{
298 border: solid
1px #AAAAAA;
299 background-color: white
;
300 background-image: url
(images
/search-fade
.png
);
301 background-position: top left
;
302 background-repeat: repeat-x
;
304 #simpleSearch input#searchInput
{
311 background-color: transparent
;
313 /* OVERRIDDEN BY COMPLIANT BROWSERS */
314 #simpleSearch button#searchButton
{
324 background-color: transparent
;
325 background-image: url
(images/search.png);
326 background-position: center center
;
327 background-repeat: no-repeat
;
330 #simpleSearch > button#searchButton
{
343 #panel div
.portal h5
{
348 padding-left: 1.25em;
353 #panel div
.portal div
.body
{
357 background-image: url
(images
/portal-break-ltr
.png
);
358 background-repeat: no-repeat
;
359 background-position: top left
;
361 #panel div
.portal div
.body ul
{
366 #panel div
.portal div
.body ul li
{
368 padding-bottom: 0.5em;
373 #panel div
.portal div
.body ul li a
{
376 #panel div
.portal div
.body ul li
a:visited
{
384 background-image: url
(images/border.png);
385 background-position: top left
;
386 background-repeat: repeat-x
;
397 padding-bottom: 0.5em;
407 #foot #foot-info li
{
410 #foot #foot-icons li
{
415 #foot #foot-places li
{
432 background-repeat: no-repeat
;
433 background-position: 50% 50%;
434 text-decoration: none
;
439 * The following code is highly modified from monobook. It would be nice if the
440 * preftoc id was more human readable like preferences-toc for instance,
441 * howerver this would require backporting the other skins.
450 margin: 0 !important
;
451 padding: 0 !important
;
452 background-image: url
(images
/preferences-break
.png
);
453 background-position: bottom left
;
454 background-repeat: no-repeat
;
464 list-style-type: none
;
465 list-style-image: none
;
466 background-image: url
(images
/preferences-break
.png
);
467 background-position: bottom right
;
468 background-repeat: no-repeat
;
471 #preftoc li:first-child
{
476 display: inline-block
;
480 text-decoration: none
;
481 background-image: none
;
485 text-decoration: underline
;
487 #preftoc li
.selected a
{
488 background-image: url
(images
/preferences-fade
.png
);
489 background-position: bottom
;
490 background-repeat: repeat-x
;
492 text-decoration: none
;
500 border: solid
1px #cccccc;
501 background-color: #f9f9f9;
502 background-image: url
(images
/preferences-base
.png
);
504 #preferences fieldset
.prefsection
{
509 #preferences fieldset
.prefsection fieldset
{
511 border-top: solid
1px #cccccc;
513 #preferences legend
{
516 #preferences fieldset
.prefsection legend
.mainLegend
{
521 padding-right: 0.5em;
523 #preferences td
.htmlform-tip
{
528 #preferences div
.mw-prefs-buttons
{
531 #preferences div
.mw-prefs-buttons input
{
532 margin-right: 0.25em;
537 * The following code is slightly modified from monobook
545 text-decoration: none
;
556 text-decoration: underline
;
561 a
.new
, #p-personal a
.new
{
564 a
.new:visited
, #p-personal a
.new:visited
{
568 /* Inline Elements */
571 vertical-align: middle
;
576 background-color: #aaa;
578 margin: .2em 0 .2em 0;
581 /* Structural Elements */
593 padding-bottom: .17em;
594 border-bottom: 1px solid
#aaa;
597 h1
{ font-size: 188%; }
598 h1
.editsection
{ font-size: 53%; }
599 h2
{ font-size: 150%; }
600 h2
.editsection
{ font-size: 67%; }
608 h3
{ font-size: 132%; }
609 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
610 h4
{ font-size: 116%; }
611 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
612 h5
{ font-size: 100%; }
613 h5
.editsection
{ font-weight: normal
; }
614 h6
{ font-size: 80%; }
615 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
617 margin: .4em 0 .5em 0;
626 border-bottom: 1px dotted black
;
632 font-family: Times
, "Times New Roman", serif
;
637 font-family: Times, "Times New Roman", serif;
641 background-color: #f9f9f9;
645 border: 1px dashed
#2f6fab;
647 background-color: #f9f9f9;
652 list-style-type: square
;
653 margin: .3em 0 0 1.5em;
655 list-style-image: url
(images
/bullet-icon
.png
);
659 margin: .3em 0 0 3.2em;
661 list-style-image: none
;
683 /* we don't want the bottom borders of <h2>s to be visible through
685 background-color: white
;
687 #content fieldset table
{
688 /* but keep table layouts in forms clean... */
693 border: 1px solid
#2f6fab;
700 padding: 0 0.5em 0.5em;
717 /* Table of Contents */
721 border: 1px solid
#aaa;
722 background-color: #f9f9f9;
742 list-style-type: none
;
743 list-style-image: none
;
757 div
.floatright
, table
.floatright
{
761 margin: 0 0 .5em .5em;
764 div
.floatright p
{ font-style: italic
; }
765 div
.floatleft
, table
.floatleft
{
769 margin: 0 .5em .5em 0;
772 div
.floatleft p
{ font-style: italic
; }
779 background-color: transparent
;
782 border: 1px solid
#ccc;
783 padding: 3px !important
;
784 background-color: #f9f9f9;
790 border: 1px solid
#ccc;
796 padding: 3px !important
;
801 border: none
!important
;
802 background: none
!important
;
804 div
.magnify a
, div
.magnify img
{
806 border: none
!important
;
807 background: none
!important
;
812 border-width: .5em 0 .8em 1.4em;
818 border-width: .5em 1.4em .8em 0;
821 border: 1px solid
#dddddd;
834 background-color: #ffce7b;
835 border: 1px solid
#ffa500;
840 vertical-align: middle
;
846 margin-bottom: 0.9em;
854 border: 1px solid
#aaa;
855 background-color: #f9f9f9;
867 #contentSub, #contentSub2
{
870 margin: 0 0 1.4em 1em;
886 /* Small for tables and similar */
893 /* Edge Cases for Content */
894 #content h1
, #content h2
{
897 #content h3
, #content h4
, #content h5
{
904 margin-bottom: 0.1em;
909 #content a
[href ^
="gopher://"] {
910 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
913 #content a
[href ^
="https://"],
915 background: url
(images
/lock-icon
.png
) center right no-repeat
;
918 #content a
[href ^
="mailto:"],
920 background: url
(images
/mail-icon
.png
) center right no-repeat
;
923 #content a
[href ^
="news://"] {
924 background: url
(images
/news-icon
.png
) center right no-repeat
;
927 #content a
[href ^
="ftp://"],
929 background: url
(images
/file-icon
.png
) center right no-repeat
;
932 #content a
[href ^
="irc://"],
933 #content a
.extiw
[href ^
="irc://"],
935 background: url
(images
/talk-icon
.png
) center right no-repeat
;
938 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
939 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
940 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
941 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
942 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
943 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
945 background: url
("images/audio-icon.png") center right no-repeat
;
948 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
949 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
950 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
951 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
953 background: url
("images/video-icon.png") center right no-repeat
;
956 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
957 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
958 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
960 background: url
("images/document-icon.png") center right no-repeat
;
963 /* Interwiki Styling (Disabled) */
965 #content a
.extiw:active
{
970 #content a
.external
{
973 #content .printfooter
{
976 /* Icon for Usernames */
980 background: url
(images
/user-icon
.png
) left top no-repeat
;
981 padding-left: 15px !important
;
982 text-transform: none
;
985 span
.newpage
, span
.minor
, span
.bot
{
989 border: 1px solid
#aaa;
990 background-color: #f9f9f9;