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
;
88 /* Navigation Containers */
94 div#right-navigation
{
98 /* Navigation Labels */
100 div
.vectorMenu h5 span
{
103 /* Namespaces and Views */
109 background-image: url
(images
/tab-break
.png
);
110 background-position: bottom left
;
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 left
;
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
;
151 padding-right: 0.5em;
152 background-image: url
(images
/tab-break
.png
);
153 background-position: bottom right
;
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
{
182 text-decoration: none
;
184 div
.vectorTabs li
.new a
,
185 div
.vectorTabs li
.new a span
,
186 div
.vectorTabs li
.new
a:visited
,
187 div
.vectorTabs li
.new
a:visited span
{
190 /* Variants and Actions */
197 background-image: url
(images
/arrow-down-icon
.png
);
198 background-position: center center
;
199 background-repeat: no-repeat
;
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 right
;
213 background-repeat: no-repeat
;
216 div
.vectorMenu h5
> a
{
219 div
.vectorMenu div
.menu
{
224 div
.vectorMenu:hover div
.menu
{
229 background-color: white
;
230 border: solid
1px silver
;
242 /* OVERRIDDEN BY COMPLIANT BROWSERS */
243 div
.vectorMenu li a
{
244 display: inline-block
;
248 div
.vectorMenu li
> a
{
275 div#panel div
.portal
{
278 div#panel div
.portal h5
{
283 padding-left: 1.25em;
288 div#panel div
.portal div
.body
{
292 background-image: url
(images
/portal-break-ltr
.png
);
293 background-repeat: no-repeat
;
294 background-position: top left
;
296 div#panel div
.portal div
.body ul
{
301 div#panel div
.portal div
.body ul li
{
303 padding-bottom: 0.5em;
308 div#panel div
.portal div
.body ul li a
{
311 div#panel div
.portal div
.body ul li
a:visited
{
319 background-image: url
(images/border.png);
320 background-position: top left
;
321 background-repeat: repeat-x
;
332 padding-bottom: 0.5em;
336 div#foot ul#foot-icons
{
339 div#foot ul#foot-places
{
342 div#foot ul#foot-info li
{
345 div#foot ul#foot-icons li
{
350 div#foot ul#foot-places li
{
367 background-repeat: no-repeat
;
368 background-position: 50% 50%;
369 text-decoration: none
;
374 * The following code is highly modified from monobook. It would be nice if the
375 * preftoc id was more human readable like preferences-toc for instance,
376 * howerver this would require backporting the other skins.
385 margin: 0 !important
;
386 padding: 0 !important
;
387 background-image: url
(images
/preferences-break
.png
);
388 background-position: bottom left
;
389 background-repeat: no-repeat
;
399 list-style-type: none
;
400 list-style-image: none
;
401 background-image: url
(images
/preferences-break
.png
);
402 background-position: bottom right
;
403 background-repeat: no-repeat
;
406 #preftoc li:first-child
{
411 display: inline-block
;
415 text-decoration: none
;
416 background-image: none
;
420 text-decoration: underline
;
422 #preftoc li
.selected a
{
424 background-image: url
(images
/preferences-fade
.png
);
425 background-position: bottom
;
426 background-repeat: repeat-x
;
429 text-decoration: none
;
437 border: solid
1px #cccccc;
438 background-color: #f9f9f9;
439 background-image: url
(images
/preferences-base
.png
);
441 #preferences fieldset
.prefsection
{
446 #preferences fieldset
.prefsection fieldset
{
448 border-top: solid
1px #cccccc;
450 #preferences legend
{
453 #preferences fieldset
.prefsection legend
.mainLegend
{
458 padding-right: 0.5em;
460 #preferences td
.htmlform-tip
{
465 #preferences div
.mw-prefs-buttons
{
468 #preferences div
.mw-prefs-buttons input
{
469 margin-right: 0.25em;
474 * The following code is slightly modified from monobook
482 text-decoration: none
;
493 text-decoration: underline
;
498 a
.new
, #p-personal a
.new
{
501 a
.new:visited
, #p-personal a
.new:visited
{
505 /* Inline Elements */
508 vertical-align: middle
;
513 background-color: #aaa;
515 margin: .2em 0 .2em 0;
518 /* Structural Elements */
530 padding-bottom: .17em;
531 border-bottom: 1px solid
#aaa;
534 h1
{ font-size: 188%; }
535 h1
.editsection
{ font-size: 53%; }
536 h2
{ font-size: 150%; }
537 h2
.editsection
{ font-size: 67%; }
545 h3
{ font-size: 132%; }
546 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
547 h4
{ font-size: 116%; }
548 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
549 h5
{ font-size: 100%; }
550 h5
.editsection
{ font-weight: normal
; }
551 h6
{ font-size: 80%; }
552 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
554 margin: .4em 0 .5em 0;
563 border-bottom: 1px dotted black
;
569 font-family: Times
, "Times New Roman", serif
;
574 font-family: Times, "Times New Roman", serif;
578 background-color: #f9f9f9;
582 border: 1px dashed
#2f6fab;
584 background-color: #f9f9f9;
589 list-style-type: square
;
590 margin: .3em 0 0 1.5em;
592 list-style-image: url
(images
/bullet-icon
.png
);
596 margin: .3em 0 0 3.2em;
598 list-style-image: none
;
620 /* we don't want the bottom borders of <h2>s to be visible through
622 background-color: white
;
624 div#content fieldset table
{
625 /* but keep table layouts in forms clean... */
629 div#content fieldset
{
630 border: 1px solid
#2f6fab;
637 padding: 0 0.5em 0.5em;
647 div#content textarea
{
654 /* Table of Contents */
658 border: 1px solid
#aaa;
659 background-color: #f9f9f9;
678 div#content
.toc ul
{
679 list-style-type: none
;
680 list-style-image: none
;
694 div
.floatright
, table
.floatright
{
698 margin: 0 0 .5em .5em;
701 div
.floatright p
{ font-style: italic
; }
702 div
.floatleft
, table
.floatleft
{
706 margin: 0 .5em .5em 0;
709 div
.floatleft p
{ font-style: italic
; }
718 border: 1px solid
#ccc;
719 padding: 3px !important
;
720 background-color: #f9f9f9;
726 border: 1px solid
#ccc;
732 padding: 3px !important
;
737 border: none
!important
;
738 background: none
!important
;
740 div
.magnify a
, div
.magnify img
{
742 border: none
!important
;
743 background: none
!important
;
748 border-width: .5em 0 .8em 1.4em;
754 border-width: .5em 1.4em .8em 0;
757 border: 1px solid
#dddddd;
770 background-color: #ffce7b;
771 border: 1px solid
#ffa500;
776 vertical-align: middle
;
782 margin-bottom: 0.9em;
790 border: 1px solid
#aaa;
791 background-color: #f9f9f9;
803 #contentSub, #contentSub2
{
806 margin: 0 0 1.4em 1em;
822 /* Small for tables and similar */
829 /* Edge Cases for Content */
830 #content h1
, #content h2
{
833 #content h3
, #content h4
, #content h5
{
840 margin-bottom: 0.1em;
845 #content a
[href ^
="gopher://"] {
846 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
849 #content a
[href ^
="https://"],
851 background: url
(images
/lock-icon
.png
) center right no-repeat
;
854 #content a
[href ^
="mailto:"],
856 background: url
(images
/mail-icon
.png
) center right no-repeat
;
859 #content a
[href ^
="news://"] {
860 background: url
(images
/news-icon
.png
) center right no-repeat
;
863 #content a
[href ^
="ftp://"],
865 background: url
(images
/file-icon
.png
) center right no-repeat
;
868 #content a
[href ^
="irc://"],
869 #content a
.extiw
[href ^
="irc://"],
871 background: url
(images
/talk-icon
.png
) center right no-repeat
;
874 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
875 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
876 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
877 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
878 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
879 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
881 background: url
("images/audio-icon.png") center right no-repeat
;
884 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
885 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
886 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
887 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
889 background: url
("images/video-icon.png") center right no-repeat
;
892 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
893 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
894 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
896 background: url
("images/document-icon.png") center right no-repeat
;
899 /* Interwiki Styling (Disabled) */
901 #content a
.extiw:active
{
906 #content a
.external
{
909 #content .plainlinks a
{
910 /* this can be used in the content area to switch off special external link
912 background: none
!important
;
913 padding: 0 !important
;
915 #content .printfooter
{
923 background: url
(images
/user-icon
.png
) left top no-repeat
;
924 padding-left: 15px !important
;
925 text-transform: none
;
928 span
.newpage
, span
.minor
, span
.bot
{
933 border: 1px solid
#aaa;
934 background-color: #f9f9f9;