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
{
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 */
194 background-image: url
(images
/arrow-down-icon
.png
);
195 background-position: center center
;
196 background-repeat: no-repeat
;
198 body
.rtl div
.vectorMenu
{
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
{
225 /* OVERRIDDEN BY COMPLIANT BROWSERS */
226 body
.rtl div
.vectorMenu div
.menu
{
230 body
.rtl div
.vectorMenu
> div
.menu
{
233 /* Fixes old versions of FireFox */
234 body
.rtl div
.vectorMenu
> div
.menu
,
238 div
.vectorMenu:hover div
.menu
{
243 background-color: white
;
244 border: solid
1px silver
;
252 /* Fixes old versions of FireFox */
257 /* Returns things back to normal in modern versions of FireFox */
268 /* OVERRIDDEN BY COMPLIANT BROWSERS */
269 div
.vectorMenu li a
{
270 display: inline-block
;
274 div
.vectorMenu li
> a
{
294 div#p-search div#simpleSearch
{
297 border: solid
1px #AAAAAA;
298 background-color: white
;
299 background-image: url
(images
/search-fade
.png
);
300 background-position: top left
;
301 background-repeat: repeat-x
;
303 div#p-search div#simpleSearch input#searchInput
{
310 background-color: transparent
;
312 /* OVERRIDDEN BY COMPLIANT BROWSERS */
313 div#p-search div#simpleSearch button#searchButton
{
323 background-color: transparent
;
324 background-image: url
(images/search.png);
325 background-position: center center
;
326 background-repeat: no-repeat
;
329 div#p-search div#simpleSearch
> button#searchButton
{
339 div#panel div
.portal
{
342 div#panel div
.portal h5
{
347 padding-left: 1.25em;
352 div#panel div
.portal div
.body
{
356 background-image: url
(images
/portal-break-ltr
.png
);
357 background-repeat: no-repeat
;
358 background-position: top left
;
360 div#panel div
.portal div
.body ul
{
365 div#panel div
.portal div
.body ul li
{
367 padding-bottom: 0.5em;
372 div#panel div
.portal div
.body ul li a
{
375 div#panel div
.portal div
.body ul li
a:visited
{
383 background-image: url
(images/border.png);
384 background-position: top left
;
385 background-repeat: repeat-x
;
396 padding-bottom: 0.5em;
400 div#foot ul#foot-icons
{
403 div#foot ul#foot-places
{
406 div#foot ul#foot-info li
{
409 div#foot ul#foot-icons li
{
414 div#foot ul#foot-places li
{
431 background-repeat: no-repeat
;
432 background-position: 50% 50%;
433 text-decoration: none
;
438 * The following code is highly modified from monobook. It would be nice if the
439 * preftoc id was more human readable like preferences-toc for instance,
440 * howerver this would require backporting the other skins.
449 margin: 0 !important
;
450 padding: 0 !important
;
451 background-image: url
(images
/preferences-break
.png
);
452 background-position: bottom left
;
453 background-repeat: no-repeat
;
463 list-style-type: none
;
464 list-style-image: none
;
465 background-image: url
(images
/preferences-break
.png
);
466 background-position: bottom right
;
467 background-repeat: no-repeat
;
470 #preftoc li:first-child
{
475 display: inline-block
;
479 text-decoration: none
;
480 background-image: none
;
484 text-decoration: underline
;
486 #preftoc li
.selected a
{
487 background-image: url
(images
/preferences-fade
.png
);
488 background-position: bottom
;
489 background-repeat: repeat-x
;
491 text-decoration: none
;
499 border: solid
1px #cccccc;
500 background-color: #f9f9f9;
501 background-image: url
(images
/preferences-base
.png
);
503 #preferences fieldset
.prefsection
{
508 #preferences fieldset
.prefsection fieldset
{
510 border-top: solid
1px #cccccc;
512 #preferences legend
{
515 #preferences fieldset
.prefsection legend
.mainLegend
{
520 padding-right: 0.5em;
522 #preferences td
.htmlform-tip
{
527 #preferences div
.mw-prefs-buttons
{
530 #preferences div
.mw-prefs-buttons input
{
531 margin-right: 0.25em;
536 * The following code is slightly modified from monobook
544 text-decoration: none
;
555 text-decoration: underline
;
560 a
.new
, #p-personal a
.new
{
563 a
.new:visited
, #p-personal a
.new:visited
{
567 /* Inline Elements */
570 vertical-align: middle
;
575 background-color: #aaa;
577 margin: .2em 0 .2em 0;
580 /* Structural Elements */
592 padding-bottom: .17em;
593 border-bottom: 1px solid
#aaa;
596 h1
{ font-size: 188%; }
597 h1
.editsection
{ font-size: 53%; }
598 h2
{ font-size: 150%; }
599 h2
.editsection
{ font-size: 67%; }
607 h3
{ font-size: 132%; }
608 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
609 h4
{ font-size: 116%; }
610 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
611 h5
{ font-size: 100%; }
612 h5
.editsection
{ font-weight: normal
; }
613 h6
{ font-size: 80%; }
614 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
616 margin: .4em 0 .5em 0;
625 border-bottom: 1px dotted black
;
631 font-family: Times
, "Times New Roman", serif
;
636 font-family: Times, "Times New Roman", serif;
640 background-color: #f9f9f9;
644 border: 1px dashed
#2f6fab;
646 background-color: #f9f9f9;
651 list-style-type: square
;
652 margin: .3em 0 0 1.5em;
654 list-style-image: url
(images
/bullet-icon
.png
);
658 margin: .3em 0 0 3.2em;
660 list-style-image: none
;
682 /* we don't want the bottom borders of <h2>s to be visible through
684 background-color: white
;
686 div#content fieldset table
{
687 /* but keep table layouts in forms clean... */
691 div#content fieldset
{
692 border: 1px solid
#2f6fab;
699 padding: 0 0.5em 0.5em;
709 div#content textarea
{
716 /* Table of Contents */
720 border: 1px solid
#aaa;
721 background-color: #f9f9f9;
740 div#content
.toc ul
{
741 list-style-type: none
;
742 list-style-image: none
;
756 div
.floatright
, table
.floatright
{
760 margin: 0 0 .5em .5em;
763 div
.floatright p
{ font-style: italic
; }
764 div
.floatleft
, table
.floatleft
{
768 margin: 0 .5em .5em 0;
771 div
.floatleft p
{ font-style: italic
; }
780 border: 1px solid
#ccc;
781 padding: 3px !important
;
782 background-color: #f9f9f9;
788 border: 1px solid
#ccc;
794 padding: 3px !important
;
799 border: none
!important
;
800 background: none
!important
;
802 div
.magnify a
, div
.magnify img
{
804 border: none
!important
;
805 background: none
!important
;
810 border-width: .5em 0 .8em 1.4em;
816 border-width: .5em 1.4em .8em 0;
819 border: 1px solid
#dddddd;
832 background-color: #ffce7b;
833 border: 1px solid
#ffa500;
838 vertical-align: middle
;
844 margin-bottom: 0.9em;
852 border: 1px solid
#aaa;
853 background-color: #f9f9f9;
865 #contentSub, #contentSub2
{
868 margin: 0 0 1.4em 1em;
884 /* Small for tables and similar */
891 /* Edge Cases for Content */
892 #content h1
, #content h2
{
895 #content h3
, #content h4
, #content h5
{
902 margin-bottom: 0.1em;
907 #content a
[href ^
="gopher://"] {
908 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
911 #content a
[href ^
="https://"],
913 background: url
(images
/lock-icon
.png
) center right no-repeat
;
916 #content a
[href ^
="mailto:"],
918 background: url
(images
/mail-icon
.png
) center right no-repeat
;
921 #content a
[href ^
="news://"] {
922 background: url
(images
/news-icon
.png
) center right no-repeat
;
925 #content a
[href ^
="ftp://"],
927 background: url
(images
/file-icon
.png
) center right no-repeat
;
930 #content a
[href ^
="irc://"],
931 #content a
.extiw
[href ^
="irc://"],
933 background: url
(images
/talk-icon
.png
) center right no-repeat
;
936 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
937 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
938 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
939 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
940 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
941 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
943 background: url
("images/audio-icon.png") center right no-repeat
;
946 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
947 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
948 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
949 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
951 background: url
("images/video-icon.png") center right no-repeat
;
954 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
955 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
956 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
958 background: url
("images/document-icon.png") center right no-repeat
;
961 /* Interwiki Styling (Disabled) */
963 #content a
.extiw:active
{
968 #content a
.external
{
971 #content .printfooter
{
979 background: url
(images
/user-icon
.png
) left top no-repeat
;
980 padding-left: 15px !important
;
981 text-transform: none
;
984 span
.newpage
, span
.minor
, span
.bot
{
989 border: 1px solid
#aaa;
990 background-color: #f9f9f9;