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
;
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 left
;
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 left
;
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
;
153 padding-right: 0.4em;
154 background-image: url
(images
/tab-break
.png
);
155 background-position: bottom right
;
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 right
;
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 left
;
320 background-repeat: repeat-x
;
322 #simpleSearch label
{
325 #simpleSearch input#searchInput
{
332 background-color: transparent
;
334 /* OVERRIDDEN BY COMPLIANT BROWSERS */
335 #simpleSearch button#searchButton
{
342 background-color: transparent
;
343 background-image: url
(images
/search-ltr
.png
);
344 background-position: center center
;
345 background-repeat: no-repeat
;
348 #simpleSearch > button#searchButton
{
360 padding-bottom: 1.5em;
362 #panel div
.portal h5
{
367 padding-left: 1.75em;
372 #panel div
.portal div
.body
{
376 background-image: url
(images
/portal-break-ltr
.png
);
377 background-repeat: no-repeat
;
378 background-position: top left
;
380 #panel div
.portal div
.body ul
{
382 list-style-image: none
;
383 list-style-type: none
;
387 #panel div
.portal div
.body ul li
{
388 line-height: 1.125em;
390 padding-bottom: 0.5em;
395 #panel div
.portal div
.body ul li a
{
398 #panel div
.portal div
.body ul li
a:visited
{
406 background-image: url
(images/border.png);
407 background-position: top left
;
408 background-repeat: repeat-x
;
412 list-style-image: none
;
413 list-style-type: none
;
421 padding-bottom: 0.5em;
425 #footer #footer-icons
{
428 #footer #footer-places
{
431 #footer #footer-info li
{
434 #footer #footer-icons li
{
439 #footer #footer-places li
{
456 background-repeat: no-repeat
;
457 background-position: center center
;
458 text-decoration: none
;
463 * The following code is highly modified from monobook. It would be nice if the
464 * preftoc id was more human readable like preferences-toc for instance,
465 * howerver this would require backporting the other skins.
474 margin: 0 !important
;
475 padding: 0 !important
;
476 background-image: url
(images
/preferences-break
.png
);
477 background-position: bottom left
;
478 background-repeat: no-repeat
;
488 list-style-type: none
;
489 list-style-image: none
;
490 background-image: url
(images
/preferences-break
.png
);
491 background-position: bottom right
;
492 background-repeat: no-repeat
;
495 #preftoc li:first-child
{
500 display: inline-block
;
504 text-decoration: none
;
505 background-image: none
;
509 text-decoration: underline
;
511 #preftoc li
.selected a
{
512 background-image: url
(images
/preferences-fade
.png
);
513 background-position: bottom
;
514 background-repeat: repeat-x
;
516 text-decoration: none
;
524 border: solid
1px #cccccc;
525 background-color: #f9f9f9;
526 background-image: url
(images
/preferences-base
.png
);
528 #preferences fieldset
.prefsection
{
533 #preferences fieldset
.prefsection fieldset
{
535 border-top: solid
1px #cccccc;
537 #preferences legend
{
540 #preferences fieldset
.prefsection legend
.mainLegend
{
545 padding-right: 0.5em;
547 #preferences td
.htmlform-tip
{
552 #preferences div
.mw-prefs-buttons
{
555 #preferences div
.mw-prefs-buttons input
{
556 margin-right: 0.25em;
561 * The following code is slightly modified from monobook
572 text-decoration: none
;
583 text-decoration: underline
;
588 a
.new
, #p-personal a
.new
{
591 a
.new:visited
, #p-personal a
.new:visited
{
595 /* Inline Elements */
598 vertical-align: middle
;
603 background-color: #aaa;
605 margin: .2em 0 .2em 0;
608 /* Structural Elements */
620 padding-bottom: .17em;
621 border-bottom: 1px solid
#aaa;
624 h1
{ font-size: 188%; }
625 h1
.editsection
{ font-size: 53%; }
626 h2
{ font-size: 150%; }
627 h2
.editsection
{ font-size: 67%; }
635 h3
{ font-size: 132%; }
636 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
637 h4
{ font-size: 116%; }
638 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
639 h5
{ font-size: 100%; }
640 h5
.editsection
{ font-weight: normal
; }
641 h6
{ font-size: 80%; }
642 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
644 margin: .4em 0 .5em 0;
653 border-bottom: 1px dotted black
;
659 font-family: Times
, "Times New Roman", serif
;
664 font-family: Times, "Times New Roman", serif;
668 background-color: #f9f9f9;
672 border: 1px dashed
#2f6fab;
674 background-color: #f9f9f9;
679 list-style-type: square
;
680 margin: .3em 0 0 1.5em;
682 list-style-image: url
(images
/bullet-icon
.png
);
686 margin: .3em 0 0 3.2em;
688 list-style-image: none
;
710 /* we don't want the bottom borders of <h2>s to be visible through
712 background-color: white
;
715 /* but keep table layouts in forms clean... */
720 border: 1px solid
#2f6fab;
727 padding: 0 0.5em 0.5em;
744 /* Table of Contents */
748 border: 1px solid
#aaa;
749 background-color: #f9f9f9;
769 list-style-type: none
;
770 list-style-image: none
;
784 div
.floatright
, table
.floatright
{
788 margin: 0 0 .5em .5em;
791 div
.floatright p
{ font-style: italic
; }
792 div
.floatleft
, table
.floatleft
{
796 margin: 0 .5em .5em 0;
799 div
.floatleft p
{ font-style: italic
; }
806 background-color: transparent
;
809 border: 1px solid
#ccc;
810 padding: 3px !important
;
811 background-color: #f9f9f9;
817 border: 1px solid
#ccc;
823 padding: 3px !important
;
828 border: none
!important
;
829 background: none
!important
;
831 div
.magnify a
, div
.magnify img
{
833 border: none
!important
;
834 background: none
!important
;
839 border-width: .5em 0 .8em 1.4em;
845 border-width: .5em 1.4em .8em 0;
848 border: 1px solid
#dddddd;
861 background-color: #ffce7b;
862 border: 1px solid
#ffa500;
867 vertical-align: middle
;
879 margin-bottom: 0.9em;
883 border: 1px solid
#aaa;
884 background-color: #f9f9f9;
896 #contentSub, #contentSub2
{
899 margin: 0 0 1.4em 1em;
915 /* Small for tables and similar */
922 /* Edge Cases for Content */
933 margin-bottom: 0.1em;
939 #content a
[href ^
="gopher://"] {
940 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
943 #content a
[href ^
="https://"],
945 background: url
(images
/lock-icon
.png
) center right no-repeat
;
948 #content a
[href ^
="mailto:"],
950 background: url
(images
/mail-icon
.png
) center right no-repeat
;
953 #content a
[href ^
="news://"] {
954 background: url
(images
/news-icon
.png
) center right no-repeat
;
957 #content a
[href ^
="ftp://"],
959 background: url
(images
/file-icon
.png
) center right no-repeat
;
962 #content a
[href ^
="irc://"],
963 #content a
.extiw
[href ^
="irc://"],
965 background: url
(images
/talk-icon
.png
) center right no-repeat
;
968 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
969 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
970 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
971 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
972 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
973 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
975 background: url
("images/audio-icon.png") center right no-repeat
;
978 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
979 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
980 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
981 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
983 background: url
("images/video-icon.png") center right no-repeat
;
986 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
987 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
988 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
990 background: url
("images/document-icon.png") center right no-repeat
;
993 /* Interwiki Styling (Disabled) */
995 #content a
.extiw:active
{
1000 #content a
.external
{
1003 #content .printfooter
{
1006 /* Icon for Usernames */
1010 background: url
(images
/user-icon
.png
) left top no-repeat
;
1011 padding-left: 15px !important
;
1012 text-transform: none
;
1016 border: 1px solid
#aaa;
1017 background-color: #f9f9f9;