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
;
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 left
;
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 left
;
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
;
158 padding-right: 0.4em;
159 background-image: url
(images
/tab-break
.png
);
160 background-position: bottom right
;
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
;
209 body
.rtl div
.vectorMenu
{
212 /* OVERRIDDEN BY COMPLIANT BROWSERS */
214 #head div
.vectorMenu h5
{
216 background-image: url
(images
/tab-break
.png
);
217 background-repeat: no-repeat
;
220 #head div
.vectorMenu
> h5
{
221 background-image: none
;
223 #head div
.vectorMenu h5
{
224 background-position: bottom left
;
227 /* OVERRIDDEN BY COMPLIANT BROWSERS */
229 div
.vectorMenu h5 a
{
230 display: inline-block
;
233 text-decoration: none
;
234 background-image: url
(images
/tab-break
.png
);
235 background-repeat: no-repeat
;
238 background-position: bottom right
;
241 div
.vectorMenu h5
> a
{
244 div
.vectorMenu div
.menu
{
250 /* OVERRIDDEN BY COMPLIANT BROWSERS */
252 body
.rtl div
.vectorMenu div
.menu
{
257 body
.rtl div
.vectorMenu
> div
.menu
{
260 /* Fixes old versions of FireFox */
262 body
.rtl div
.vectorMenu
> div
.menu
,
266 div
.vectorMenu:hover div
.menu
{
271 background-color: white
;
272 border: solid
1px silver
;
275 list-style-image: none
;
276 list-style-type: none
;
282 /* Fixes old versions of FireFox */
287 /* Returns things back to normal in modern versions of FireFox */
299 /* OVERRIDDEN BY COMPLIANT BROWSERS */
300 div
.vectorMenu li a
{
301 display: inline-block
;
306 div
.vectorMenu li
> a
{
309 div
.vectorMenu li a
{
314 div
.vectorMenu li
.selected a
,
315 div
.vectorMenu li
.selected
a:visited
{
317 text-decoration: none
;
339 border: solid
1px #AAAAAA;
340 background-color: white
;
341 background-image: url
(images
/search-fade
.png
);
342 background-position: top left
;
343 background-repeat: repeat-x
;
345 #simpleSearch label
{
349 #simpleSearch input#searchInput
{
356 background-color: transparent
;
358 /* OVERRIDDEN BY COMPLIANT BROWSERS */
359 #simpleSearch button#searchButton
{
366 background-color: transparent
;
367 background-image: url
(images
/search-ltr
.png
);
368 background-position: center center
;
369 background-repeat: no-repeat
;
372 #simpleSearch > button#searchButton
{
375 .suggestions-special .special-label {
379 .suggestions-special .special-query {
383 .suggestions-special .special-hover {
384 background-color: silver
;
395 padding-bottom: 1.5em;
397 #panel div
.portal h5
{
402 padding-left: 1.75em;
407 #panel div
.portal div
.body
{
411 background-image: url
(images
/portal-break
.png
);
412 background-repeat: no-repeat
;
413 background-position: top left
;
415 #panel div
.portal div
.body ul
{
417 list-style-image: none
;
418 list-style-type: none
;
422 #panel div
.portal div
.body ul li
{
423 line-height: 1.125em;
425 padding-bottom: 0.5em;
430 #panel div
.portal div
.body ul li a
{
433 #panel div
.portal div
.body ul li
a:visited
{
441 background-image: url
(images/border.png);
442 background-position: top left
;
443 background-repeat: repeat-x
;
447 list-style-image: none
;
448 list-style-type: none
;
456 padding-bottom: 0.5em;
460 #footer #footer-icons
{
463 #footer #footer-places
{
466 #footer #footer-info li
{
469 #footer #footer-icons li
{
474 #footer #footer-places li
{
491 background-repeat: no-repeat
;
492 background-position: center center
;
493 text-decoration: none
;
498 * The following code is highly modified from monobook. It would be nice if the
499 * preftoc id was more human readable like preferences-toc for instance,
500 * howerver this would require backporting the other skins.
509 margin: 0 !important
;
510 padding: 0 !important
;
511 background-image: url
(images
/preferences-break
.png
);
512 background-position: bottom left
;
513 background-repeat: no-repeat
;
523 list-style-type: none
;
524 list-style-image: none
;
525 background-image: url
(images
/preferences-break
.png
);
526 background-position: bottom right
;
527 background-repeat: no-repeat
;
530 #preftoc li:first-child
{
535 display: inline-block
;
539 text-decoration: none
;
540 background-image: none
;
544 text-decoration: underline
;
546 #preftoc li
.selected a
{
547 background-image: url
(images
/preferences-fade
.png
);
548 background-position: bottom
;
549 background-repeat: repeat-x
;
551 text-decoration: none
;
559 border: solid
1px #cccccc;
560 background-color: #f9f9f9;
561 background-image: url
(images
/preferences-base
.png
);
563 #preferences fieldset
.prefsection
{
568 #preferences fieldset
.prefsection fieldset
{
570 border-top: solid
1px #cccccc;
572 #preferences legend
{
575 #preferences fieldset
.prefsection legend
.mainLegend
{
580 padding-right: 0.5em;
582 #preferences td
.htmlform-tip
{
587 #preferences div
.mw-prefs-buttons
{
590 #preferences div
.mw-prefs-buttons input
{
591 margin-right: 0.25em;
595 * Styles for the user login and create account forms
597 #userlogin, #userloginForm
{
598 border: solid
1px #cccccc;
612 * The following code is slightly modified from monobook
623 text-decoration: none
;
634 text-decoration: underline
;
639 a
.new
, #p-personal a
.new
{
642 a
.new:visited
, #p-personal a
.new:visited
{
646 /* Inline Elements */
649 vertical-align: middle
;
654 background-color: #aaa;
656 margin: .2em 0 .2em 0;
659 /* Structural Elements */
671 padding-bottom: .17em;
672 border-bottom: 1px solid
#aaa;
675 h1
{ font-size: 188%; }
676 h1
.editsection
{ font-size: 53%; }
677 h2
{ font-size: 150%; }
678 h2
.editsection
{ font-size: 67%; }
686 h3
{ font-size: 132%; }
687 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
688 h4
{ font-size: 116%; }
689 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
690 h5
{ font-size: 100%; }
691 h5
.editsection
{ font-weight: normal
; }
692 h6
{ font-size: 80%; }
693 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
695 margin: .4em 0 .5em 0;
704 border-bottom: 1px dotted black
;
710 font-family: Times
, "Times New Roman", serif
;
715 font-family: Times, "Times New Roman", serif;
719 background-color: #f9f9f9;
723 border: 1px dashed
#2f6fab;
725 background-color: #f9f9f9;
730 list-style-type: square
;
731 margin: .3em 0 0 1.5em;
733 list-style-image: url
(images
/bullet-icon
.png
);
737 margin: .3em 0 0 3.2em;
739 list-style-image: none
;
761 /* we don't want the bottom borders of <h2>s to be visible through
763 background-color: white
;
766 /* but keep table layouts in forms clean... */
771 border: 1px solid
#2f6fab;
778 padding: 0 0.5em 0.5em;
795 /* Table of Contents */
799 border: 1px solid
#aaa;
800 background-color: #f9f9f9;
820 list-style-type: none
;
821 list-style-image: none
;
835 div
.floatright
, table
.floatright
{
839 margin: 0 0 .5em .5em;
842 div
.floatright p
{ font-style: italic
; }
843 div
.floatleft
, table
.floatleft
{
847 margin: 0 .5em .5em 0;
850 div
.floatleft p
{ font-style: italic
; }
857 background-color: transparent
;
860 border: 1px solid
#ccc;
861 padding: 3px !important
;
862 background-color: #f9f9f9;
868 border: 1px solid
#ccc;
874 padding: 3px !important
;
879 border: none
!important
;
880 background: none
!important
;
882 div
.magnify a
, div
.magnify img
{
884 border: none
!important
;
885 background: none
!important
;
890 border-width: .5em 0 .8em 1.4em;
896 border-width: .5em 1.4em .8em 0;
899 border: 1px solid
#dddddd;
912 background-color: #ffce7b;
913 border: 1px solid
#ffa500;
918 vertical-align: middle
;
930 margin-bottom: 0.9em;
934 border: 1px solid
#aaa;
935 background-color: #f9f9f9;
947 #contentSub, #contentSub2
{
950 margin: 0 0 1.4em 1em;
966 /* Small for tables and similar */
973 /* Edge Cases for Content */
984 margin-bottom: 0.1em;
990 #content a
[href ^
="gopher://"] {
991 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
994 #content a
[href ^
="https://"],
996 background: url
(images
/lock-icon
.png
) center right no-repeat
;
999 #content a
[href ^
="mailto:"],
1001 background: url
(images
/mail-icon
.png
) center right no-repeat
;
1002 padding: 0 18px 0 0;
1004 #content a
[href ^
="news://"] {
1005 background: url
(images
/news-icon
.png
) center right no-repeat
;
1006 padding: 0 18px 0 0;
1008 #content a
[href ^
="ftp://"],
1010 background: url
(images
/file-icon
.png
) center right no-repeat
;
1011 padding: 0 18px 0 0;
1013 #content a
[href ^
="irc://"],
1014 #content a
.extiw
[href ^
="irc://"],
1016 background: url
(images
/talk-icon
.png
) center right no-repeat
;
1017 padding: 0 18px 0 0;
1019 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
1020 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
1021 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
1022 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
1023 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
1024 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
1026 background: url
("images/audio-icon.png") center right no-repeat
;
1027 padding: 0 18px 0 0;
1029 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
1030 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
1031 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
1032 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
1034 background: url
("images/video-icon.png") center right no-repeat
;
1035 padding: 0 18px 0 0;
1037 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
1038 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
1039 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
1041 background: url
("images/document-icon.png") center right no-repeat
;
1042 padding: 0 18px 0 0;
1044 /* Interwiki Styling (Disabled) */
1046 #content a
.extiw:active
{
1051 #content a
.external
{
1054 #content .printfooter
{
1057 /* Icon for Usernames */
1061 background: url
(images
/user-icon
.png
) left top no-repeat
;
1062 padding-left: 15px !important
;
1063 text-transform: none
;
1067 border: 1px solid
#aaa;
1068 background-color: #f9f9f9;
1083 /* Watch/Unwatch Icon Styling */
1097 #ca-unwatch.icon a
{
1098 background-image: url
(images
/watch-icons
.png
);
1099 background-position: -43px 60%;
1102 background-image: url
(images
/watch-icons
.png
);
1103 background-position: 5px 60%;
1105 #ca-unwatch.icon
a:hover
{
1106 background-image: url
(images
/watch-icons
.png
);
1107 background-position: -67px 60%;
1109 #ca-watch.icon
a:hover
{
1110 background-image: url
(images
/watch-icons
.png
);
1111 background-position: -19px 60%;
1113 #ca-unwatch.icon a
.loading
,
1114 #ca-watch.icon a
.loading
{
1115 background-image: url
(images
/watch-icon-loading
.gif
);
1116 background-position: center
60%;
1118 #ca-unwatch.icon a span
,
1119 #ca-watch.icon a span
{
1123 background-image:url
(images
/tab-break
.png
);
1124 background-position:right bottom
;
1125 background-repeat:no-repeat
;