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 */
94 div#right-navigation
{
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
{
182 text-decoration: none
;
184 div
.vectorTabs li
.new a
,
185 div
.vectorTabs li
.new a span
,
186 div
.vectorTabs li
.new
a:visited
,
187 div
.vectorTabs li
.new
a:visited span
{
190 /* Variants and Actions */
195 background-image: url
(images
/arrow-down-icon
.png
);
196 background-position: center center
;
197 background-repeat: no-repeat
;
199 body
.rtl div
.vectorMenu
{
206 /* OVERRIDDEN BY COMPLIANT BROWSERS */
207 div
.vectorMenu h5 a
{
208 display: inline-block
;
211 text-decoration: none
;
212 background-image: url
(images
/tab-break
.png
);
213 background-position: bottom right
;
214 background-repeat: no-repeat
;
217 div
.vectorMenu h5
> a
{
220 div
.vectorMenu div
.menu
{
226 /* OVERRIDDEN BY COMPLIANT BROWSERS */
227 body
.rtl div
.vectorMenu div
.menu
{
231 body
.rtl div
.vectorMenu
> div
.menu
{
234 /* Fixes old versions of FireFox */
235 body
.rtl div
.vectorMenu
> div
.menu
,
239 div
.vectorMenu:hover div
.menu
{
244 background-color: white
;
245 border: solid
1px silver
;
253 /* Fixes old versions of FireFox */
258 /* Returns things back to normal in modern versions of FireFox */
269 /* OVERRIDDEN BY COMPLIANT BROWSERS */
270 div
.vectorMenu li a
{
271 display: inline-block
;
275 div
.vectorMenu li
> a
{
295 div#p-search div#simpleSearch input#searchInput
{
297 border: solid
1px #AAAAAA;
301 background-image: url
(images
/search-fade
.png
);
302 background-repeat: repeat-x
;
303 background-position: top left
;
305 div#p-search div#simpleSearch input#searchButton
{
316 div#panel div
.portal
{
319 div#panel div
.portal h5
{
324 padding-left: 1.25em;
329 div#panel div
.portal div
.body
{
333 background-image: url
(images
/portal-break-ltr
.png
);
334 background-repeat: no-repeat
;
335 background-position: top left
;
337 div#panel div
.portal div
.body ul
{
342 div#panel div
.portal div
.body ul li
{
344 padding-bottom: 0.5em;
349 div#panel div
.portal div
.body ul li a
{
352 div#panel div
.portal div
.body ul li
a:visited
{
360 background-image: url
(images/border.png);
361 background-position: top left
;
362 background-repeat: repeat-x
;
373 padding-bottom: 0.5em;
377 div#foot ul#foot-icons
{
380 div#foot ul#foot-places
{
383 div#foot ul#foot-info li
{
386 div#foot ul#foot-icons li
{
391 div#foot ul#foot-places li
{
408 background-repeat: no-repeat
;
409 background-position: 50% 50%;
410 text-decoration: none
;
415 * The following code is highly modified from monobook. It would be nice if the
416 * preftoc id was more human readable like preferences-toc for instance,
417 * howerver this would require backporting the other skins.
426 margin: 0 !important
;
427 padding: 0 !important
;
428 background-image: url
(images
/preferences-break
.png
);
429 background-position: bottom left
;
430 background-repeat: no-repeat
;
440 list-style-type: none
;
441 list-style-image: none
;
442 background-image: url
(images
/preferences-break
.png
);
443 background-position: bottom right
;
444 background-repeat: no-repeat
;
447 #preftoc li:first-child
{
452 display: inline-block
;
456 text-decoration: none
;
457 background-image: none
;
461 text-decoration: underline
;
463 #preftoc li
.selected a
{
465 background-image: url
(images
/preferences-fade
.png
);
466 background-position: bottom
;
467 background-repeat: repeat-x
;
470 text-decoration: none
;
478 border: solid
1px #cccccc;
479 background-color: #f9f9f9;
480 background-image: url
(images
/preferences-base
.png
);
482 #preferences fieldset
.prefsection
{
487 #preferences fieldset
.prefsection fieldset
{
489 border-top: solid
1px #cccccc;
491 #preferences legend
{
494 #preferences fieldset
.prefsection legend
.mainLegend
{
499 padding-right: 0.5em;
501 #preferences td
.htmlform-tip
{
506 #preferences div
.mw-prefs-buttons
{
509 #preferences div
.mw-prefs-buttons input
{
510 margin-right: 0.25em;
515 * The following code is slightly modified from monobook
523 text-decoration: none
;
534 text-decoration: underline
;
539 a
.new
, #p-personal a
.new
{
542 a
.new:visited
, #p-personal a
.new:visited
{
546 /* Inline Elements */
549 vertical-align: middle
;
554 background-color: #aaa;
556 margin: .2em 0 .2em 0;
559 /* Structural Elements */
571 padding-bottom: .17em;
572 border-bottom: 1px solid
#aaa;
575 h1
{ font-size: 188%; }
576 h1
.editsection
{ font-size: 53%; }
577 h2
{ font-size: 150%; }
578 h2
.editsection
{ font-size: 67%; }
586 h3
{ font-size: 132%; }
587 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
588 h4
{ font-size: 116%; }
589 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
590 h5
{ font-size: 100%; }
591 h5
.editsection
{ font-weight: normal
; }
592 h6
{ font-size: 80%; }
593 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
595 margin: .4em 0 .5em 0;
604 border-bottom: 1px dotted black
;
610 font-family: Times
, "Times New Roman", serif
;
615 font-family: Times, "Times New Roman", serif;
619 background-color: #f9f9f9;
623 border: 1px dashed
#2f6fab;
625 background-color: #f9f9f9;
630 list-style-type: square
;
631 margin: .3em 0 0 1.5em;
633 list-style-image: url
(images
/bullet-icon
.png
);
637 margin: .3em 0 0 3.2em;
639 list-style-image: none
;
661 /* we don't want the bottom borders of <h2>s to be visible through
663 background-color: white
;
665 div#content fieldset table
{
666 /* but keep table layouts in forms clean... */
670 div#content fieldset
{
671 border: 1px solid
#2f6fab;
678 padding: 0 0.5em 0.5em;
688 div#content textarea
{
695 /* Table of Contents */
699 border: 1px solid
#aaa;
700 background-color: #f9f9f9;
719 div#content
.toc ul
{
720 list-style-type: none
;
721 list-style-image: none
;
735 div
.floatright
, table
.floatright
{
739 margin: 0 0 .5em .5em;
742 div
.floatright p
{ font-style: italic
; }
743 div
.floatleft
, table
.floatleft
{
747 margin: 0 .5em .5em 0;
750 div
.floatleft p
{ font-style: italic
; }
759 border: 1px solid
#ccc;
760 padding: 3px !important
;
761 background-color: #f9f9f9;
767 border: 1px solid
#ccc;
773 padding: 3px !important
;
778 border: none
!important
;
779 background: none
!important
;
781 div
.magnify a
, div
.magnify img
{
783 border: none
!important
;
784 background: none
!important
;
789 border-width: .5em 0 .8em 1.4em;
795 border-width: .5em 1.4em .8em 0;
798 border: 1px solid
#dddddd;
811 background-color: #ffce7b;
812 border: 1px solid
#ffa500;
817 vertical-align: middle
;
823 margin-bottom: 0.9em;
831 border: 1px solid
#aaa;
832 background-color: #f9f9f9;
844 #contentSub, #contentSub2
{
847 margin: 0 0 1.4em 1em;
863 /* Small for tables and similar */
870 /* Edge Cases for Content */
871 #content h1
, #content h2
{
874 #content h3
, #content h4
, #content h5
{
881 margin-bottom: 0.1em;
886 #content a
[href ^
="gopher://"] {
887 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
890 #content a
[href ^
="https://"],
892 background: url
(images
/lock-icon
.png
) center right no-repeat
;
895 #content a
[href ^
="mailto:"],
897 background: url
(images
/mail-icon
.png
) center right no-repeat
;
900 #content a
[href ^
="news://"] {
901 background: url
(images
/news-icon
.png
) center right no-repeat
;
904 #content a
[href ^
="ftp://"],
906 background: url
(images
/file-icon
.png
) center right no-repeat
;
909 #content a
[href ^
="irc://"],
910 #content a
.extiw
[href ^
="irc://"],
912 background: url
(images
/talk-icon
.png
) center right no-repeat
;
915 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
916 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
917 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
918 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
919 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
920 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
922 background: url
("images/audio-icon.png") center right no-repeat
;
925 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
926 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
927 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
928 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
930 background: url
("images/video-icon.png") center right no-repeat
;
933 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
934 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
935 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
937 background: url
("images/document-icon.png") center right no-repeat
;
940 /* Interwiki Styling (Disabled) */
942 #content a
.extiw:active
{
947 #content a
.external
{
950 #content .plainlinks a
{
951 /* this can be used in the content area to switch off special external link
953 background: none
!important
;
954 padding: 0 !important
;
956 #content .printfooter
{
964 background: url
(images
/user-icon
.png
) left top no-repeat
;
965 padding-left: 15px !important
;
966 text-transform: none
;
969 span
.newpage
, span
.minor
, span
.bot
{
974 border: 1px solid
#aaa;
975 background-color: #f9f9f9;