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
;
65 /* Hide empty portlets */
93 /* Navigation Containers */
103 /* Navigation Labels */
105 div
.vectorMenu h5 span
{
108 /* Namespaces and Views */
114 background-image: url
(images
/tab-break
.png
);
115 background-position: bottom right
;
116 background-repeat: no-repeat
;
130 div
.vectorTabs ul li
{
133 /* OVERRIDDEN BY COMPLIANT BROWSERS */
134 div
.vectorTabs ul li
{
135 line-height: 1.125em;
136 display: inline-block
;
140 background-color: #f3f3f3;
141 background-image: url
(images
/tab-normal-fade
.png
);
142 background-position: bottom right
;
143 background-repeat: repeat-x
;
147 div
.vectorTabs ul
> li
{
150 div
.vectorTabs li
.selected
{
151 background-image: url
(images
/tab-current-fade
.png
);
153 /* OVERRIDDEN BY COMPLIANT BROWSERS */
154 div
.vectorTabs li a
{
155 display: inline-block
;
157 padding-right: 0.4em;
159 background-image: url
(images
/tab-break
.png
);
160 background-position: bottom left
;
161 background-repeat: no-repeat
;
164 div
.vectorTabs li a span
{
168 div
.vectorTabs li a span
{
172 div
.vectorTabs li
> a
{
175 /* OVERRIDDEN BY COMPLIANT BROWSERS */
176 div
.vectorTabs a span
{
177 display: inline-block
;
182 div
.vectorTabs a
> span
{
186 div
.vectorTabs li
.selected a
,
187 div
.vectorTabs li
.selected a span
,
188 div
.vectorTabs li
.selected
a:visited
189 div
.vectorTabs li
.selected
a:visited span
{
191 text-decoration: none
;
193 div
.vectorTabs li
.new a
,
194 div
.vectorTabs li
.new a span
,
195 div
.vectorTabs li
.new
a:visited
,
196 div
.vectorTabs li
.new
a:visited span
{
199 /* Variants and Actions */
204 background-image: url
(images
/arrow-down-icon
.png
);
205 background-position: center center
;
206 background-repeat: no-repeat
;
208 body
.rtl div
.vectorMenu
{
211 /* OVERRIDDEN BY COMPLIANT BROWSERS */
213 #head div
.vectorMenu h5
{
215 background-image: url
(images
/tab-break
.png
);
216 background-repeat: no-repeat
;
219 #head div
.vectorMenu
> h5
{
220 background-image: none
;
222 #head div
.vectorMenu h5
{
223 background-position: bottom right
;
226 /* OVERRIDDEN BY COMPLIANT BROWSERS */
228 div
.vectorMenu h5 a
{
229 display: inline-block
;
232 text-decoration: none
;
233 background-image: url
(images
/tab-break
.png
);
234 background-repeat: no-repeat
;
237 background-position: bottom left
;
240 div
.vectorMenu h5
> a
{
243 div
.vectorMenu div
.menu
{
249 /* OVERRIDDEN BY COMPLIANT BROWSERS */
250 body
.rtl div
.vectorMenu div
.menu
{
254 body
.rtl div
.vectorMenu
> div
.menu
{
257 /* Fixes old versions of FireFox */
258 body
.rtl div
.vectorMenu
> div
.menu
,
262 div
.vectorMenu:hover div
.menu
{
267 background-color: white
;
268 border: solid
1px silver
;
271 list-style-image: none
;
272 list-style-type: none
;
278 /* Fixes old versions of FireFox */
283 /* Returns things back to normal in modern versions of FireFox */
295 /* OVERRIDDEN BY COMPLIANT BROWSERS */
296 div
.vectorMenu li a
{
297 display: inline-block
;
302 div
.vectorMenu li
> a
{
305 div
.vectorMenu li a
{
310 div
.vectorMenu li
.selected a
,
311 div
.vectorMenu li
.selected
a:visited
{
313 text-decoration: none
;
335 border: solid
1px #AAAAAA;
336 background-color: white
;
337 background-image: url
(images
/search-fade
.png
);
338 background-position: top right
;
339 background-repeat: repeat-x
;
341 #simpleSearch label
{
345 #simpleSearch input#searchInput
{
352 background-color: transparent
;
354 /* OVERRIDDEN BY COMPLIANT BROWSERS */
355 #simpleSearch button#searchButton
{
362 background-color: transparent
;
363 background-image: url
(images
/search-rtl
.png
);
364 background-position: center center
;
365 background-repeat: no-repeat
;
368 #simpleSearch > button#searchButton
{
371 .suggestions-special .special-label {
375 .suggestions-special .special-query {
379 .suggestions-special .special-hover {
380 background-color: silver
;
391 padding-bottom: 1.5em;
393 #panel div
.portal h5
{
398 padding-right: 1.75em;
403 #panel div
.portal div
.body
{
406 margin-right: 1.25em;
407 background-image: url
(images
/portal-break-rtl
.png
);
408 background-repeat: no-repeat
;
409 background-position: top right
;
411 #panel div
.portal div
.body ul
{
413 list-style-image: none
;
414 list-style-type: none
;
418 #panel div
.portal div
.body ul li
{
419 line-height: 1.125em;
421 padding-bottom: 0.5em;
426 #panel div
.portal div
.body ul li a
{
429 #panel div
.portal div
.body ul li
a:visited
{
437 background-image: url
(images/border.png);
438 background-position: top right
;
439 background-repeat: repeat-x
;
443 list-style-image: none
;
444 list-style-type: none
;
452 padding-bottom: 0.5em;
456 #footer #footer-icons
{
459 #footer #footer-places
{
462 #footer #footer-info li
{
465 #footer #footer-icons li
{
470 #footer #footer-places li
{
487 background-repeat: no-repeat
;
488 background-position: center center
;
489 text-decoration: none
;
494 * The following code is highly modified from monobook. It would be nice if the
495 * preftoc id was more human readable like preferences-toc for instance,
496 * howerver this would require backporting the other skins.
505 margin: 0 !important
;
506 padding: 0 !important
;
507 background-image: url
(images
/preferences-break
.png
);
508 background-position: bottom right
;
509 background-repeat: no-repeat
;
519 list-style-type: none
;
520 list-style-image: none
;
521 background-image: url
(images
/preferences-break
.png
);
522 background-position: bottom left
;
523 background-repeat: no-repeat
;
526 #preftoc li:first-child
{
531 display: inline-block
;
535 text-decoration: none
;
536 background-image: none
;
540 text-decoration: underline
;
542 #preftoc li
.selected a
{
543 background-image: url
(images
/preferences-fade
.png
);
544 background-position: bottom
;
545 background-repeat: repeat-x
;
547 text-decoration: none
;
555 border: solid
1px #cccccc;
556 background-color: #f9f9f9;
557 background-image: url
(images
/preferences-base
.png
);
559 #preferences fieldset
.prefsection
{
564 #preferences fieldset
.prefsection fieldset
{
566 border-top: solid
1px #cccccc;
568 #preferences legend
{
571 #preferences fieldset
.prefsection legend
.mainLegend
{
575 padding-right: 0.5em;
578 #preferences td
.htmlform-tip
{
583 #preferences div
.mw-prefs-buttons
{
586 #preferences div
.mw-prefs-buttons input
{
591 * Styles for the user login and create account forms
593 #userlogin, #userloginForm
{
594 border: solid
1px #cccccc;
608 * The following code is slightly modified from monobook
619 text-decoration: none
;
630 text-decoration: underline
;
635 a
.new
, #p-personal a
.new
{
638 a
.new:visited
, #p-personal a
.new:visited
{
642 /* Inline Elements */
645 vertical-align: middle
;
650 background-color: #aaa;
652 margin: .2em 0 .2em 0;
655 /* Structural Elements */
667 padding-bottom: .17em;
668 border-bottom: 1px solid
#aaa;
671 h1
{ font-size: 188%; }
672 h1
.editsection
{ font-size: 53%; }
673 h2
{ font-size: 150%; }
674 h2
.editsection
{ font-size: 67%; }
682 h3
{ font-size: 132%; }
683 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
684 h4
{ font-size: 116%; }
685 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
686 h5
{ font-size: 100%; }
687 h5
.editsection
{ font-weight: normal
; }
688 h6
{ font-size: 80%; }
689 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
691 margin: .4em 0 .5em 0;
700 border-bottom: 1px dotted black
;
706 font-family: Times
, "Times New Roman", serif
;
711 font-family: Times, "Times New Roman", serif;
715 background-color: #f9f9f9;
719 border: 1px dashed
#2f6fab;
721 background-color: #f9f9f9;
726 list-style-type: square
;
727 margin: .3em 1.5em 0 0;
729 list-style-image: url
(images
/bullet-icon
.png
);
733 margin: .3em 3.2em 0 0;
735 list-style-image: none
;
757 /* we don't want the bottom borders of <h2>s to be visible through
759 background-color: white
;
762 /* but keep table layouts in forms clean... */
767 border: 1px solid
#2f6fab;
774 padding: 0 0.5em 0.5em;
791 /* Table of Contents */
795 border: 1px solid
#aaa;
796 background-color: #f9f9f9;
816 list-style-type: none
;
817 list-style-image: none
;
831 div
.floatright
, table
.floatright
{
835 margin: 0 .5em .5em 0;
838 div
.floatright p
{ font-style: italic
; }
839 div
.floatleft
, table
.floatleft
{
843 margin: 0 0 .5em .5em;
846 div
.floatleft p
{ font-style: italic
; }
853 background-color: transparent
;
856 border: 1px solid
#ccc;
857 padding: 3px !important
;
858 background-color: #f9f9f9;
864 border: 1px solid
#ccc;
870 padding: 3px !important
;
875 border: none
!important
;
876 background: none
!important
;
878 div
.magnify a
, div
.magnify img
{
880 border: none
!important
;
881 background: none
!important
;
886 border-width: .5em 1.4em .8em 0;
892 border-width: .5em 0 .8em 1.4em;
895 border: 1px solid
#dddddd;
908 background-color: #ffce7b;
909 border: 1px solid
#ffa500;
914 vertical-align: middle
;
926 margin-bottom: 0.9em;
930 border: 1px solid
#aaa;
931 background-color: #f9f9f9;
943 #contentSub, #contentSub2
{
946 margin: 0 1em 1.4em 0;
962 /* Small for tables and similar */
969 /* Edge Cases for Content */
980 margin-bottom: 0.1em;
986 #content a
[href ^
="gopher://"] {
987 background: url
(images
/external-link-rtl-icon
.png
) center left no-repeat
;
990 #content a
[href ^
="https://"],
992 background: url
(images
/lock-icon
.png
) center left no-repeat
;
995 #content a
[href ^
="mailto:"],
997 background: url
(images
/mail-icon
.png
) center left no-repeat
;
1000 #content a
[href ^
="news://"] {
1001 background: url
(images
/news-icon
.png
) center left no-repeat
;
1002 padding: 0 0 0 18px;
1004 #content a
[href ^
="ftp://"],
1006 background: url
(images
/file-icon
.png
) center left no-repeat
;
1007 padding: 0 0 0 18px;
1009 #content a
[href ^
="irc://"],
1010 #content a
.extiw
[href ^
="irc://"],
1012 background: url
(images
/talk-icon
.png
) center left no-repeat
;
1013 padding: 0 0 0 18px;
1015 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
1016 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
1017 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
1018 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
1019 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
1020 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
1022 background: url
("images/audio-icon.png") center left no-repeat
;
1023 padding: 0 0 0 18px;
1025 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
1026 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
1027 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
1028 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
1030 background: url
("images/video-icon.png") center left no-repeat
;
1031 padding: 0 0 0 18px;
1033 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
1034 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
1035 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
1037 background: url
("images/document-icon.png") center left no-repeat
;
1038 padding: 0 0 0 18px;
1040 /* Interwiki Styling (Disabled) */
1042 #content a
.extiw:active
{
1047 #content a
.external
{
1050 #content .printfooter
{
1053 /* Icon for Usernames */
1057 background: url
(images
/user-icon
.png
) right top no-repeat
;
1058 padding-right: 15px !important
;
1059 text-transform: none
;
1063 border: 1px solid
#aaa;
1064 background-color: #f9f9f9;
1079 /* Watch/Unwatch Icon Styling */
1093 #ca-unwatch.icon a
{
1094 background-image: url
(images
/watch-icons
.png
);
1095 background-position: -43px 60%;
1098 background-image: url
(images
/watch-icons
.png
);
1099 background-position: 5px 60%;
1101 #ca-unwatch.icon
a:hover
{
1102 background-image: url
(images
/watch-icons
.png
);
1103 background-position: -67px 60%;
1105 #ca-watch.icon
a:hover
{
1106 background-image: url
(images
/watch-icons
.png
);
1107 background-position: -19px 60%;
1109 #ca-unwatch.icon a
.loading
,
1110 #ca-watch.icon a
.loading
{
1111 background-image: url
(images
/watch-icon-loading
.gif
);
1112 background-position: center
60%;
1114 #ca-unwatch.icon a span
,
1115 #ca-watch.icon a span
{
1119 background-image:url
(images
/tab-break
.png
);
1120 background-position:left bottom
;
1121 background-repeat:no-repeat
;