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
;
43 background-color: white
;
44 background-image: url
(images
/page-fade
.png
);
45 background-position: bottom right
;
46 background-repeat: repeat-x
;
52 background-image: url
(images/border.png);
53 background-position: bottom right
;
54 background-repeat: repeat-x
;
66 /* Hide empty portlets */
95 /* Navigation Containers */
105 /* Navigation Labels */
107 div
.vectorMenu h5 span
{
110 /* Namespaces and Views */
116 background-image: url
(images
/tab-break
.png
);
117 background-position: bottom right
;
118 background-repeat: no-repeat
;
132 div
.vectorTabs ul li
{
135 /* OVERRIDDEN BY COMPLIANT BROWSERS */
136 div
.vectorTabs ul li
{
137 line-height: 1.125em;
138 display: inline-block
;
142 background-color: #f3f3f3;
143 background-image: url
(images
/tab-normal-fade
.png
);
144 background-position: bottom right
;
145 background-repeat: repeat-x
;
149 div
.vectorTabs ul
> li
{
152 div
.vectorTabs li
.selected
{
153 background-image: url
(images
/tab-current-fade
.png
);
155 /* OVERRIDDEN BY COMPLIANT BROWSERS */
156 div
.vectorTabs li a
{
157 display: inline-block
;
159 padding-right: 0.4em;
161 background-image: url
(images
/tab-break
.png
);
162 background-position: bottom left
;
163 background-repeat: no-repeat
;
166 div
.vectorTabs li a span
{
170 div
.vectorTabs li a span
{
174 div
.vectorTabs li
> a
{
177 /* OVERRIDDEN BY COMPLIANT BROWSERS */
178 div
.vectorTabs a span
{
179 display: inline-block
;
184 div
.vectorTabs a
> span
{
188 div
.vectorTabs li
.selected a
,
189 div
.vectorTabs li
.selected a span
,
190 div
.vectorTabs li
.selected
a:visited
191 div
.vectorTabs li
.selected
a:visited span
{
193 text-decoration: none
;
195 div
.vectorTabs li
.new a
,
196 div
.vectorTabs li
.new a span
,
197 div
.vectorTabs li
.new
a:visited
,
198 div
.vectorTabs li
.new
a:visited span
{
201 /* Variants and Actions */
206 background-image: url
(images
/arrow-down-icon
.png
);
207 background-position: center center
;
208 background-repeat: no-repeat
;
211 body
.rtl div
.vectorMenu
{
214 /* OVERRIDDEN BY COMPLIANT BROWSERS */
216 #head div
.vectorMenu h5
{
218 background-image: url
(images
/tab-break
.png
);
219 background-repeat: no-repeat
;
222 #head div
.vectorMenu
> h5
{
223 background-image: none
;
225 #head div
.vectorMenu h5
{
226 background-position: bottom right
;
229 /* OVERRIDDEN BY COMPLIANT BROWSERS */
231 div
.vectorMenu h5 a
{
232 display: inline-block
;
235 text-decoration: none
;
236 background-image: url
(images
/tab-break
.png
);
237 background-repeat: no-repeat
;
240 background-position: bottom left
;
243 div
.vectorMenu h5
> a
{
246 div
.vectorMenu div
.menu
{
252 /* OVERRIDDEN BY COMPLIANT BROWSERS */
254 body
.rtl div
.vectorMenu div
.menu
{
259 body
.rtl div
.vectorMenu
> div
.menu
{
262 /* Fixes old versions of FireFox */
264 body
.rtl div
.vectorMenu
> div
.menu
,
268 div
.vectorMenu:hover div
.menu
{
273 background-color: white
;
274 border: solid
1px silver
;
277 list-style-image: none
;
278 list-style-type: none
;
284 /* Fixes old versions of FireFox */
289 /* Returns things back to normal in modern versions of FireFox */
301 /* OVERRIDDEN BY COMPLIANT BROWSERS */
302 div
.vectorMenu li a
{
303 display: inline-block
;
308 div
.vectorMenu li
> a
{
311 div
.vectorMenu li a
{
316 div
.vectorMenu li
.selected a
,
317 div
.vectorMenu li
.selected
a:visited
{
319 text-decoration: none
;
341 border: solid
1px #AAAAAA;
342 background-color: white
;
343 background-image: url
(images
/search-fade
.png
);
344 background-position: top right
;
345 background-repeat: repeat-x
;
347 #simpleSearch label
{
351 #simpleSearch input#searchInput
{
358 background-color: transparent
;
360 /* OVERRIDDEN BY COMPLIANT BROWSERS */
361 #simpleSearch button#searchButton
{
368 background-color: transparent
;
369 background-image: url
(images
/search-rtl
.png
);
370 background-position: center center
;
371 background-repeat: no-repeat
;
374 #simpleSearch > button#searchButton
{
386 padding-bottom: 1.5em;
388 #panel div
.portal h5
{
393 padding-right: 1.75em;
398 #panel div
.portal div
.body
{
401 margin-right: 1.25em;
402 background-image: url
(images
/portal-break
.png
);
403 background-repeat: no-repeat
;
404 background-position: top right
;
406 #panel div
.portal div
.body ul
{
408 list-style-image: none
;
409 list-style-type: none
;
413 #panel div
.portal div
.body ul li
{
414 line-height: 1.125em;
416 padding-bottom: 0.5em;
421 #panel div
.portal div
.body ul li a
{
424 #panel div
.portal div
.body ul li
a:visited
{
432 background-image: url
(images/border.png);
433 background-position: top right
;
434 background-repeat: repeat-x
;
438 list-style-image: none
;
439 list-style-type: none
;
447 padding-bottom: 0.5em;
451 #footer #footer-icons
{
455 body
.ltr #footer #footer-places
{
458 #footer #footer-info li
{
461 #footer #footer-icons li
{
466 #footer #footer-places li
{
483 background-repeat: no-repeat
;
484 background-position: center center
;
485 text-decoration: none
;
490 * The following code is highly modified from monobook. It would be nice if the
491 * preftoc id was more human readable like preferences-toc for instance,
492 * howerver this would require backporting the other skins.
501 margin: 0 !important
;
502 padding: 0 !important
;
503 background-image: url
(images
/preferences-break
.png
);
504 background-position: bottom right
;
505 background-repeat: no-repeat
;
515 list-style-type: none
;
516 list-style-image: none
;
517 background-image: url
(images
/preferences-break
.png
);
518 background-position: bottom left
;
519 background-repeat: no-repeat
;
522 #preftoc li:first-child
{
527 display: inline-block
;
531 text-decoration: none
;
532 background-image: none
;
536 text-decoration: underline
;
538 #preftoc li
.selected a
{
539 background-image: url
(images
/preferences-fade
.png
);
540 background-position: bottom
;
541 background-repeat: repeat-x
;
543 text-decoration: none
;
551 border: solid
1px #cccccc;
552 background-color: #f9f9f9;
553 background-image: url
(images
/preferences-base
.png
);
555 #preferences fieldset
.prefsection
{
560 #preferences fieldset
.prefsection fieldset
{
562 border-top: solid
1px #cccccc;
564 #preferences legend
{
567 #preferences fieldset
.prefsection legend
.mainLegend
{
571 padding-right: 0.5em;
574 #preferences td
.htmlform-tip
{
579 #preferences div
.mw-prefs-buttons
{
582 #preferences div
.mw-prefs-buttons input
{
587 * Styles for the user login and create account forms
589 #userlogin, #userloginForm
{
590 border: solid
1px #cccccc;
604 * The following code is slightly modified from monobook
615 text-decoration: none
;
626 text-decoration: underline
;
631 a
.new
, #p-personal a
.new
{
634 a
.new:visited
, #p-personal a
.new:visited
{
638 /* Inline Elements */
641 vertical-align: middle
;
646 background-color: #aaa;
648 margin: .2em 0 .2em 0;
651 /* Structural Elements */
663 padding-bottom: .17em;
664 border-bottom: 1px solid
#aaa;
667 h1
{ font-size: 188%; }
668 h1
.editsection
{ font-size: 53%; }
669 h2
{ font-size: 150%; }
670 h2
.editsection
{ font-size: 67%; }
678 h3
{ font-size: 132%; }
679 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
680 h4
{ font-size: 116%; }
681 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
682 h5
{ font-size: 100%; }
683 h5
.editsection
{ font-weight: normal
; }
684 h6
{ font-size: 80%; }
685 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
687 margin: .4em 0 .5em 0;
696 border-bottom: 1px dotted black
;
702 font-family: Times
, "Times New Roman", serif
;
707 font-family: Times, "Times New Roman", serif;
711 font-family: monospace
, sans-serif
;
714 background-color: #f9f9f9;
718 border: 1px dashed
#2f6fab;
720 background-color: #f9f9f9;
725 list-style-type: square
;
726 margin: .3em 1.5em 0 0;
728 list-style-image: url
(images
/bullet-icon
.png
);
732 margin: .3em 3.2em 0 0;
734 list-style-image: none
;
756 /* we don't want the bottom borders of <h2>s to be visible through
758 background-color: white
;
761 /* but keep table layouts in forms clean... */
766 border: 1px solid
#2f6fab;
773 padding: 0 0.5em 0.5em;
790 /* Table of Contents */
794 border: 1px solid
#aaa;
795 background-color: #f9f9f9;
815 list-style-type: none
;
816 list-style-image: none
;
830 div
.floatright
, table
.floatright
{
834 margin: 0 .5em .5em 0;
837 div
.floatright p
{ font-style: italic
; }
838 div
.floatleft
, table
.floatleft
{
842 margin: 0 0 .5em .5em;
845 div
.floatleft p
{ font-style: italic
; }
852 background-color: transparent
;
855 border: 1px solid
#ccc;
856 padding: 3px !important
;
857 background-color: #f9f9f9;
863 border: 1px solid
#ccc;
869 padding: 3px !important
;
874 border: none
!important
;
875 background: none
!important
;
877 div
.magnify a
, div
.magnify img
{
879 border: none
!important
;
880 background: none
!important
;
885 border-width: .5em 1.4em .8em 0;
891 border-width: .5em 0 .8em 1.4em;
894 border: 1px solid
#dddddd;
907 background-color: #ffce7b;
908 border: 1px solid
#ffa500;
913 vertical-align: middle
;
925 margin-bottom: 0.9em;
929 border: 1px solid
#aaa;
930 background-color: #f9f9f9;
942 #contentSub, #contentSub2
{
945 margin: 0 1em 1.4em 0;
961 /* Small for tables and similar */
968 /* Edge Cases for Content */
979 margin-bottom: 0.1em;
985 #content a
[href ^
="gopher://"] {
986 background: url
(images
/external-link-rtl-icon
.png
) center left no-repeat
;
989 #content a
[href ^
="https://"],
991 background: url
(images
/lock-icon
.png
) center left no-repeat
;
994 #content a
[href ^
="mailto:"],
996 background: url
(images
/mail-icon
.png
) center left no-repeat
;
999 #content a
[href ^
="news://"] {
1000 background: url
(images
/news-icon
.png
) center left no-repeat
;
1001 padding: 0 0 0 18px;
1003 #content a
[href ^
="ftp://"],
1005 background: url
(images
/file-icon
.png
) center left no-repeat
;
1006 padding: 0 0 0 18px;
1008 #content a
[href ^
="irc://"],
1009 #content a
.extiw
[href ^
="irc://"],
1011 background: url
(images
/talk-icon
.png
) center left no-repeat
;
1012 padding: 0 0 0 18px;
1014 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
1015 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
1016 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
1017 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
1018 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
1019 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
1021 background: url
("images/audio-icon.png") center left no-repeat
;
1022 padding: 0 0 0 18px;
1024 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
1025 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
1026 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
1027 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
1029 background: url
("images/video-icon.png") center left no-repeat
;
1030 padding: 0 0 0 18px;
1032 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
1033 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
1034 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
1036 background: url
("images/document-icon.png") center left no-repeat
;
1037 padding: 0 0 0 18px;
1039 /* Interwiki Styling (Disabled) */
1041 #content a
.extiw:active
{
1046 #content a
.external
{
1049 #content .printfooter
{
1052 /* Icon for Usernames */
1056 background: url
(images
/user-icon
.png
) right top no-repeat
;
1057 padding-right: 15px !important
;
1058 text-transform: none
;
1062 border: 1px solid
#aaa;
1063 background-color: #f9f9f9;
1078 /* Watch/Unwatch Icon Styling */
1092 #ca-unwatch.icon a
{
1093 background-image: url
(images
/watch-icons
.png
);
1094 background-position: -43px 60%;
1097 background-image: url
(images
/watch-icons
.png
);
1098 background-position: 5px 60%;
1100 #ca-unwatch.icon
a:hover
{
1101 background-image: url
(images
/watch-icons
.png
);
1102 background-position: -67px 60%;
1104 #ca-watch.icon
a:hover
{
1105 background-image: url
(images
/watch-icons
.png
);
1106 background-position: -19px 60%;
1108 #ca-unwatch.icon a
.loading
,
1109 #ca-watch.icon a
.loading
{
1110 background-image: url
(images
/watch-icon-loading
.gif
);
1111 background-position: center
60%;
1113 #ca-unwatch.icon a span
,
1114 #ca-watch.icon a span
{
1118 background-image:url
(images
/tab-break
.png
);
1119 background-position:left bottom
;
1120 background-repeat:no-repeat
;