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
20 font-family: sans-serif
;
24 background-color: #f3f3f3;
25 background-image: url
(images
/page-base
.png
);
31 background-image: url
(images/border.png);
32 background-position: top right
;
33 background-repeat: repeat-y
;
34 background-color: white
;
39 background-color: white
;
40 background-image: url
(images
/page-fade
.png
);
41 background-position: bottom right
;
42 background-repeat: repeat-x
;
48 background-image: url
(images/border.png);
49 background-position: bottom right
;
50 background-repeat: repeat-x
;
82 /* Navigation Containers */
88 div#right-navigation
{
92 /* Navigation Labels */
94 div
.vectorMenu h5 span
{
97 /* Namespaces and Views */
100 background-image: url
(images
/tab-break
.png
);
101 background-position: bottom right
;
102 background-repeat: no-repeat
;
112 /* OVERRIDDEN BY COMPLIANT BROWSERS */
113 div
.vectorTabs ul li
{
114 display: inline-block
;
119 background-color: #f3f3f3;
120 background-image: url
(images
/tab-normal-fade
.png
);
121 background-position: bottom right
;
122 background-repeat: repeat-x
;
125 div
.vectorTabs ul
> li
{
128 div
.vectorTabs li
.selected
{
129 background-image: url
(images
/tab-current-fade
.png
);
131 /* OVERRIDDEN BY COMPLIANT BROWSERS */
132 div
.vectorTabs li a
{
133 display: inline-block
;
135 padding-right: 0.5em;
137 background-image: url
(images
/tab-break
.png
);
138 background-position: bottom left
;
139 background-repeat: no-repeat
;
142 div
.vectorTabs li a span
{
147 div
.vectorTabs li
> a
{
150 /* OVERRIDDEN BY COMPLIANT BROWSERS */
151 div
.vectorTabs a span
{
152 display: inline-block
;
156 div
.vectorTabs a
> span
{
160 div
.vectorTabs li
.selected a
,
161 div
.vectorTabs li
.selected a span
,
162 div
.vectorTabs li
.selected
a:visited
163 div
.vectorTabs li
.selected
a:visited span
{
166 text-decoration: none
;
168 div
.vectorTabs li
.new a
,
169 div
.vectorTabs li
.new a span
,
170 div
.vectorTabs li
.new
a:visited
,
171 div
.vectorTabs li
.new
a:visited span
{
174 /* Variants and Actions */
177 background-image: url
(images
/arrow-down-icon
.png
);
178 background-position: center center
;
179 background-repeat: no-repeat
;
184 /* OVERRIDDEN BY COMPLIANT BROWSERS */
185 div
.vectorMenu h5 a
{
186 display: inline-block
;
189 text-decoration: none
;
190 background-image: url
(images
/tab-break
.png
);
191 background-position: bottom left
;
192 background-repeat: no-repeat
;
195 div
.vectorMenu h5
> a
{
198 div
.vectorMenu div
.menu
{
202 div
.vectorMenu:hover div
.menu
{
207 background-color: white
;
208 border: solid
1px silver
;
219 /* OVERRIDDEN BY COMPLIANT BROWSERS */
220 div
.vectorMenu li a
{
221 display: inline-block
;
225 div
.vectorMenu li
> a
{
240 margin-right: 0.25em;
249 div#panel div
.portal
{
252 div#panel div
.portal h5
{
257 padding-right: 1.25em;
262 div#panel div
.portal div
.body
{
265 margin-right: 1.25em;
266 background-image: url
(images
/portal-break-rtl
.png
);
267 background-repeat: no-repeat
;
268 background-position: top right
;
270 div#panel div
.portal div
.body ul
{
275 div#panel div
.portal div
.body ul li
{
277 padding-bottom: 0.5em;
282 div#panel div
.portal div
.body ul li a
{
285 div#panel div
.portal div
.body ul li
a:visited
{
293 background-image: url
(images/border.png);
294 background-position: top right
;
295 background-repeat: repeat-x
;
306 padding-bottom: 0.5em;
310 div#foot ul#foot-icons
{
313 div#foot ul#foot-places
{
316 div#foot ul#foot-info li
{
319 div#foot ul#foot-icons li
{
324 div#foot ul#foot-places li
{
341 background-repeat: no-repeat
;
342 background-position: 50% 50%;
343 text-decoration: none
;
348 * The following code is highly modified from monobook. It would be nice if the
349 * preftoc id was more human readable like preferences-toc for instance,
350 * howerver this would require backporting the other skins.
359 margin: 0 !important
;
360 padding: 0 !important
;
361 background-image: url
(images
/preferences-break
.png
);
362 background-position: bottom right
;
363 background-repeat: no-repeat
;
373 list-style-type: none
;
374 list-style-image: none
;
375 background-image: url
(images
/preferences-break
.png
);
376 background-position: bottom left
;
377 background-repeat: no-repeat
;
380 #preftoc li:first-child
{
385 display: inline-block
;
389 text-decoration: none
;
390 background-image: none
;
394 text-decoration: underline
;
396 #preftoc li
.selected a
{
398 background-image: url
(images
/preferences-fade
.png
);
399 background-position: bottom
;
400 background-repeat: repeat-x
;
403 text-decoration: none
;
411 border: solid
1px #cccccc;
412 background-color: #f9f9f9;
413 background-image: url
(images
/preferences-base
.png
);
415 #preferences fieldset
.prefsection
{
420 #preferences fieldset
.prefsection fieldset
{
422 border-top: solid
1px #cccccc;
424 #preferences legend
{
427 #preferences fieldset
.prefsection legend
.mainLegend
{
431 padding-right: 0.5em;
434 #preferences td
.htmlform-tip
{
439 #preferences div
.mw-prefs-buttons
{
442 #preferences div
.mw-prefs-buttons input
{
448 * The following code is slightly modified from monobook
456 text-decoration: none
;
467 text-decoration: underline
;
472 a
.new
, #p-personal a
.new
{
475 a
.new:visited
, #p-personal a
.new:visited
{
479 /* Inline Elements */
482 vertical-align: middle
;
487 background-color: #aaa;
489 margin: .2em 0 .2em 0;
492 /* Structural Elements */
504 padding-bottom: .17em;
505 border-bottom: 1px solid
#aaa;
508 h1
{ font-size: 188%; }
509 h1
.editsection
{ font-size: 53%; }
510 h2
{ font-size: 150%; }
511 h2
.editsection
{ font-size: 67%; }
519 h3
{ font-size: 132%; }
520 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
521 h4
{ font-size: 116%; }
522 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
523 h5
{ font-size: 100%; }
524 h5
.editsection
{ font-weight: normal
; }
525 h6
{ font-size: 80%; }
526 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
528 margin: .4em 0 .5em 0;
537 border-bottom: 1px dotted black
;
543 font-family: Times
, "Times New Roman", serif
;
548 font-family: Times, "Times New Roman", serif;
552 background-color: #f9f9f9;
556 border: 1px dashed
#2f6fab;
558 background-color: #f9f9f9;
563 list-style-type: square
;
564 margin: .3em 1.5em 0 0;
566 list-style-image: url
(images
/bullet-icon
.png
);
570 margin: .3em 3.2em 0 0;
572 list-style-image: none
;
594 /* we don't want the bottom borders of <h2>s to be visible through
596 background-color: white
;
598 div#content fieldset table
{
599 /* but keep table layouts in forms clean... */
603 div#content fieldset
{
604 border: 1px solid
#2f6fab;
611 padding: 0 0.5em 0.5em;
621 div#content textarea
{
628 /* Table of Contents */
632 border: 1px solid
#aaa;
633 background-color: #f9f9f9;
652 div#content
.toc ul
{
653 list-style-type: none
;
654 list-style-image: none
;
668 div
.floatright
, table
.floatright
{
672 margin: 0 .5em .5em 0;
675 div
.floatright p
{ font-style: italic
; }
676 div
.floatleft
, table
.floatleft
{
680 margin: 0 0 .5em .5em;
683 div
.floatleft p
{ font-style: italic
; }
692 border: 1px solid
#ccc;
693 padding: 3px !important
;
694 background-color: #f9f9f9;
700 border: 1px solid
#ccc;
706 padding: 3px !important
;
711 border: none
!important
;
712 background: none
!important
;
714 div
.magnify a
, div
.magnify img
{
716 border: none
!important
;
717 background: none
!important
;
722 border-width: .5em 1.4em .8em 0;
728 border-width: .5em 0 .8em 1.4em;
731 border: 1px solid
#dddddd;
744 background-color: #ffce7b;
745 border: 1px solid
#ffa500;
750 vertical-align: middle
;
756 margin-bottom: 0.9em;
764 border: 1px solid
#aaa;
765 background-color: #f9f9f9;
777 #contentSub, #contentSub2
{
780 margin: 0 1em 1.4em 0;
796 /* Small for tables and similar */
803 /* Edge Cases for Content */
804 #content h1
, #content h2
{
807 #content h3
, #content h4
, #content h5
{
814 margin-bottom: 0.1em;
819 #content a
[href ^
="gopher://"] {
820 background: url
(images
/external-link-rtl-icon
.png
) center left no-repeat
;
823 #content a
[href ^
="https://"],
825 background: url
(images
/lock-icon
.png
) center left no-repeat
;
828 #content a
[href ^
="mailto:"],
830 background: url
(images
/mail-icon
.png
) center left no-repeat
;
833 #content a
[href ^
="news://"] {
834 background: url
(images
/news-icon
.png
) center left no-repeat
;
837 #content a
[href ^
="ftp://"],
839 background: url
(images
/file-icon
.png
) center left no-repeat
;
842 #content a
[href ^
="irc://"],
843 #content a
.extiw
[href ^
="irc://"],
845 background: url
(images
/talk-icon
.png
) center left no-repeat
;
848 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
849 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
850 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
851 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
852 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
853 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
855 background: url
("images/audio-icon.png") center left no-repeat
;
858 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
859 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
860 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
861 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
863 background: url
("images/video-icon.png") center left no-repeat
;
866 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
867 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
868 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
870 background: url
("images/document-icon.png") center left no-repeat
;
873 /* Interwiki Styling (Disabled) */
875 #content a
.extiw:active
{
880 #content a
.external
{
883 #content .plainlinks a
{
884 /* this can be used in the content area to switch off special external link
886 background: none
!important
;
887 padding: 0 !important
;
889 #content .printfooter
{
897 background: url
(images
/user-icon
.png
) right top no-repeat
;
898 padding-right: 15px !important
;
899 text-transform: none
;
902 span
.newpage
, span
.minor
, span
.bot
{
907 border: 1px solid
#aaa;
908 background-color: #f9f9f9;