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
;
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 */
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 left
;
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 left
;
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
;
160 padding-right: 0.4em;
161 background-image: url
(images
/tab-break
.png
);
162 background-position: bottom right
;
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 left
;
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 right
;
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 left
;
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-ltr
.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-left: 1.75em;
398 #panel div
.portal div
.body
{
402 background-image: url
(images
/portal-break
.png
);
403 background-repeat: no-repeat
;
404 background-position: top left
;
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 left
;
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 left
;
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 right
;
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
{
572 padding-right: 0.5em;
574 #preferences td
.htmlform-tip
{
579 #preferences div
.mw-prefs-buttons
{
582 #preferences div
.mw-prefs-buttons input
{
583 margin-right: 0.25em;
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 background-color: #f9f9f9;
715 border: 1px dashed
#2f6fab;
717 background-color: #f9f9f9;
723 list-style-type: square
;
724 margin: .3em 0 0 1.5em;
726 list-style-image: url
(images
/bullet-icon
.png
);
730 margin: .3em 0 0 3.2em;
732 list-style-image: none
;
754 /* we don't want the bottom borders of <h2>s to be visible through
756 background-color: white
;
759 /* but keep table layouts in forms clean... */
764 border: 1px solid
#2f6fab;
771 padding: 0 0.5em 0.5em;
788 /* Table of Contents */
792 border: 1px solid
#aaa;
793 background-color: #f9f9f9;
813 list-style-type: none
;
814 list-style-image: none
;
828 div
.floatright
, table
.floatright
{
832 margin: 0 0 .5em .5em;
835 div
.floatright p
{ font-style: italic
; }
836 div
.floatleft
, table
.floatleft
{
840 margin: 0 .5em .5em 0;
843 div
.floatleft p
{ font-style: italic
; }
850 background-color: transparent
;
853 border: 1px solid
#ccc;
854 padding: 3px !important
;
855 background-color: #f9f9f9;
861 border: 1px solid
#ccc;
867 padding: 3px !important
;
872 border: none
!important
;
873 background: none
!important
;
875 div
.magnify a
, div
.magnify img
{
877 border: none
!important
;
878 background: none
!important
;
883 border-width: .5em 0 .8em 1.4em;
889 border-width: .5em 1.4em .8em 0;
892 border: 1px solid
#dddddd;
905 background-color: #ffce7b;
906 border: 1px solid
#ffa500;
911 vertical-align: middle
;
923 margin-bottom: 0.9em;
927 border: 1px solid
#aaa;
928 background-color: #f9f9f9;
940 #contentSub, #contentSub2
{
943 margin: 0 0 1.4em 1em;
959 /* Small for tables and similar */
966 /* Edge Cases for Content */
977 margin-bottom: 0.1em;
983 #content a
[href ^
="gopher://"] {
984 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
987 #content a
[href ^
="https://"],
989 background: url
(images
/lock-icon
.png
) center right no-repeat
;
992 #content a
[href ^
="mailto:"],
994 background: url
(images
/mail-icon
.png
) center right no-repeat
;
997 #content a
[href ^
="news://"] {
998 background: url
(images
/news-icon
.png
) center right no-repeat
;
1001 #content a
[href ^
="ftp://"],
1003 background: url
(images
/file-icon
.png
) center right no-repeat
;
1004 padding: 0 18px 0 0;
1006 #content a
[href ^
="irc://"],
1007 #content a
.extiw
[href ^
="irc://"],
1009 background: url
(images
/talk-icon
.png
) center right no-repeat
;
1010 padding: 0 18px 0 0;
1012 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
1013 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
1014 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
1015 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
1016 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
1017 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
1019 background: url
("images/audio-icon.png") center right no-repeat
;
1020 padding: 0 18px 0 0;
1022 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
1023 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
1024 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
1025 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
1027 background: url
("images/video-icon.png") center right no-repeat
;
1028 padding: 0 18px 0 0;
1030 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
1031 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
1032 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
1034 background: url
("images/document-icon.png") center right no-repeat
;
1035 padding: 0 18px 0 0;
1037 /* Interwiki Styling (Disabled) */
1039 #content a
.extiw:active
{
1044 #content a
.external
{
1047 #content .printfooter
{
1050 /* Icon for Usernames */
1054 background: url
(images
/user-icon
.png
) left top no-repeat
;
1055 padding-left: 15px !important
;
1056 text-transform: none
;
1060 border: 1px solid
#aaa;
1061 background-color: #f9f9f9;
1076 /* Watch/Unwatch Icon Styling */
1090 #ca-unwatch.icon a
{
1091 background-image: url
(images
/watch-icons
.png
);
1092 background-position: -43px 60%;
1095 background-image: url
(images
/watch-icons
.png
);
1096 background-position: 5px 60%;
1098 #ca-unwatch.icon
a:hover
{
1099 background-image: url
(images
/watch-icons
.png
);
1100 background-position: -67px 60%;
1102 #ca-watch.icon
a:hover
{
1103 background-image: url
(images
/watch-icons
.png
);
1104 background-position: -19px 60%;
1106 #ca-unwatch.icon a
.loading
,
1107 #ca-watch.icon a
.loading
{
1108 background-image: url
(images
/watch-icon-loading
.gif
);
1109 background-position: center
60%;
1111 #ca-unwatch.icon a span
,
1112 #ca-watch.icon a span
{
1116 background-image:url
(images
/tab-break
.png
);
1117 background-position:right bottom
;
1118 background-repeat:no-repeat
;