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-image: url
(images
/page-base
.png
);
28 background-color: #f9f9f9;
35 background-image: url
(images/border.png);
36 background-position: top left
;
37 background-repeat: repeat-y
;
38 background-color: white
;
43 background-color: white
;
44 background-image: url
(images
/page-fade
.png
);
45 background-position: bottom left
;
46 background-repeat: repeat-x
;
52 background-image: url
(images/border.png);
53 background-position: bottom left
;
54 background-repeat: repeat-x
;
66 /* Hide empty portlets */
94 /* Navigation Containers */
104 /* Navigation Labels */
106 div
.vectorMenu h5 span
{
109 /* Namespaces and Views */
115 background-image: url
(images
/tab-break
.png
);
116 background-position: bottom left
;
117 background-repeat: no-repeat
;
131 div
.vectorTabs ul li
{
134 /* OVERRIDDEN BY COMPLIANT BROWSERS */
135 div
.vectorTabs ul li
{
136 line-height: 1.125em;
137 display: inline-block
;
141 background-color: #f3f3f3;
142 background-image: url
(images
/tab-normal-fade
.png
);
143 background-position: bottom left
;
144 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
;
208 body
.rtl div
.vectorMenu
{
212 #head div
.vectorMenu h5
{
214 background-image: url
(images
/tab-break
.png
);
215 background-position: bottom left
;
216 background-repeat: no-repeat
;
220 /* OVERRIDDEN BY COMPLIANT BROWSERS */
221 div
.vectorMenu h5 a
{
222 display: inline-block
;
225 text-decoration: none
;
226 background-image: url
(images
/tab-break
.png
);
227 background-position: bottom right
;
228 background-repeat: no-repeat
;
231 div
.vectorMenu h5
> a
{
234 div
.vectorMenu div
.menu
{
240 /* OVERRIDDEN BY COMPLIANT BROWSERS */
241 body
.rtl div
.vectorMenu div
.menu
{
245 body
.rtl div
.vectorMenu
> div
.menu
{
248 /* Fixes old versions of FireFox */
249 body
.rtl div
.vectorMenu
> div
.menu
,
253 div
.vectorMenu:hover div
.menu
{
258 background-color: white
;
259 border: solid
1px silver
;
262 list-style-image: none
;
263 list-style-type: none
;
269 /* Fixes old versions of FireFox */
274 /* Returns things back to normal in modern versions of FireFox */
286 /* OVERRIDDEN BY COMPLIANT BROWSERS */
287 div
.vectorMenu li a
{
288 display: inline-block
;
293 div
.vectorMenu li
> a
{
296 div
.vectorMenu li a
{
301 div
.vectorMenu li
.selected a
,
302 div
.vectorMenu li
.selected
a:visited
{
304 text-decoration: none
;
326 border: solid
1px #AAAAAA;
327 background-color: white
;
328 background-image: url
(images
/search-fade
.png
);
329 background-position: top left
;
330 background-repeat: repeat-x
;
332 #simpleSearch label
{
335 #simpleSearch input#searchInput
{
342 background-color: transparent
;
344 /* OVERRIDDEN BY COMPLIANT BROWSERS */
345 #simpleSearch button#searchButton
{
352 background-color: transparent
;
353 background-image: url
(images
/search-ltr
.png
);
354 background-position: center center
;
355 background-repeat: no-repeat
;
358 #simpleSearch > button#searchButton
{
361 .suggestions-special .special-label {
365 .suggestions-special .special-query {
369 .suggestions-special .special-hover {
370 background-color: silver
;
381 padding-bottom: 1.5em;
383 #panel div
.portal h5
{
388 padding-left: 1.75em;
393 #panel div
.portal div
.body
{
397 background-image: url
(images
/portal-break-ltr
.png
);
398 background-repeat: no-repeat
;
399 background-position: top left
;
401 #panel div
.portal div
.body ul
{
403 list-style-image: none
;
404 list-style-type: none
;
408 #panel div
.portal div
.body ul li
{
409 line-height: 1.125em;
411 padding-bottom: 0.5em;
416 #panel div
.portal div
.body ul li a
{
419 #panel div
.portal div
.body ul li
a:visited
{
427 background-image: url
(images/border.png);
428 background-position: top left
;
429 background-repeat: repeat-x
;
433 list-style-image: none
;
434 list-style-type: none
;
442 padding-bottom: 0.5em;
446 #footer #footer-icons
{
449 #footer #footer-places
{
452 #footer #footer-info li
{
455 #footer #footer-icons li
{
460 #footer #footer-places li
{
477 background-repeat: no-repeat
;
478 background-position: center center
;
479 text-decoration: none
;
484 * The following code is highly modified from monobook. It would be nice if the
485 * preftoc id was more human readable like preferences-toc for instance,
486 * howerver this would require backporting the other skins.
495 margin: 0 !important
;
496 padding: 0 !important
;
497 background-image: url
(images
/preferences-break
.png
);
498 background-position: bottom left
;
499 background-repeat: no-repeat
;
509 list-style-type: none
;
510 list-style-image: none
;
511 background-image: url
(images
/preferences-break
.png
);
512 background-position: bottom right
;
513 background-repeat: no-repeat
;
516 #preftoc li:first-child
{
521 display: inline-block
;
525 text-decoration: none
;
526 background-image: none
;
530 text-decoration: underline
;
532 #preftoc li
.selected a
{
533 background-image: url
(images
/preferences-fade
.png
);
534 background-position: bottom
;
535 background-repeat: repeat-x
;
537 text-decoration: none
;
545 border: solid
1px #cccccc;
546 background-color: #f9f9f9;
547 background-image: url
(images
/preferences-base
.png
);
549 #preferences fieldset
.prefsection
{
554 #preferences fieldset
.prefsection fieldset
{
556 border-top: solid
1px #cccccc;
558 #preferences legend
{
561 #preferences fieldset
.prefsection legend
.mainLegend
{
566 padding-right: 0.5em;
568 #preferences td
.htmlform-tip
{
573 #preferences div
.mw-prefs-buttons
{
576 #preferences div
.mw-prefs-buttons input
{
577 margin-right: 0.25em;
582 * The following code is slightly modified from monobook
593 text-decoration: none
;
604 text-decoration: underline
;
609 a
.new
, #p-personal a
.new
{
612 a
.new:visited
, #p-personal a
.new:visited
{
616 /* Inline Elements */
619 vertical-align: middle
;
624 background-color: #aaa;
626 margin: .2em 0 .2em 0;
629 /* Structural Elements */
641 padding-bottom: .17em;
642 border-bottom: 1px solid
#8d8d8d;
645 h1
{ font-size: 188%; }
646 h1
.editsection
{ font-size: 53%; }
647 h2
{ font-size: 150%; }
648 h2
.editsection
{ font-size: 67%; }
656 h3
{ font-size: 132%; }
657 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
658 h4
{ font-size: 116%; }
659 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
660 h5
{ font-size: 100%; }
661 h5
.editsection
{ font-weight: normal
; }
662 h6
{ font-size: 80%; }
663 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
665 margin: .4em 0 .5em 0;
674 border-bottom: 1px dotted black
;
680 font-family: Times
, "Times New Roman", serif
;
685 font-family: Times, "Times New Roman", serif;
689 background-color: #f9f9f9;
693 border: 1px dashed
#2f6fab;
695 background-color: #f9f9f9;
700 list-style-type: square
;
701 margin: .3em 0 0 1.5em;
703 list-style-image: url
(images
/bullet-icon
.png
);
707 margin: .3em 0 0 3.2em;
709 list-style-image: none
;
731 /* we don't want the bottom borders of <h2>s to be visible through
733 background-color: white
;
736 /* but keep table layouts in forms clean... */
741 border: 1px solid
#2f6fab;
748 padding: 0 0.5em 0.5em;
765 /* Table of Contents */
769 border: 1px solid
#c0c0c0;
770 background-color: #f0f0f0;
790 list-style-type: none
;
791 list-style-image: none
;
805 div
.floatright
, table
.floatright
{
809 margin: 0 0 .5em .5em;
812 div
.floatright p
{ font-style: italic
; }
813 div
.floatleft
, table
.floatleft
{
817 margin: 0 .5em .5em 0;
820 div
.floatleft p
{ font-style: italic
; }
827 background-color: transparent
;
830 border: 1px solid
#c0c0c0;
831 padding: 3px !important
;
832 background-color: #f0f0f0;
838 border: 1px solid
#c0c0c0;
839 background-color: #f0f0f0;
845 padding: 3px !important
;
850 border: none
!important
;
851 background: none
!important
;
853 div
.magnify a
, div
.magnify img
{
855 border: none
!important
;
856 background: none
!important
;
861 border-width: .5em 0 .8em 1.4em;
867 border-width: .5em 1.4em .8em 0;
870 border: 1px solid
#dddddd;
883 background-color: #ffce7b;
884 border: 1px solid
#ffa500;
889 vertical-align: middle
;
901 margin-bottom: 0.9em;
905 border: 1px solid
#aaa;
906 background-color: #f9f9f9;
918 #contentSub, #contentSub2
{
921 margin: 0 0 1.4em 1em;
937 /* Small for tables and similar */
944 /* Edge Cases for Content */
955 margin-bottom: 0.1em;
962 #content a
[href ^
="gopher://"] {
963 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
966 #content a
[href ^
="https://"],
968 background: url
(images
/lock-icon
.png
) center right no-repeat
;
971 #content a
[href ^
="mailto:"],
973 background: url
(images
/mail-icon
.png
) center right no-repeat
;
976 #content a
[href ^
="news://"] {
977 background: url
(images
/news-icon
.png
) center right no-repeat
;
980 #content a
[href ^
="ftp://"],
982 background: url
(images
/file-icon
.png
) center right no-repeat
;
985 #content a
[href ^
="irc://"],
986 #content a
.extiw
[href ^
="irc://"],
988 background: url
(images
/talk-icon
.png
) center right no-repeat
;
991 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
992 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
993 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
994 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
995 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
996 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
998 background: url
("images/audio-icon.png") center right no-repeat
;
1001 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
1002 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
1003 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
1004 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
1006 background: url
("images/video-icon.png") center right no-repeat
;
1007 padding: 0 18px 0 0;
1009 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
1010 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
1011 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
1013 background: url
("images/document-icon.png") center right no-repeat
;
1014 padding: 0 18px 0 0;
1016 /* Interwiki Styling (Disabled) */
1018 #content a
.extiw:active
{
1023 #content a
.external
{
1026 #content .printfooter
{
1029 /* Icon for Usernames */
1033 background: url
(images
/user-icon
.png
) left top no-repeat
;
1034 padding-left: 15px !important
;
1035 text-transform: none
;
1038 border: 1px solid
#aaa;
1039 background-color: #f9f9f9;
1054 /* Watch/Unwatch Icon Styling */
1067 #ca-unwatch.icon a
{
1068 background-image: url
(images
/watch-icons
.png
);
1069 background-position: -43px 60%;
1072 background-image: url
(images
/watch-icons
.png
);
1073 background-position: 5px 60%;
1075 #ca-unwatch.icon
a:hover
{
1076 background-image: url
(images
/watch-icons
.png
);
1077 background-position: -67px 60%;
1079 #ca-watch.icon
a:hover
{
1080 background-image: url
(images
/watch-icons
.png
);
1081 background-position: -19px 60%;
1083 #ca-unwatch.icon a
.loading
,
1084 #ca-watch.icon a
.loading
{
1085 background-image: url
(images
/watch-icon-loading
.gif
);
1086 background-position: center
60%;
1088 #ca-unwatch.icon a span
,
1089 #ca-watch.icon a span
{