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 right
;
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 right
;
45 background-repeat: repeat-x
;
51 background-image: url
(images/border.png);
52 background-position: bottom right
;
53 background-repeat: repeat-x
;
89 /* Navigation Containers */
99 /* Navigation Labels */
101 div
.vectorMenu h5 span
{
104 /* Namespaces and Views */
110 background-image: url
(images
/tab-break
.png
);
111 background-position: bottom right
;
112 background-repeat: no-repeat
;
126 div
.vectorTabs ul li
{
129 /* OVERRIDDEN BY COMPLIANT BROWSERS */
130 div
.vectorTabs ul li
{
131 line-height: 1.125em;
132 display: inline-block
;
136 background-color: #f3f3f3;
137 background-image: url
(images
/tab-normal-fade
.png
);
138 background-position: bottom right
;
139 background-repeat: repeat-x
;
142 div
.vectorTabs ul
> li
{
145 div
.vectorTabs li
.selected
{
146 background-image: url
(images
/tab-current-fade
.png
);
148 /* OVERRIDDEN BY COMPLIANT BROWSERS */
149 div
.vectorTabs li a
{
150 display: inline-block
;
152 padding-right: 0.5em;
154 background-image: url
(images
/tab-break
.png
);
155 background-position: bottom left
;
156 background-repeat: no-repeat
;
159 div
.vectorTabs li a span
{
164 div
.vectorTabs li
> a
{
167 /* OVERRIDDEN BY COMPLIANT BROWSERS */
168 div
.vectorTabs a span
{
169 display: inline-block
;
174 div
.vectorTabs a
> span
{
178 div
.vectorTabs li
.selected a
,
179 div
.vectorTabs li
.selected a span
,
180 div
.vectorTabs li
.selected
a:visited
181 div
.vectorTabs li
.selected
a:visited span
{
183 text-decoration: none
;
185 div
.vectorTabs li
.new a
,
186 div
.vectorTabs li
.new a span
,
187 div
.vectorTabs li
.new
a:visited
,
188 div
.vectorTabs li
.new
a:visited span
{
191 /* Variants and Actions */
196 background-image: url
(images
/arrow-down-icon
.png
);
197 background-position: center center
;
198 background-repeat: no-repeat
;
200 body
.rtl div
.vectorMenu
{
207 /* OVERRIDDEN BY COMPLIANT BROWSERS */
208 div
.vectorMenu h5 a
{
209 display: inline-block
;
212 text-decoration: none
;
213 background-image: url
(images
/tab-break
.png
);
214 background-position: bottom left
;
215 background-repeat: no-repeat
;
218 div
.vectorMenu h5
> a
{
221 div
.vectorMenu div
.menu
{
227 /* OVERRIDDEN BY COMPLIANT BROWSERS */
228 body
.rtl div
.vectorMenu div
.menu
{
232 body
.rtl div
.vectorMenu
> div
.menu
{
235 /* Fixes old versions of FireFox */
236 body
.rtl div
.vectorMenu
> div
.menu
,
240 div
.vectorMenu:hover div
.menu
{
245 background-color: white
;
246 border: solid
1px silver
;
254 /* Fixes old versions of FireFox */
259 /* Returns things back to normal in modern versions of FireFox */
271 /* OVERRIDDEN BY COMPLIANT BROWSERS */
272 div
.vectorMenu li a
{
273 display: inline-block
;
278 div
.vectorMenu li
> a
{
301 border: solid
1px #AAAAAA;
302 background-color: white
;
303 background-image: url
(images
/search-fade
.png
);
304 background-position: top right
;
305 background-repeat: repeat-x
;
307 #simpleSearch input#searchInput
{
314 background-color: transparent
;
316 /* OVERRIDDEN BY COMPLIANT BROWSERS */
317 #simpleSearch button#searchButton
{
324 background-color: transparent
;
325 background-image: url
(images
/search-rtl
.png
);
326 background-position: center center
;
327 background-repeat: no-repeat
;
330 #simpleSearch > button#searchButton
{
343 #panel div
.portal h5
{
348 padding-right: 1.25em;
353 #panel div
.portal div
.body
{
356 margin-right: 1.25em;
357 background-image: url
(images
/portal-break-rtl
.png
);
358 background-repeat: no-repeat
;
359 background-position: top right
;
361 #panel div
.portal div
.body ul
{
363 list-style-image: none
;
364 list-style-type: none
;
368 #panel div
.portal div
.body ul li
{
369 line-height: 1.125em;
371 padding-bottom: 0.5em;
376 #panel div
.portal div
.body ul li a
{
379 #panel div
.portal div
.body ul li
a:visited
{
387 background-image: url
(images/border.png);
388 background-position: top right
;
389 background-repeat: repeat-x
;
393 list-style-image: none
;
394 list-style-type: none
;
402 padding-bottom: 0.5em;
406 #footer #footer-icons
{
409 #footer #footer-places
{
412 #footer #footer-info li
{
415 #footer #footer-icons li
{
420 #footer #footer-places li
{
437 background-repeat: no-repeat
;
438 background-position: 50% 50%;
439 text-decoration: none
;
444 * The following code is highly modified from monobook. It would be nice if the
445 * preftoc id was more human readable like preferences-toc for instance,
446 * howerver this would require backporting the other skins.
455 margin: 0 !important
;
456 padding: 0 !important
;
457 background-image: url
(images
/preferences-break
.png
);
458 background-position: bottom right
;
459 background-repeat: no-repeat
;
469 list-style-type: none
;
470 list-style-image: none
;
471 background-image: url
(images
/preferences-break
.png
);
472 background-position: bottom left
;
473 background-repeat: no-repeat
;
476 #preftoc li:first-child
{
481 display: inline-block
;
485 text-decoration: none
;
486 background-image: none
;
490 text-decoration: underline
;
492 #preftoc li
.selected a
{
493 background-image: url
(images
/preferences-fade
.png
);
494 background-position: bottom
;
495 background-repeat: repeat-x
;
497 text-decoration: none
;
505 border: solid
1px #cccccc;
506 background-color: #f9f9f9;
507 background-image: url
(images
/preferences-base
.png
);
509 #preferences fieldset
.prefsection
{
514 #preferences fieldset
.prefsection fieldset
{
516 border-top: solid
1px #cccccc;
518 #preferences legend
{
521 #preferences fieldset
.prefsection legend
.mainLegend
{
525 padding-right: 0.5em;
528 #preferences td
.htmlform-tip
{
533 #preferences div
.mw-prefs-buttons
{
536 #preferences div
.mw-prefs-buttons input
{
542 * The following code is slightly modified from monobook
550 text-decoration: none
;
561 text-decoration: underline
;
566 a
.new
, #p-personal a
.new
{
569 a
.new:visited
, #p-personal a
.new:visited
{
573 /* Inline Elements */
576 vertical-align: middle
;
581 background-color: #aaa;
583 margin: .2em 0 .2em 0;
586 /* Structural Elements */
598 padding-bottom: .17em;
599 border-bottom: 1px solid
#aaa;
602 h1
{ font-size: 188%; }
603 h1
.editsection
{ font-size: 53%; }
604 h2
{ font-size: 150%; }
605 h2
.editsection
{ font-size: 67%; }
613 h3
{ font-size: 132%; }
614 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
615 h4
{ font-size: 116%; }
616 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
617 h5
{ font-size: 100%; }
618 h5
.editsection
{ font-weight: normal
; }
619 h6
{ font-size: 80%; }
620 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
622 margin: .4em 0 .5em 0;
631 border-bottom: 1px dotted black
;
637 font-family: Times
, "Times New Roman", serif
;
642 font-family: Times, "Times New Roman", serif;
646 background-color: #f9f9f9;
650 border: 1px dashed
#2f6fab;
652 background-color: #f9f9f9;
657 list-style-type: square
;
658 margin: .3em 1.5em 0 0;
660 list-style-image: url
(images
/bullet-icon
.png
);
664 margin: .3em 3.2em 0 0;
666 list-style-image: none
;
688 /* we don't want the bottom borders of <h2>s to be visible through
690 background-color: white
;
693 /* but keep table layouts in forms clean... */
698 border: 1px solid
#2f6fab;
705 padding: 0 0.5em 0.5em;
722 /* Table of Contents */
726 border: 1px solid
#aaa;
727 background-color: #f9f9f9;
747 list-style-type: none
;
748 list-style-image: none
;
762 div
.floatright
, table
.floatright
{
766 margin: 0 .5em .5em 0;
769 div
.floatright p
{ font-style: italic
; }
770 div
.floatleft
, table
.floatleft
{
774 margin: 0 0 .5em .5em;
777 div
.floatleft p
{ font-style: italic
; }
784 background-color: transparent
;
787 border: 1px solid
#ccc;
788 padding: 3px !important
;
789 background-color: #f9f9f9;
795 border: 1px solid
#ccc;
801 padding: 3px !important
;
806 border: none
!important
;
807 background: none
!important
;
809 div
.magnify a
, div
.magnify img
{
811 border: none
!important
;
812 background: none
!important
;
817 border-width: .5em 1.4em .8em 0;
823 border-width: .5em 0 .8em 1.4em;
826 border: 1px solid
#dddddd;
839 background-color: #ffce7b;
840 border: 1px solid
#ffa500;
845 vertical-align: middle
;
857 margin-bottom: 0.9em;
861 border: 1px solid
#aaa;
862 background-color: #f9f9f9;
874 #contentSub, #contentSub2
{
877 margin: 0 1em 1.4em 0;
893 /* Small for tables and similar */
900 /* Edge Cases for Content */
911 margin-bottom: 0.1em;
916 #content a
[href ^
="gopher://"] {
917 background: url
(images
/external-link-rtl-icon
.png
) center left no-repeat
;
920 #content a
[href ^
="https://"],
922 background: url
(images
/lock-icon
.png
) center left no-repeat
;
925 #content a
[href ^
="mailto:"],
927 background: url
(images
/mail-icon
.png
) center left no-repeat
;
930 #content a
[href ^
="news://"] {
931 background: url
(images
/news-icon
.png
) center left no-repeat
;
934 #content a
[href ^
="ftp://"],
936 background: url
(images
/file-icon
.png
) center left no-repeat
;
939 #content a
[href ^
="irc://"],
940 #content a
.extiw
[href ^
="irc://"],
942 background: url
(images
/talk-icon
.png
) center left no-repeat
;
945 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
946 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
947 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
948 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
949 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
950 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
952 background: url
("images/audio-icon.png") center left no-repeat
;
955 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
956 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
957 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
958 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
960 background: url
("images/video-icon.png") center left no-repeat
;
963 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
964 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
965 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
967 background: url
("images/document-icon.png") center left no-repeat
;
970 /* Interwiki Styling (Disabled) */
972 #content a
.extiw:active
{
977 #content a
.external
{
980 #content .printfooter
{
983 /* Icon for Usernames */
987 background: url
(images
/user-icon
.png
) right top no-repeat
;
988 padding-right: 15px !important
;
989 text-transform: none
;
993 border: 1px solid
#aaa;
994 background-color: #f9f9f9;