f2c67be70e5e58772c2481597fd3c64cfcad70fb
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
;
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 right
;
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 right
;
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
;
150 padding-right: 0.5em;
152 background-image: url
(images
/tab-break
.png
);
153 background-position: bottom left
;
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 left
;
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 right
;
302 background-repeat: repeat-x
;
304 #simpleSearch input#searchInput
{
311 background-color: transparent
;
313 /* OVERRIDDEN BY COMPLIANT BROWSERS */
314 #simpleSearch button#searchButton
{
321 background-color: transparent
;
322 background-image: url
(images
/search-rtl
.png
);
323 background-position: center center
;
324 background-repeat: no-repeat
;
327 #simpleSearch > button#searchButton
{
340 #panel div
.portal h5
{
345 padding-right: 1.25em;
350 #panel div
.portal div
.body
{
353 margin-right: 1.25em;
354 background-image: url
(images
/portal-break-rtl
.png
);
355 background-repeat: no-repeat
;
356 background-position: top right
;
358 #panel div
.portal div
.body ul
{
363 #panel div
.portal div
.body ul li
{
365 padding-bottom: 0.5em;
370 #panel div
.portal div
.body ul li a
{
373 #panel div
.portal div
.body ul li
a:visited
{
381 background-image: url
(images/border.png);
382 background-position: top right
;
383 background-repeat: repeat-x
;
394 padding-bottom: 0.5em;
404 #foot #foot-info li
{
407 #foot #foot-icons li
{
412 #foot #foot-places li
{
429 background-repeat: no-repeat
;
430 background-position: 50% 50%;
431 text-decoration: none
;
436 * The following code is highly modified from monobook. It would be nice if the
437 * preftoc id was more human readable like preferences-toc for instance,
438 * howerver this would require backporting the other skins.
447 margin: 0 !important
;
448 padding: 0 !important
;
449 background-image: url
(images
/preferences-break
.png
);
450 background-position: bottom right
;
451 background-repeat: no-repeat
;
461 list-style-type: none
;
462 list-style-image: none
;
463 background-image: url
(images
/preferences-break
.png
);
464 background-position: bottom left
;
465 background-repeat: no-repeat
;
468 #preftoc li:first-child
{
473 display: inline-block
;
477 text-decoration: none
;
478 background-image: none
;
482 text-decoration: underline
;
484 #preftoc li
.selected a
{
485 background-image: url
(images
/preferences-fade
.png
);
486 background-position: bottom
;
487 background-repeat: repeat-x
;
489 text-decoration: none
;
497 border: solid
1px #cccccc;
498 background-color: #f9f9f9;
499 background-image: url
(images
/preferences-base
.png
);
501 #preferences fieldset
.prefsection
{
506 #preferences fieldset
.prefsection fieldset
{
508 border-top: solid
1px #cccccc;
510 #preferences legend
{
513 #preferences fieldset
.prefsection legend
.mainLegend
{
517 padding-right: 0.5em;
520 #preferences td
.htmlform-tip
{
525 #preferences div
.mw-prefs-buttons
{
528 #preferences div
.mw-prefs-buttons input
{
534 * The following code is slightly modified from monobook
542 text-decoration: none
;
553 text-decoration: underline
;
558 a
.new
, #p-personal a
.new
{
561 a
.new:visited
, #p-personal a
.new:visited
{
565 /* Inline Elements */
568 vertical-align: middle
;
573 background-color: #aaa;
575 margin: .2em 0 .2em 0;
578 /* Structural Elements */
590 padding-bottom: .17em;
591 border-bottom: 1px solid
#aaa;
594 h1
{ font-size: 188%; }
595 h1
.editsection
{ font-size: 53%; }
596 h2
{ font-size: 150%; }
597 h2
.editsection
{ font-size: 67%; }
605 h3
{ font-size: 132%; }
606 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
607 h4
{ font-size: 116%; }
608 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
609 h5
{ font-size: 100%; }
610 h5
.editsection
{ font-weight: normal
; }
611 h6
{ font-size: 80%; }
612 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
614 margin: .4em 0 .5em 0;
623 border-bottom: 1px dotted black
;
629 font-family: Times
, "Times New Roman", serif
;
634 font-family: Times, "Times New Roman", serif;
638 background-color: #f9f9f9;
642 border: 1px dashed
#2f6fab;
644 background-color: #f9f9f9;
649 list-style-type: square
;
650 margin: .3em 1.5em 0 0;
652 list-style-image: url
(images
/bullet-icon
.png
);
656 margin: .3em 3.2em 0 0;
658 list-style-image: none
;
680 /* we don't want the bottom borders of <h2>s to be visible through
682 background-color: white
;
684 #content fieldset table
{
685 /* but keep table layouts in forms clean... */
690 border: 1px solid
#2f6fab;
697 padding: 0 0.5em 0.5em;
714 /* Table of Contents */
718 border: 1px solid
#aaa;
719 background-color: #f9f9f9;
739 list-style-type: none
;
740 list-style-image: none
;
754 div
.floatright
, table
.floatright
{
758 margin: 0 .5em .5em 0;
761 div
.floatright p
{ font-style: italic
; }
762 div
.floatleft
, table
.floatleft
{
766 margin: 0 0 .5em .5em;
769 div
.floatleft p
{ font-style: italic
; }
776 background-color: transparent
;
779 border: 1px solid
#ccc;
780 padding: 3px !important
;
781 background-color: #f9f9f9;
787 border: 1px solid
#ccc;
793 padding: 3px !important
;
798 border: none
!important
;
799 background: none
!important
;
801 div
.magnify a
, div
.magnify img
{
803 border: none
!important
;
804 background: none
!important
;
809 border-width: .5em 1.4em .8em 0;
815 border-width: .5em 0 .8em 1.4em;
818 border: 1px solid
#dddddd;
831 background-color: #ffce7b;
832 border: 1px solid
#ffa500;
837 vertical-align: middle
;
849 margin-bottom: 0.9em;
853 border: 1px solid
#aaa;
854 background-color: #f9f9f9;
866 #contentSub, #contentSub2
{
869 margin: 0 1em 1.4em 0;
885 /* Small for tables and similar */
892 /* Edge Cases for Content */
893 #content h1
, #content h2
{
896 #content h3
, #content h4
, #content h5
{
903 margin-bottom: 0.1em;
908 #content a
[href ^
="gopher://"] {
909 background: url
(images
/external-link-rtl-icon
.png
) center left no-repeat
;
912 #content a
[href ^
="https://"],
914 background: url
(images
/lock-icon
.png
) center left no-repeat
;
917 #content a
[href ^
="mailto:"],
919 background: url
(images
/mail-icon
.png
) center left no-repeat
;
922 #content a
[href ^
="news://"] {
923 background: url
(images
/news-icon
.png
) center left no-repeat
;
926 #content a
[href ^
="ftp://"],
928 background: url
(images
/file-icon
.png
) center left no-repeat
;
931 #content a
[href ^
="irc://"],
932 #content a
.extiw
[href ^
="irc://"],
934 background: url
(images
/talk-icon
.png
) center left no-repeat
;
937 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
938 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
939 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
940 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
941 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
942 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
944 background: url
("images/audio-icon.png") center left no-repeat
;
947 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
948 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
949 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
950 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
952 background: url
("images/video-icon.png") center left no-repeat
;
955 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
956 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
957 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
959 background: url
("images/document-icon.png") center left no-repeat
;
962 /* Interwiki Styling (Disabled) */
964 #content a
.extiw:active
{
969 #content a
.external
{
972 #content .printfooter
{
975 /* Icon for Usernames */
979 background: url
(images
/user-icon
.png
) right top no-repeat
;
980 padding-right: 15px !important
;
981 text-transform: none
;
985 border: 1px solid
#aaa;
986 background-color: #f9f9f9;