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
;
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 */
195 background-image: url
(images
/arrow-down-icon
.png
);
196 background-position: center center
;
197 background-repeat: no-repeat
;
199 body
.rtl div
.vectorMenu
{
206 /* OVERRIDDEN BY COMPLIANT BROWSERS */
207 div
.vectorMenu h5 a
{
208 display: inline-block
;
211 text-decoration: none
;
212 background-image: url
(images
/tab-break
.png
);
213 background-position: bottom left
;
214 background-repeat: no-repeat
;
217 div
.vectorMenu h5
> a
{
220 div
.vectorMenu div
.menu
{
226 /* OVERRIDDEN BY COMPLIANT BROWSERS */
227 body
.rtl div
.vectorMenu div
.menu
{
231 body
.rtl div
.vectorMenu
> div
.menu
{
234 /* Fixes old versions of FireFox */
235 body
.rtl div
.vectorMenu
> div
.menu
,
239 div
.vectorMenu:hover div
.menu
{
244 background-color: white
;
245 border: solid
1px silver
;
253 /* Fixes old versions of FireFox */
258 /* Returns things back to normal in modern versions of FireFox */
269 /* OVERRIDDEN BY COMPLIANT BROWSERS */
270 div
.vectorMenu li a
{
271 display: inline-block
;
275 div
.vectorMenu li
> a
{
295 div#p-search div#simpleSearch input#searchInput
{
297 border: solid
1px #AAAAAA;
302 div#p-search div#simpleSearch input#searchButton
{
304 margin-right: 0.25em;
313 div#panel div
.portal
{
316 div#panel div
.portal h5
{
321 padding-right: 1.25em;
326 div#panel div
.portal div
.body
{
329 margin-right: 1.25em;
330 background-image: url
(images
/portal-break-rtl
.png
);
331 background-repeat: no-repeat
;
332 background-position: top right
;
334 div#panel div
.portal div
.body ul
{
339 div#panel div
.portal div
.body ul li
{
341 padding-bottom: 0.5em;
346 div#panel div
.portal div
.body ul li a
{
349 div#panel div
.portal div
.body ul li
a:visited
{
357 background-image: url
(images/border.png);
358 background-position: top right
;
359 background-repeat: repeat-x
;
370 padding-bottom: 0.5em;
374 div#foot ul#foot-icons
{
377 div#foot ul#foot-places
{
380 div#foot ul#foot-info li
{
383 div#foot ul#foot-icons li
{
388 div#foot ul#foot-places li
{
405 background-repeat: no-repeat
;
406 background-position: 50% 50%;
407 text-decoration: none
;
412 * The following code is highly modified from monobook. It would be nice if the
413 * preftoc id was more human readable like preferences-toc for instance,
414 * howerver this would require backporting the other skins.
423 margin: 0 !important
;
424 padding: 0 !important
;
425 background-image: url
(images
/preferences-break
.png
);
426 background-position: bottom right
;
427 background-repeat: no-repeat
;
437 list-style-type: none
;
438 list-style-image: none
;
439 background-image: url
(images
/preferences-break
.png
);
440 background-position: bottom left
;
441 background-repeat: no-repeat
;
444 #preftoc li:first-child
{
449 display: inline-block
;
453 text-decoration: none
;
454 background-image: none
;
458 text-decoration: underline
;
460 #preftoc li
.selected a
{
462 background-image: url
(images
/preferences-fade
.png
);
463 background-position: bottom
;
464 background-repeat: repeat-x
;
467 text-decoration: none
;
475 border: solid
1px #cccccc;
476 background-color: #f9f9f9;
477 background-image: url
(images
/preferences-base
.png
);
479 #preferences fieldset
.prefsection
{
484 #preferences fieldset
.prefsection fieldset
{
486 border-top: solid
1px #cccccc;
488 #preferences legend
{
491 #preferences fieldset
.prefsection legend
.mainLegend
{
495 padding-right: 0.5em;
498 #preferences td
.htmlform-tip
{
503 #preferences div
.mw-prefs-buttons
{
506 #preferences div
.mw-prefs-buttons input
{
512 * The following code is slightly modified from monobook
520 text-decoration: none
;
531 text-decoration: underline
;
536 a
.new
, #p-personal a
.new
{
539 a
.new:visited
, #p-personal a
.new:visited
{
543 /* Inline Elements */
546 vertical-align: middle
;
551 background-color: #aaa;
553 margin: .2em 0 .2em 0;
556 /* Structural Elements */
568 padding-bottom: .17em;
569 border-bottom: 1px solid
#aaa;
572 h1
{ font-size: 188%; }
573 h1
.editsection
{ font-size: 53%; }
574 h2
{ font-size: 150%; }
575 h2
.editsection
{ font-size: 67%; }
583 h3
{ font-size: 132%; }
584 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
585 h4
{ font-size: 116%; }
586 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
587 h5
{ font-size: 100%; }
588 h5
.editsection
{ font-weight: normal
; }
589 h6
{ font-size: 80%; }
590 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
592 margin: .4em 0 .5em 0;
601 border-bottom: 1px dotted black
;
607 font-family: Times
, "Times New Roman", serif
;
612 font-family: Times, "Times New Roman", serif;
616 background-color: #f9f9f9;
620 border: 1px dashed
#2f6fab;
622 background-color: #f9f9f9;
627 list-style-type: square
;
628 margin: .3em 1.5em 0 0;
630 list-style-image: url
(images
/bullet-icon
.png
);
634 margin: .3em 3.2em 0 0;
636 list-style-image: none
;
658 /* we don't want the bottom borders of <h2>s to be visible through
660 background-color: white
;
662 div#content fieldset table
{
663 /* but keep table layouts in forms clean... */
667 div#content fieldset
{
668 border: 1px solid
#2f6fab;
675 padding: 0 0.5em 0.5em;
685 div#content textarea
{
692 /* Table of Contents */
696 border: 1px solid
#aaa;
697 background-color: #f9f9f9;
716 div#content
.toc ul
{
717 list-style-type: none
;
718 list-style-image: none
;
732 div
.floatright
, table
.floatright
{
736 margin: 0 .5em .5em 0;
739 div
.floatright p
{ font-style: italic
; }
740 div
.floatleft
, table
.floatleft
{
744 margin: 0 0 .5em .5em;
747 div
.floatleft p
{ font-style: italic
; }
756 border: 1px solid
#ccc;
757 padding: 3px !important
;
758 background-color: #f9f9f9;
764 border: 1px solid
#ccc;
770 padding: 3px !important
;
775 border: none
!important
;
776 background: none
!important
;
778 div
.magnify a
, div
.magnify img
{
780 border: none
!important
;
781 background: none
!important
;
786 border-width: .5em 1.4em .8em 0;
792 border-width: .5em 0 .8em 1.4em;
795 border: 1px solid
#dddddd;
808 background-color: #ffce7b;
809 border: 1px solid
#ffa500;
814 vertical-align: middle
;
820 margin-bottom: 0.9em;
828 border: 1px solid
#aaa;
829 background-color: #f9f9f9;
841 #contentSub, #contentSub2
{
844 margin: 0 1em 1.4em 0;
860 /* Small for tables and similar */
867 /* Edge Cases for Content */
868 #content h1
, #content h2
{
871 #content h3
, #content h4
, #content h5
{
878 margin-bottom: 0.1em;
883 #content a
[href ^
="gopher://"] {
884 background: url
(images
/external-link-rtl-icon
.png
) center left no-repeat
;
887 #content a
[href ^
="https://"],
889 background: url
(images
/lock-icon
.png
) center left no-repeat
;
892 #content a
[href ^
="mailto:"],
894 background: url
(images
/mail-icon
.png
) center left no-repeat
;
897 #content a
[href ^
="news://"] {
898 background: url
(images
/news-icon
.png
) center left no-repeat
;
901 #content a
[href ^
="ftp://"],
903 background: url
(images
/file-icon
.png
) center left no-repeat
;
906 #content a
[href ^
="irc://"],
907 #content a
.extiw
[href ^
="irc://"],
909 background: url
(images
/talk-icon
.png
) center left no-repeat
;
912 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
913 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
914 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
915 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
916 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
917 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
919 background: url
("images/audio-icon.png") center left no-repeat
;
922 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
923 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
924 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
925 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
927 background: url
("images/video-icon.png") center left no-repeat
;
930 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
931 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
932 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
934 background: url
("images/document-icon.png") center left no-repeat
;
937 /* Interwiki Styling (Disabled) */
939 #content a
.extiw:active
{
944 #content a
.external
{
947 #content .plainlinks a
{
948 /* this can be used in the content area to switch off special external link
950 background: none
!important
;
951 padding: 0 !important
;
953 #content .printfooter
{
961 background: url
(images
/user-icon
.png
) right top no-repeat
;
962 padding-right: 15px !important
;
963 text-transform: none
;
966 span
.newpage
, span
.minor
, span
.bot
{
971 border: 1px solid
#aaa;
972 background-color: #f9f9f9;