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 */
263 /* OVERRIDDEN BY COMPLIANT BROWSERS */
264 div
.vectorMenu li a
{
265 display: inline-block
;
269 div
.vectorMenu li
> a
{
296 div#panel div
.portal
{
299 div#panel div
.portal h5
{
304 padding-right: 1.25em;
309 div#panel div
.portal div
.body
{
312 margin-right: 1.25em;
313 background-image: url
(images
/portal-break-rtl
.png
);
314 background-repeat: no-repeat
;
315 background-position: top right
;
317 div#panel div
.portal div
.body ul
{
322 div#panel div
.portal div
.body ul li
{
324 padding-bottom: 0.5em;
329 div#panel div
.portal div
.body ul li a
{
332 div#panel div
.portal div
.body ul li
a:visited
{
340 background-image: url
(images/border.png);
341 background-position: top right
;
342 background-repeat: repeat-x
;
353 padding-bottom: 0.5em;
357 div#foot ul#foot-icons
{
360 div#foot ul#foot-places
{
363 div#foot ul#foot-info li
{
366 div#foot ul#foot-icons li
{
371 div#foot ul#foot-places li
{
388 background-repeat: no-repeat
;
389 background-position: 50% 50%;
390 text-decoration: none
;
395 * The following code is highly modified from monobook. It would be nice if the
396 * preftoc id was more human readable like preferences-toc for instance,
397 * howerver this would require backporting the other skins.
406 margin: 0 !important
;
407 padding: 0 !important
;
408 background-image: url
(images
/preferences-break
.png
);
409 background-position: bottom right
;
410 background-repeat: no-repeat
;
420 list-style-type: none
;
421 list-style-image: none
;
422 background-image: url
(images
/preferences-break
.png
);
423 background-position: bottom left
;
424 background-repeat: no-repeat
;
427 #preftoc li:first-child
{
432 display: inline-block
;
436 text-decoration: none
;
437 background-image: none
;
441 text-decoration: underline
;
443 #preftoc li
.selected a
{
445 background-image: url
(images
/preferences-fade
.png
);
446 background-position: bottom
;
447 background-repeat: repeat-x
;
450 text-decoration: none
;
458 border: solid
1px #cccccc;
459 background-color: #f9f9f9;
460 background-image: url
(images
/preferences-base
.png
);
462 #preferences fieldset
.prefsection
{
467 #preferences fieldset
.prefsection fieldset
{
469 border-top: solid
1px #cccccc;
471 #preferences legend
{
474 #preferences fieldset
.prefsection legend
.mainLegend
{
478 padding-right: 0.5em;
481 #preferences td
.htmlform-tip
{
486 #preferences div
.mw-prefs-buttons
{
489 #preferences div
.mw-prefs-buttons input
{
495 * The following code is slightly modified from monobook
503 text-decoration: none
;
514 text-decoration: underline
;
519 a
.new
, #p-personal a
.new
{
522 a
.new:visited
, #p-personal a
.new:visited
{
526 /* Inline Elements */
529 vertical-align: middle
;
534 background-color: #aaa;
536 margin: .2em 0 .2em 0;
539 /* Structural Elements */
551 padding-bottom: .17em;
552 border-bottom: 1px solid
#aaa;
555 h1
{ font-size: 188%; }
556 h1
.editsection
{ font-size: 53%; }
557 h2
{ font-size: 150%; }
558 h2
.editsection
{ font-size: 67%; }
566 h3
{ font-size: 132%; }
567 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
568 h4
{ font-size: 116%; }
569 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
570 h5
{ font-size: 100%; }
571 h5
.editsection
{ font-weight: normal
; }
572 h6
{ font-size: 80%; }
573 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
575 margin: .4em 0 .5em 0;
584 border-bottom: 1px dotted black
;
590 font-family: Times
, "Times New Roman", serif
;
595 font-family: Times, "Times New Roman", serif;
599 background-color: #f9f9f9;
603 border: 1px dashed
#2f6fab;
605 background-color: #f9f9f9;
610 list-style-type: square
;
611 margin: .3em 1.5em 0 0;
613 list-style-image: url
(images
/bullet-icon
.png
);
617 margin: .3em 3.2em 0 0;
619 list-style-image: none
;
641 /* we don't want the bottom borders of <h2>s to be visible through
643 background-color: white
;
645 div#content fieldset table
{
646 /* but keep table layouts in forms clean... */
650 div#content fieldset
{
651 border: 1px solid
#2f6fab;
658 padding: 0 0.5em 0.5em;
668 div#content textarea
{
675 /* Table of Contents */
679 border: 1px solid
#aaa;
680 background-color: #f9f9f9;
699 div#content
.toc ul
{
700 list-style-type: none
;
701 list-style-image: none
;
715 div
.floatright
, table
.floatright
{
719 margin: 0 .5em .5em 0;
722 div
.floatright p
{ font-style: italic
; }
723 div
.floatleft
, table
.floatleft
{
727 margin: 0 0 .5em .5em;
730 div
.floatleft p
{ font-style: italic
; }
739 border: 1px solid
#ccc;
740 padding: 3px !important
;
741 background-color: #f9f9f9;
747 border: 1px solid
#ccc;
753 padding: 3px !important
;
758 border: none
!important
;
759 background: none
!important
;
761 div
.magnify a
, div
.magnify img
{
763 border: none
!important
;
764 background: none
!important
;
769 border-width: .5em 1.4em .8em 0;
775 border-width: .5em 0 .8em 1.4em;
778 border: 1px solid
#dddddd;
791 background-color: #ffce7b;
792 border: 1px solid
#ffa500;
797 vertical-align: middle
;
803 margin-bottom: 0.9em;
811 border: 1px solid
#aaa;
812 background-color: #f9f9f9;
824 #contentSub, #contentSub2
{
827 margin: 0 1em 1.4em 0;
843 /* Small for tables and similar */
850 /* Edge Cases for Content */
851 #content h1
, #content h2
{
854 #content h3
, #content h4
, #content h5
{
861 margin-bottom: 0.1em;
866 #content a
[href ^
="gopher://"] {
867 background: url
(images
/external-link-rtl-icon
.png
) center left no-repeat
;
870 #content a
[href ^
="https://"],
872 background: url
(images
/lock-icon
.png
) center left no-repeat
;
875 #content a
[href ^
="mailto:"],
877 background: url
(images
/mail-icon
.png
) center left no-repeat
;
880 #content a
[href ^
="news://"] {
881 background: url
(images
/news-icon
.png
) center left no-repeat
;
884 #content a
[href ^
="ftp://"],
886 background: url
(images
/file-icon
.png
) center left no-repeat
;
889 #content a
[href ^
="irc://"],
890 #content a
.extiw
[href ^
="irc://"],
892 background: url
(images
/talk-icon
.png
) center left no-repeat
;
895 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
896 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
897 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
898 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
899 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
900 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
902 background: url
("images/audio-icon.png") center left no-repeat
;
905 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
906 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
907 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
908 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
910 background: url
("images/video-icon.png") center left no-repeat
;
913 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
914 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
915 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
917 background: url
("images/document-icon.png") center left no-repeat
;
920 /* Interwiki Styling (Disabled) */
922 #content a
.extiw:active
{
927 #content a
.external
{
930 #content .plainlinks a
{
931 /* this can be used in the content area to switch off special external link
933 background: none
!important
;
934 padding: 0 !important
;
936 #content .printfooter
{
944 background: url
(images
/user-icon
.png
) right top no-repeat
;
945 padding-right: 15px !important
;
946 text-transform: none
;
949 span
.newpage
, span
.minor
, span
.bot
{
954 border: 1px solid
#aaa;
955 background-color: #f9f9f9;