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.4em;
154 background-image: url
(images
/tab-break
.png
);
155 background-position: bottom left
;
156 background-repeat: no-repeat
;
159 div
.vectorTabs li a span
{
163 div
.vectorTabs li a span
{
167 div
.vectorTabs li
> a
{
170 /* OVERRIDDEN BY COMPLIANT BROWSERS */
171 div
.vectorTabs a span
{
172 display: inline-block
;
177 div
.vectorTabs a
> span
{
181 div
.vectorTabs li
.selected a
,
182 div
.vectorTabs li
.selected a span
,
183 div
.vectorTabs li
.selected
a:visited
184 div
.vectorTabs li
.selected
a:visited span
{
186 text-decoration: none
;
188 div
.vectorTabs li
.new a
,
189 div
.vectorTabs li
.new a span
,
190 div
.vectorTabs li
.new
a:visited
,
191 div
.vectorTabs li
.new
a:visited span
{
194 /* Variants and Actions */
199 background-image: url
(images
/arrow-down-icon
.png
);
200 background-position: center center
;
201 background-repeat: no-repeat
;
203 body
.rtl div
.vectorMenu
{
210 /* OVERRIDDEN BY COMPLIANT BROWSERS */
211 div
.vectorMenu h5 a
{
212 display: inline-block
;
215 text-decoration: none
;
216 background-image: url
(images
/tab-break
.png
);
217 background-position: bottom left
;
218 background-repeat: no-repeat
;
221 div
.vectorMenu h5
> a
{
224 div
.vectorMenu div
.menu
{
230 /* OVERRIDDEN BY COMPLIANT BROWSERS */
231 body
.rtl div
.vectorMenu div
.menu
{
235 body
.rtl div
.vectorMenu
> div
.menu
{
238 /* Fixes old versions of FireFox */
239 body
.rtl div
.vectorMenu
> div
.menu
,
243 div
.vectorMenu:hover div
.menu
{
248 background-color: white
;
249 border: solid
1px silver
;
252 list-style-image: none
;
253 list-style-type: none
;
259 /* Fixes old versions of FireFox */
264 /* Returns things back to normal in modern versions of FireFox */
276 /* OVERRIDDEN BY COMPLIANT BROWSERS */
277 div
.vectorMenu li a
{
278 display: inline-block
;
283 div
.vectorMenu li
> a
{
286 div
.vectorMenu li a
{
291 div
.vectorMenu li
.selected a
,
292 div
.vectorMenu li
.selected
a:visited
{
294 text-decoration: none
;
316 border: solid
1px #AAAAAA;
317 background-color: white
;
318 background-image: url
(images
/search-fade
.png
);
319 background-position: top right
;
320 background-repeat: repeat-x
;
322 #simpleSearch input#searchInput
{
329 background-color: transparent
;
331 /* OVERRIDDEN BY COMPLIANT BROWSERS */
332 #simpleSearch button#searchButton
{
339 background-color: transparent
;
340 background-image: url
(images
/search-rtl
.png
);
341 background-position: center center
;
342 background-repeat: no-repeat
;
345 #simpleSearch > button#searchButton
{
357 padding-bottom: 1.5em;
359 #panel div
.portal h5
{
364 padding-right: 1.75em;
369 #panel div
.portal div
.body
{
372 margin-right: 1.25em;
373 background-image: url
(images
/portal-break-rtl
.png
);
374 background-repeat: no-repeat
;
375 background-position: top right
;
377 #panel div
.portal div
.body ul
{
379 list-style-image: none
;
380 list-style-type: none
;
384 #panel div
.portal div
.body ul li
{
385 line-height: 1.125em;
387 padding-bottom: 0.5em;
392 #panel div
.portal div
.body ul li a
{
395 #panel div
.portal div
.body ul li
a:visited
{
403 background-image: url
(images/border.png);
404 background-position: top right
;
405 background-repeat: repeat-x
;
409 list-style-image: none
;
410 list-style-type: none
;
418 padding-bottom: 0.5em;
422 #footer #footer-icons
{
425 #footer #footer-places
{
428 #footer #footer-info li
{
431 #footer #footer-icons li
{
436 #footer #footer-places li
{
453 background-repeat: no-repeat
;
454 background-position: center center
;
455 text-decoration: none
;
460 * The following code is highly modified from monobook. It would be nice if the
461 * preftoc id was more human readable like preferences-toc for instance,
462 * howerver this would require backporting the other skins.
471 margin: 0 !important
;
472 padding: 0 !important
;
473 background-image: url
(images
/preferences-break
.png
);
474 background-position: bottom right
;
475 background-repeat: no-repeat
;
485 list-style-type: none
;
486 list-style-image: none
;
487 background-image: url
(images
/preferences-break
.png
);
488 background-position: bottom left
;
489 background-repeat: no-repeat
;
492 #preftoc li:first-child
{
497 display: inline-block
;
501 text-decoration: none
;
502 background-image: none
;
506 text-decoration: underline
;
508 #preftoc li
.selected a
{
509 background-image: url
(images
/preferences-fade
.png
);
510 background-position: bottom
;
511 background-repeat: repeat-x
;
513 text-decoration: none
;
521 border: solid
1px #cccccc;
522 background-color: #f9f9f9;
523 background-image: url
(images
/preferences-base
.png
);
525 #preferences fieldset
.prefsection
{
530 #preferences fieldset
.prefsection fieldset
{
532 border-top: solid
1px #cccccc;
534 #preferences legend
{
537 #preferences fieldset
.prefsection legend
.mainLegend
{
541 padding-right: 0.5em;
544 #preferences td
.htmlform-tip
{
549 #preferences div
.mw-prefs-buttons
{
552 #preferences div
.mw-prefs-buttons input
{
558 * The following code is slightly modified from monobook
569 text-decoration: none
;
580 text-decoration: underline
;
585 a
.new
, #p-personal a
.new
{
588 a
.new:visited
, #p-personal a
.new:visited
{
592 /* Inline Elements */
595 vertical-align: middle
;
600 background-color: #aaa;
602 margin: .2em 0 .2em 0;
605 /* Structural Elements */
617 padding-bottom: .17em;
618 border-bottom: 1px solid
#aaa;
621 h1
{ font-size: 188%; }
622 h1
.editsection
{ font-size: 53%; }
623 h2
{ font-size: 150%; }
624 h2
.editsection
{ font-size: 67%; }
632 h3
{ font-size: 132%; }
633 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
634 h4
{ font-size: 116%; }
635 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
636 h5
{ font-size: 100%; }
637 h5
.editsection
{ font-weight: normal
; }
638 h6
{ font-size: 80%; }
639 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
641 margin: .4em 0 .5em 0;
650 border-bottom: 1px dotted black
;
656 font-family: Times
, "Times New Roman", serif
;
661 font-family: Times, "Times New Roman", serif;
665 background-color: #f9f9f9;
669 border: 1px dashed
#2f6fab;
671 background-color: #f9f9f9;
676 list-style-type: square
;
677 margin: .3em 1.5em 0 0;
679 list-style-image: url
(images
/bullet-icon
.png
);
683 margin: .3em 3.2em 0 0;
685 list-style-image: none
;
707 /* we don't want the bottom borders of <h2>s to be visible through
709 background-color: white
;
712 /* but keep table layouts in forms clean... */
717 border: 1px solid
#2f6fab;
724 padding: 0 0.5em 0.5em;
741 /* Table of Contents */
745 border: 1px solid
#aaa;
746 background-color: #f9f9f9;
766 list-style-type: none
;
767 list-style-image: none
;
781 div
.floatright
, table
.floatright
{
785 margin: 0 .5em .5em 0;
788 div
.floatright p
{ font-style: italic
; }
789 div
.floatleft
, table
.floatleft
{
793 margin: 0 0 .5em .5em;
796 div
.floatleft p
{ font-style: italic
; }
803 background-color: transparent
;
806 border: 1px solid
#ccc;
807 padding: 3px !important
;
808 background-color: #f9f9f9;
814 border: 1px solid
#ccc;
820 padding: 3px !important
;
825 border: none
!important
;
826 background: none
!important
;
828 div
.magnify a
, div
.magnify img
{
830 border: none
!important
;
831 background: none
!important
;
836 border-width: .5em 1.4em .8em 0;
842 border-width: .5em 0 .8em 1.4em;
845 border: 1px solid
#dddddd;
858 background-color: #ffce7b;
859 border: 1px solid
#ffa500;
864 vertical-align: middle
;
876 margin-bottom: 0.9em;
880 border: 1px solid
#aaa;
881 background-color: #f9f9f9;
893 #contentSub, #contentSub2
{
896 margin: 0 1em 1.4em 0;
912 /* Small for tables and similar */
919 /* Edge Cases for Content */
930 margin-bottom: 0.1em;
936 #content a
[href ^
="gopher://"] {
937 background: url
(images
/external-link-rtl-icon
.png
) center left no-repeat
;
940 #content a
[href ^
="https://"],
942 background: url
(images
/lock-icon
.png
) center left no-repeat
;
945 #content a
[href ^
="mailto:"],
947 background: url
(images
/mail-icon
.png
) center left no-repeat
;
950 #content a
[href ^
="news://"] {
951 background: url
(images
/news-icon
.png
) center left no-repeat
;
954 #content a
[href ^
="ftp://"],
956 background: url
(images
/file-icon
.png
) center left no-repeat
;
959 #content a
[href ^
="irc://"],
960 #content a
.extiw
[href ^
="irc://"],
962 background: url
(images
/talk-icon
.png
) center left no-repeat
;
965 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
966 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
967 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
968 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
969 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
970 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
972 background: url
("images/audio-icon.png") center left no-repeat
;
975 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
976 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
977 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
978 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
980 background: url
("images/video-icon.png") center left no-repeat
;
983 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
984 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
985 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
987 background: url
("images/document-icon.png") center left no-repeat
;
990 /* Interwiki Styling (Disabled) */
992 #content a
.extiw:active
{
997 #content a
.external
{
1000 #content .printfooter
{
1003 /* Icon for Usernames */
1007 background: url
(images
/user-icon
.png
) right top no-repeat
;
1008 padding-right: 15px !important
;
1009 text-transform: none
;
1013 border: 1px solid
#aaa;
1014 background-color: #f9f9f9;