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 */
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 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
;
171 div
.vectorTabs a
> span
{
175 div
.vectorTabs li
.selected a
,
176 div
.vectorTabs li
.selected a span
,
177 div
.vectorTabs li
.selected
a:visited
178 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 */
195 background-image: url
(images
/arrow-down-icon
.png
);
196 background-position: center center
;
197 background-repeat: no-repeat
;
202 /* OVERRIDDEN BY COMPLIANT BROWSERS */
203 div
.vectorMenu h5 a
{
204 display: inline-block
;
207 text-decoration: none
;
208 background-image: url
(images
/tab-break
.png
);
209 background-position: bottom left
;
210 background-repeat: no-repeat
;
213 div
.vectorMenu h5
> a
{
216 div
.vectorMenu div
.menu
{
220 div
.vectorMenu:hover div
.menu
{
225 background-color: white
;
226 border: solid
1px silver
;
237 /* OVERRIDDEN BY COMPLIANT BROWSERS */
238 div
.vectorMenu li a
{
239 display: inline-block
;
243 div
.vectorMenu li
> a
{
261 margin-right: 0.25em;
270 div#panel div
.portal
{
273 div#panel div
.portal h5
{
278 padding-right: 1.25em;
283 div#panel div
.portal div
.body
{
286 margin-right: 1.25em;
287 background-image: url
(images
/portal-break-rtl
.png
);
288 background-repeat: no-repeat
;
289 background-position: top right
;
291 div#panel div
.portal div
.body ul
{
296 div#panel div
.portal div
.body ul li
{
298 padding-bottom: 0.5em;
303 div#panel div
.portal div
.body ul li a
{
306 div#panel div
.portal div
.body ul li
a:visited
{
314 background-image: url
(images/border.png);
315 background-position: top right
;
316 background-repeat: repeat-x
;
327 padding-bottom: 0.5em;
331 div#foot ul#foot-icons
{
334 div#foot ul#foot-places
{
337 div#foot ul#foot-info li
{
340 div#foot ul#foot-icons li
{
345 div#foot ul#foot-places li
{
362 background-repeat: no-repeat
;
363 background-position: 50% 50%;
364 text-decoration: none
;
369 * The following code is highly modified from monobook. It would be nice if the
370 * preftoc id was more human readable like preferences-toc for instance,
371 * howerver this would require backporting the other skins.
380 margin: 0 !important
;
381 padding: 0 !important
;
382 background-image: url
(images
/preferences-break
.png
);
383 background-position: bottom right
;
384 background-repeat: no-repeat
;
394 list-style-type: none
;
395 list-style-image: none
;
396 background-image: url
(images
/preferences-break
.png
);
397 background-position: bottom left
;
398 background-repeat: no-repeat
;
401 #preftoc li:first-child
{
406 display: inline-block
;
410 text-decoration: none
;
411 background-image: none
;
415 text-decoration: underline
;
417 #preftoc li
.selected a
{
419 background-image: url
(images
/preferences-fade
.png
);
420 background-position: bottom
;
421 background-repeat: repeat-x
;
424 text-decoration: none
;
432 border: solid
1px #cccccc;
433 background-color: #f9f9f9;
434 background-image: url
(images
/preferences-base
.png
);
436 #preferences fieldset
.prefsection
{
441 #preferences fieldset
.prefsection fieldset
{
443 border-top: solid
1px #cccccc;
445 #preferences legend
{
448 #preferences fieldset
.prefsection legend
.mainLegend
{
452 padding-right: 0.5em;
455 #preferences td
.htmlform-tip
{
460 #preferences div
.mw-prefs-buttons
{
463 #preferences div
.mw-prefs-buttons input
{
469 * The following code is slightly modified from monobook
477 text-decoration: none
;
488 text-decoration: underline
;
493 a
.new
, #p-personal a
.new
{
496 a
.new:visited
, #p-personal a
.new:visited
{
500 /* Inline Elements */
503 vertical-align: middle
;
508 background-color: #aaa;
510 margin: .2em 0 .2em 0;
513 /* Structural Elements */
525 padding-bottom: .17em;
526 border-bottom: 1px solid
#aaa;
529 h1
{ font-size: 188%; }
530 h1
.editsection
{ font-size: 53%; }
531 h2
{ font-size: 150%; }
532 h2
.editsection
{ font-size: 67%; }
540 h3
{ font-size: 132%; }
541 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
542 h4
{ font-size: 116%; }
543 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
544 h5
{ font-size: 100%; }
545 h5
.editsection
{ font-weight: normal
; }
546 h6
{ font-size: 80%; }
547 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
549 margin: .4em 0 .5em 0;
558 border-bottom: 1px dotted black
;
564 font-family: Times
, "Times New Roman", serif
;
569 font-family: Times, "Times New Roman", serif;
573 background-color: #f9f9f9;
577 border: 1px dashed
#2f6fab;
579 background-color: #f9f9f9;
584 list-style-type: square
;
585 margin: .3em 1.5em 0 0;
587 list-style-image: url
(images
/bullet-icon
.png
);
591 margin: .3em 3.2em 0 0;
593 list-style-image: none
;
615 /* we don't want the bottom borders of <h2>s to be visible through
617 background-color: white
;
619 div#content fieldset table
{
620 /* but keep table layouts in forms clean... */
624 div#content fieldset
{
625 border: 1px solid
#2f6fab;
632 padding: 0 0.5em 0.5em;
642 div#content textarea
{
649 /* Table of Contents */
653 border: 1px solid
#aaa;
654 background-color: #f9f9f9;
673 div#content
.toc ul
{
674 list-style-type: none
;
675 list-style-image: none
;
689 div
.floatright
, table
.floatright
{
693 margin: 0 .5em .5em 0;
696 div
.floatright p
{ font-style: italic
; }
697 div
.floatleft
, table
.floatleft
{
701 margin: 0 0 .5em .5em;
704 div
.floatleft p
{ font-style: italic
; }
713 border: 1px solid
#ccc;
714 padding: 3px !important
;
715 background-color: #f9f9f9;
721 border: 1px solid
#ccc;
727 padding: 3px !important
;
732 border: none
!important
;
733 background: none
!important
;
735 div
.magnify a
, div
.magnify img
{
737 border: none
!important
;
738 background: none
!important
;
743 border-width: .5em 1.4em .8em 0;
749 border-width: .5em 0 .8em 1.4em;
752 border: 1px solid
#dddddd;
765 background-color: #ffce7b;
766 border: 1px solid
#ffa500;
771 vertical-align: middle
;
777 margin-bottom: 0.9em;
785 border: 1px solid
#aaa;
786 background-color: #f9f9f9;
798 #contentSub, #contentSub2
{
801 margin: 0 1em 1.4em 0;
817 /* Small for tables and similar */
824 /* Edge Cases for Content */
825 #content h1
, #content h2
{
828 #content h3
, #content h4
, #content h5
{
835 margin-bottom: 0.1em;
840 #content a
[href ^
="gopher://"] {
841 background: url
(images
/external-link-rtl-icon
.png
) center left no-repeat
;
844 #content a
[href ^
="https://"],
846 background: url
(images
/lock-icon
.png
) center left no-repeat
;
849 #content a
[href ^
="mailto:"],
851 background: url
(images
/mail-icon
.png
) center left no-repeat
;
854 #content a
[href ^
="news://"] {
855 background: url
(images
/news-icon
.png
) center left no-repeat
;
858 #content a
[href ^
="ftp://"],
860 background: url
(images
/file-icon
.png
) center left no-repeat
;
863 #content a
[href ^
="irc://"],
864 #content a
.extiw
[href ^
="irc://"],
866 background: url
(images
/talk-icon
.png
) center left no-repeat
;
869 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
870 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
871 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
872 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
873 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
874 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
876 background: url
("images/audio-icon.png") center left no-repeat
;
879 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
880 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
881 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
882 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
884 background: url
("images/video-icon.png") center left no-repeat
;
887 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
888 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
889 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
891 background: url
("images/document-icon.png") center left no-repeat
;
894 /* Interwiki Styling (Disabled) */
896 #content a
.extiw:active
{
901 #content a
.external
{
904 #content .plainlinks a
{
905 /* this can be used in the content area to switch off special external link
907 background: none
!important
;
908 padding: 0 !important
;
910 #content .printfooter
{
918 background: url
(images
/user-icon
.png
) right top no-repeat
;
919 padding-right: 15px !important
;
920 text-transform: none
;
923 span
.newpage
, span
.minor
, span
.bot
{
928 border: 1px solid
#aaa;
929 background-color: #f9f9f9;