69b3de21fbe38157615fa8cc0ca38d3a5468f95a
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
;
146 div
.vectorTabs ul
> li
{
149 div
.vectorTabs li
.selected
{
150 background-image: url
(images
/tab-current-fade
.png
);
152 /* OVERRIDDEN BY COMPLIANT BROWSERS */
153 div
.vectorTabs li a
{
154 display: inline-block
;
156 padding-right: 0.4em;
158 background-image: url
(images
/tab-break
.png
);
159 background-position: bottom left
;
160 background-repeat: no-repeat
;
163 div
.vectorTabs li a span
{
167 div
.vectorTabs li a span
{
171 div
.vectorTabs li
> a
{
174 /* OVERRIDDEN BY COMPLIANT BROWSERS */
175 div
.vectorTabs a span
{
176 display: inline-block
;
181 div
.vectorTabs a
> span
{
185 div
.vectorTabs li
.selected a
,
186 div
.vectorTabs li
.selected a span
,
187 div
.vectorTabs li
.selected
a:visited
188 div
.vectorTabs li
.selected
a:visited span
{
190 text-decoration: none
;
192 div
.vectorTabs li
.new a
,
193 div
.vectorTabs li
.new a span
,
194 div
.vectorTabs li
.new
a:visited
,
195 div
.vectorTabs li
.new
a:visited span
{
198 /* Variants and Actions */
203 background-image: url
(images
/arrow-down-icon
.png
);
204 background-position: center center
;
205 background-repeat: no-repeat
;
207 body
.rtl div
.vectorMenu
{
211 #head div
.vectorMenu h5
{
213 background-image: url
(images
/tab-break
.png
);
214 background-position: bottom left
;
215 background-repeat: no-repeat
;
219 /* OVERRIDDEN BY COMPLIANT BROWSERS */
220 div
.vectorMenu h5 a
{
221 display: inline-block
;
224 text-decoration: none
;
225 background-image: url
(images
/tab-break
.png
);
226 background-position: bottom left
;
227 background-repeat: no-repeat
;
230 div
.vectorMenu h5
> a
{
233 div
.vectorMenu div
.menu
{
239 /* OVERRIDDEN BY COMPLIANT BROWSERS */
240 body
.rtl div
.vectorMenu div
.menu
{
244 body
.rtl div
.vectorMenu
> div
.menu
{
247 /* Fixes old versions of FireFox */
248 body
.rtl div
.vectorMenu
> div
.menu
,
252 div
.vectorMenu:hover div
.menu
{
257 background-color: white
;
258 border: solid
1px silver
;
261 list-style-image: none
;
262 list-style-type: none
;
268 /* Fixes old versions of FireFox */
273 /* Returns things back to normal in modern versions of FireFox */
285 /* OVERRIDDEN BY COMPLIANT BROWSERS */
286 div
.vectorMenu li a
{
287 display: inline-block
;
292 div
.vectorMenu li
> a
{
295 div
.vectorMenu li a
{
300 div
.vectorMenu li
.selected a
,
301 div
.vectorMenu li
.selected
a:visited
{
303 text-decoration: none
;
325 border: solid
1px #AAAAAA;
326 background-color: white
;
327 background-image: url
(images
/search-fade
.png
);
328 background-position: top right
;
329 background-repeat: repeat-x
;
331 #simpleSearch label
{
334 #simpleSearch input#searchInput
{
341 background-color: transparent
;
343 /* OVERRIDDEN BY COMPLIANT BROWSERS */
344 #simpleSearch button#searchButton
{
351 background-color: transparent
;
352 background-image: url
(images
/search-rtl
.png
);
353 background-position: center center
;
354 background-repeat: no-repeat
;
357 #simpleSearch > button#searchButton
{
360 .suggestions-special .special-label {
364 .suggestions-special .special-query {
368 .suggestions-special .special-hover {
369 background-color: silver
;
380 padding-bottom: 1.5em;
382 #panel div
.portal h5
{
387 padding-right: 1.75em;
392 #panel div
.portal div
.body
{
395 margin-right: 1.25em;
396 background-image: url
(images
/portal-break-rtl
.png
);
397 background-repeat: no-repeat
;
398 background-position: top right
;
400 #panel div
.portal div
.body ul
{
402 list-style-image: none
;
403 list-style-type: none
;
407 #panel div
.portal div
.body ul li
{
408 line-height: 1.125em;
410 padding-bottom: 0.5em;
415 #panel div
.portal div
.body ul li a
{
418 #panel div
.portal div
.body ul li
a:visited
{
426 background-image: url
(images/border.png);
427 background-position: top right
;
428 background-repeat: repeat-x
;
432 list-style-image: none
;
433 list-style-type: none
;
441 padding-bottom: 0.5em;
445 #footer #footer-icons
{
448 #footer #footer-places
{
451 #footer #footer-info li
{
454 #footer #footer-icons li
{
459 #footer #footer-places li
{
476 background-repeat: no-repeat
;
477 background-position: center center
;
478 text-decoration: none
;
483 * The following code is highly modified from monobook. It would be nice if the
484 * preftoc id was more human readable like preferences-toc for instance,
485 * howerver this would require backporting the other skins.
494 margin: 0 !important
;
495 padding: 0 !important
;
496 background-image: url
(images
/preferences-break
.png
);
497 background-position: bottom right
;
498 background-repeat: no-repeat
;
508 list-style-type: none
;
509 list-style-image: none
;
510 background-image: url
(images
/preferences-break
.png
);
511 background-position: bottom left
;
512 background-repeat: no-repeat
;
515 #preftoc li:first-child
{
520 display: inline-block
;
524 text-decoration: none
;
525 background-image: none
;
529 text-decoration: underline
;
531 #preftoc li
.selected a
{
532 background-image: url
(images
/preferences-fade
.png
);
533 background-position: bottom
;
534 background-repeat: repeat-x
;
536 text-decoration: none
;
544 border: solid
1px #cccccc;
545 background-color: #f9f9f9;
546 background-image: url
(images
/preferences-base
.png
);
548 #preferences fieldset
.prefsection
{
553 #preferences fieldset
.prefsection fieldset
{
555 border-top: solid
1px #cccccc;
557 #preferences legend
{
560 #preferences fieldset
.prefsection legend
.mainLegend
{
564 padding-right: 0.5em;
567 #preferences td
.htmlform-tip
{
572 #preferences div
.mw-prefs-buttons
{
575 #preferences div
.mw-prefs-buttons input
{
581 * The following code is slightly modified from monobook
592 text-decoration: none
;
603 text-decoration: underline
;
608 a
.new
, #p-personal a
.new
{
611 a
.new:visited
, #p-personal a
.new:visited
{
615 /* Inline Elements */
618 vertical-align: middle
;
623 background-color: #aaa;
625 margin: .2em 0 .2em 0;
628 /* Structural Elements */
640 padding-bottom: .17em;
641 border-bottom: 1px solid
#aaa;
644 h1
{ font-size: 188%; }
645 h1
.editsection
{ font-size: 53%; }
646 h2
{ font-size: 150%; }
647 h2
.editsection
{ font-size: 67%; }
655 h3
{ font-size: 132%; }
656 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
657 h4
{ font-size: 116%; }
658 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
659 h5
{ font-size: 100%; }
660 h5
.editsection
{ font-weight: normal
; }
661 h6
{ font-size: 80%; }
662 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
664 margin: .4em 0 .5em 0;
673 border-bottom: 1px dotted black
;
679 font-family: Times
, "Times New Roman", serif
;
684 font-family: Times, "Times New Roman", serif;
688 background-color: #f9f9f9;
692 border: 1px dashed
#2f6fab;
694 background-color: #f9f9f9;
699 list-style-type: square
;
700 margin: .3em 1.5em 0 0;
702 list-style-image: url
(images
/bullet-icon
.png
);
706 margin: .3em 3.2em 0 0;
708 list-style-image: none
;
730 /* we don't want the bottom borders of <h2>s to be visible through
732 background-color: white
;
735 /* but keep table layouts in forms clean... */
740 border: 1px solid
#2f6fab;
747 padding: 0 0.5em 0.5em;
764 /* Table of Contents */
768 border: 1px solid
#aaa;
769 background-color: #f9f9f9;
789 list-style-type: none
;
790 list-style-image: none
;
804 div
.floatright
, table
.floatright
{
808 margin: 0 .5em .5em 0;
811 div
.floatright p
{ font-style: italic
; }
812 div
.floatleft
, table
.floatleft
{
816 margin: 0 0 .5em .5em;
819 div
.floatleft p
{ font-style: italic
; }
826 background-color: transparent
;
829 border: 1px solid
#ccc;
830 padding: 3px !important
;
831 background-color: #f9f9f9;
837 border: 1px solid
#ccc;
843 padding: 3px !important
;
848 border: none
!important
;
849 background: none
!important
;
851 div
.magnify a
, div
.magnify img
{
853 border: none
!important
;
854 background: none
!important
;
859 border-width: .5em 1.4em .8em 0;
865 border-width: .5em 0 .8em 1.4em;
868 border: 1px solid
#dddddd;
881 background-color: #ffce7b;
882 border: 1px solid
#ffa500;
887 vertical-align: middle
;
899 margin-bottom: 0.9em;
903 border: 1px solid
#aaa;
904 background-color: #f9f9f9;
916 #contentSub, #contentSub2
{
919 margin: 0 1em 1.4em 0;
935 /* Small for tables and similar */
942 /* Edge Cases for Content */
953 margin-bottom: 0.1em;
959 #content a
[href ^
="gopher://"] {
960 background: url
(images
/external-link-rtl-icon
.png
) center left no-repeat
;
963 #content a
[href ^
="https://"],
965 background: url
(images
/lock-icon
.png
) center left no-repeat
;
968 #content a
[href ^
="mailto:"],
970 background: url
(images
/mail-icon
.png
) center left no-repeat
;
973 #content a
[href ^
="news://"] {
974 background: url
(images
/news-icon
.png
) center left no-repeat
;
977 #content a
[href ^
="ftp://"],
979 background: url
(images
/file-icon
.png
) center left no-repeat
;
982 #content a
[href ^
="irc://"],
983 #content a
.extiw
[href ^
="irc://"],
985 background: url
(images
/talk-icon
.png
) center left no-repeat
;
988 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
989 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
990 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
991 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
992 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
993 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
995 background: url
("images/audio-icon.png") center left no-repeat
;
998 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
999 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
1000 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
1001 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
1003 background: url
("images/video-icon.png") center left no-repeat
;
1004 padding: 0 0 0 18px;
1006 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
1007 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
1008 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
1010 background: url
("images/document-icon.png") center left no-repeat
;
1011 padding: 0 0 0 18px;
1013 /* Interwiki Styling (Disabled) */
1015 #content a
.extiw:active
{
1020 #content a
.external
{
1023 #content .printfooter
{
1026 /* Icon for Usernames */
1030 background: url
(images
/user-icon
.png
) right top no-repeat
;
1031 padding-right: 15px !important
;
1032 text-transform: none
;
1036 border: 1px solid
#aaa;
1037 background-color: #f9f9f9;