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
;
249 list-style-image: none
;
250 list-style-type: none
;
256 /* Fixes old versions of FireFox */
261 /* Returns things back to normal in modern versions of FireFox */
273 /* OVERRIDDEN BY COMPLIANT BROWSERS */
274 div
.vectorMenu li a
{
275 display: inline-block
;
280 div
.vectorMenu li
> a
{
284 div
.vectorMenu li a span
{
288 div
.vectorMenu li
.selected a
,
289 div
.vectorMenu li
.selected a span
,
290 div
.vectorMenu li
.selected
a:visited
291 div
.vectorMenu li
.selected
a:visited span
{
293 text-decoration: none
;
315 border: solid
1px #AAAAAA;
316 background-color: white
;
317 background-image: url
(images
/search-fade
.png
);
318 background-position: top right
;
319 background-repeat: repeat-x
;
321 #simpleSearch input#searchInput
{
328 background-color: transparent
;
330 /* OVERRIDDEN BY COMPLIANT BROWSERS */
331 #simpleSearch button#searchButton
{
338 background-color: transparent
;
339 background-image: url
(images
/search-rtl
.png
);
340 background-position: center center
;
341 background-repeat: no-repeat
;
344 #simpleSearch > button#searchButton
{
357 #panel div
.portal h5
{
362 padding-right: 1.25em;
367 #panel div
.portal div
.body
{
370 margin-right: 1.25em;
371 background-image: url
(images
/portal-break-rtl
.png
);
372 background-repeat: no-repeat
;
373 background-position: top right
;
375 #panel div
.portal div
.body ul
{
377 list-style-image: none
;
378 list-style-type: none
;
382 #panel div
.portal div
.body ul li
{
383 line-height: 1.125em;
385 padding-bottom: 0.5em;
390 #panel div
.portal div
.body ul li a
{
393 #panel div
.portal div
.body ul li
a:visited
{
401 background-image: url
(images/border.png);
402 background-position: top right
;
403 background-repeat: repeat-x
;
407 list-style-image: none
;
408 list-style-type: none
;
416 padding-bottom: 0.5em;
420 #footer #footer-icons
{
423 #footer #footer-places
{
426 #footer #footer-info li
{
429 #footer #footer-icons li
{
434 #footer #footer-places li
{
451 background-repeat: no-repeat
;
452 background-position: 50% 50%;
453 text-decoration: none
;
458 * The following code is highly modified from monobook. It would be nice if the
459 * preftoc id was more human readable like preferences-toc for instance,
460 * howerver this would require backporting the other skins.
469 margin: 0 !important
;
470 padding: 0 !important
;
471 background-image: url
(images
/preferences-break
.png
);
472 background-position: bottom right
;
473 background-repeat: no-repeat
;
483 list-style-type: none
;
484 list-style-image: none
;
485 background-image: url
(images
/preferences-break
.png
);
486 background-position: bottom left
;
487 background-repeat: no-repeat
;
490 #preftoc li:first-child
{
495 display: inline-block
;
499 text-decoration: none
;
500 background-image: none
;
504 text-decoration: underline
;
506 #preftoc li
.selected a
{
507 background-image: url
(images
/preferences-fade
.png
);
508 background-position: bottom
;
509 background-repeat: repeat-x
;
511 text-decoration: none
;
519 border: solid
1px #cccccc;
520 background-color: #f9f9f9;
521 background-image: url
(images
/preferences-base
.png
);
523 #preferences fieldset
.prefsection
{
528 #preferences fieldset
.prefsection fieldset
{
530 border-top: solid
1px #cccccc;
532 #preferences legend
{
535 #preferences fieldset
.prefsection legend
.mainLegend
{
539 padding-right: 0.5em;
542 #preferences td
.htmlform-tip
{
547 #preferences div
.mw-prefs-buttons
{
550 #preferences div
.mw-prefs-buttons input
{
556 * The following code is slightly modified from monobook
564 text-decoration: none
;
575 text-decoration: underline
;
580 a
.new
, #p-personal a
.new
{
583 a
.new:visited
, #p-personal a
.new:visited
{
587 /* Inline Elements */
590 vertical-align: middle
;
595 background-color: #aaa;
597 margin: .2em 0 .2em 0;
600 /* Structural Elements */
612 padding-bottom: .17em;
613 border-bottom: 1px solid
#aaa;
616 h1
{ font-size: 188%; }
617 h1
.editsection
{ font-size: 53%; }
618 h2
{ font-size: 150%; }
619 h2
.editsection
{ font-size: 67%; }
627 h3
{ font-size: 132%; }
628 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
629 h4
{ font-size: 116%; }
630 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
631 h5
{ font-size: 100%; }
632 h5
.editsection
{ font-weight: normal
; }
633 h6
{ font-size: 80%; }
634 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
636 margin: .4em 0 .5em 0;
645 border-bottom: 1px dotted black
;
651 font-family: Times
, "Times New Roman", serif
;
656 font-family: Times, "Times New Roman", serif;
660 background-color: #f9f9f9;
664 border: 1px dashed
#2f6fab;
666 background-color: #f9f9f9;
671 list-style-type: square
;
672 margin: .3em 1.5em 0 0;
674 list-style-image: url
(images
/bullet-icon
.png
);
678 margin: .3em 3.2em 0 0;
680 list-style-image: none
;
702 /* we don't want the bottom borders of <h2>s to be visible through
704 background-color: white
;
707 /* but keep table layouts in forms clean... */
712 border: 1px solid
#2f6fab;
719 padding: 0 0.5em 0.5em;
736 /* Table of Contents */
740 border: 1px solid
#aaa;
741 background-color: #f9f9f9;
761 list-style-type: none
;
762 list-style-image: none
;
776 div
.floatright
, table
.floatright
{
780 margin: 0 .5em .5em 0;
783 div
.floatright p
{ font-style: italic
; }
784 div
.floatleft
, table
.floatleft
{
788 margin: 0 0 .5em .5em;
791 div
.floatleft p
{ font-style: italic
; }
798 background-color: transparent
;
801 border: 1px solid
#ccc;
802 padding: 3px !important
;
803 background-color: #f9f9f9;
809 border: 1px solid
#ccc;
815 padding: 3px !important
;
820 border: none
!important
;
821 background: none
!important
;
823 div
.magnify a
, div
.magnify img
{
825 border: none
!important
;
826 background: none
!important
;
831 border-width: .5em 1.4em .8em 0;
837 border-width: .5em 0 .8em 1.4em;
840 border: 1px solid
#dddddd;
853 background-color: #ffce7b;
854 border: 1px solid
#ffa500;
859 vertical-align: middle
;
871 margin-bottom: 0.9em;
875 border: 1px solid
#aaa;
876 background-color: #f9f9f9;
888 #contentSub, #contentSub2
{
891 margin: 0 1em 1.4em 0;
907 /* Small for tables and similar */
914 /* Edge Cases for Content */
925 margin-bottom: 0.1em;
930 #content a
[href ^
="gopher://"] {
931 background: url
(images
/external-link-rtl-icon
.png
) center left no-repeat
;
934 #content a
[href ^
="https://"],
936 background: url
(images
/lock-icon
.png
) center left no-repeat
;
939 #content a
[href ^
="mailto:"],
941 background: url
(images
/mail-icon
.png
) center left no-repeat
;
944 #content a
[href ^
="news://"] {
945 background: url
(images
/news-icon
.png
) center left no-repeat
;
948 #content a
[href ^
="ftp://"],
950 background: url
(images
/file-icon
.png
) center left no-repeat
;
953 #content a
[href ^
="irc://"],
954 #content a
.extiw
[href ^
="irc://"],
956 background: url
(images
/talk-icon
.png
) center left no-repeat
;
959 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
960 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
961 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
962 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
963 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
964 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
966 background: url
("images/audio-icon.png") center left no-repeat
;
969 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
970 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
971 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
972 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
974 background: url
("images/video-icon.png") center left no-repeat
;
977 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
978 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
979 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
981 background: url
("images/document-icon.png") center left no-repeat
;
984 /* Interwiki Styling (Disabled) */
986 #content a
.extiw:active
{
991 #content a
.external
{
994 #content .printfooter
{
997 /* Icon for Usernames */
1001 background: url
(images
/user-icon
.png
) right top no-repeat
;
1002 padding-right: 15px !important
;
1003 text-transform: none
;
1007 border: 1px solid
#aaa;
1008 background-color: #f9f9f9;