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
;
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
;
219 font-size:100% !important
;
221 /* OVERRIDDEN BY COMPLIANT BROWSERS */
222 div
.vectorMenu h5 a
{
223 display: inline-block
;
226 text-decoration: none
;
227 background-image: url
(images
/tab-break
.png
);
228 background-position: bottom right
;
229 background-repeat: no-repeat
;
232 div
.vectorMenu h5
> a
{
235 div
.vectorMenu div
.menu
{
241 /* OVERRIDDEN BY COMPLIANT BROWSERS */
242 body
.rtl div
.vectorMenu div
.menu
{
246 body
.rtl div
.vectorMenu
> div
.menu
{
249 /* Fixes old versions of FireFox */
250 body
.rtl div
.vectorMenu
> div
.menu
,
254 div
.vectorMenu:hover div
.menu
{
259 background-color: white
;
260 border: solid
1px silver
;
263 list-style-image: none
;
264 list-style-type: none
;
270 /* Fixes old versions of FireFox */
275 /* Returns things back to normal in modern versions of FireFox */
287 /* OVERRIDDEN BY COMPLIANT BROWSERS */
288 div
.vectorMenu li a
{
289 display: inline-block
;
294 div
.vectorMenu li
> a
{
297 div
.vectorMenu li a
{
302 div
.vectorMenu li
.selected a
,
303 div
.vectorMenu li
.selected
a:visited
{
305 text-decoration: none
;
327 border: solid
1px #AAAAAA;
328 background-color: white
;
329 background-image: url
(images
/search-fade
.png
);
330 background-position: top left
;
331 background-repeat: repeat-x
;
333 #simpleSearch label
{
336 #simpleSearch input#searchInput
{
343 background-color: transparent
;
345 /* OVERRIDDEN BY COMPLIANT BROWSERS */
346 #simpleSearch button#searchButton
{
353 background-color: transparent
;
354 background-image: url
(images
/search-ltr
.png
);
355 background-position: center center
;
356 background-repeat: no-repeat
;
359 #simpleSearch > button#searchButton
{
362 .suggestions-special .special-label {
366 .suggestions-special .special-query {
370 .suggestions-special .special-hover {
371 background-color: silver
;
382 padding-bottom: 1.5em;
384 #panel div
.portal h5
{
389 padding-left: 1.75em;
394 #panel div
.portal div
.body
{
398 background-image: url
(images
/portal-break-ltr
.png
);
399 background-repeat: no-repeat
;
400 background-position: top left
;
402 #panel div
.portal div
.body ul
{
404 list-style-image: none
;
405 list-style-type: none
;
409 #panel div
.portal div
.body ul li
{
410 line-height: 1.125em;
412 padding-bottom: 0.5em;
417 #panel div
.portal div
.body ul li a
{
420 #panel div
.portal div
.body ul li
a:visited
{
428 background-image: url
(images/border.png);
429 background-position: top left
;
430 background-repeat: repeat-x
;
434 list-style-image: none
;
435 list-style-type: none
;
443 padding-bottom: 0.5em;
447 #footer #footer-icons
{
450 #footer #footer-places
{
453 #footer #footer-info li
{
456 #footer #footer-icons li
{
461 #footer #footer-places li
{
478 background-repeat: no-repeat
;
479 background-position: center center
;
480 text-decoration: none
;
485 * The following code is highly modified from monobook. It would be nice if the
486 * preftoc id was more human readable like preferences-toc for instance,
487 * howerver this would require backporting the other skins.
496 margin: 0 !important
;
497 padding: 0 !important
;
498 background-image: url
(images
/preferences-break
.png
);
499 background-position: bottom left
;
500 background-repeat: no-repeat
;
510 list-style-type: none
;
511 list-style-image: none
;
512 background-image: url
(images
/preferences-break
.png
);
513 background-position: bottom right
;
514 background-repeat: no-repeat
;
517 #preftoc li:first-child
{
522 display: inline-block
;
526 text-decoration: none
;
527 background-image: none
;
531 text-decoration: underline
;
533 #preftoc li
.selected a
{
534 background-image: url
(images
/preferences-fade
.png
);
535 background-position: bottom
;
536 background-repeat: repeat-x
;
538 text-decoration: none
;
546 border: solid
1px #cccccc;
547 background-color: #f9f9f9;
548 background-image: url
(images
/preferences-base
.png
);
550 #preferences fieldset
.prefsection
{
555 #preferences fieldset
.prefsection fieldset
{
557 border-top: solid
1px #cccccc;
559 #preferences legend
{
562 #preferences fieldset
.prefsection legend
.mainLegend
{
567 padding-right: 0.5em;
569 #preferences td
.htmlform-tip
{
574 #preferences div
.mw-prefs-buttons
{
577 #preferences div
.mw-prefs-buttons input
{
578 margin-right: 0.25em;
582 * Styles for the user login and create account forms
584 #userlogin, #userloginForm
{
585 border: solid
1px #cccccc;
599 * The following code is slightly modified from monobook
610 text-decoration: none
;
621 text-decoration: underline
;
626 a
.new
, #p-personal a
.new
{
629 a
.new:visited
, #p-personal a
.new:visited
{
633 /* Inline Elements */
636 vertical-align: middle
;
641 background-color: #aaa;
643 margin: .2em 0 .2em 0;
646 /* Structural Elements */
658 padding-bottom: .17em;
659 border-bottom: 1px solid
#aaa;
662 h1
{ font-size: 188%; }
663 h1
.editsection
{ font-size: 53%; }
664 h2
{ font-size: 150%; }
665 h2
.editsection
{ font-size: 67%; }
673 h3
{ font-size: 132%; }
674 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
675 h4
{ font-size: 116%; }
676 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
677 h5
{ font-size: 100%; }
678 h5
.editsection
{ font-weight: normal
; }
679 h6
{ font-size: 80%; }
680 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
682 margin: .4em 0 .5em 0;
691 border-bottom: 1px dotted black
;
697 font-family: Times
, "Times New Roman", serif
;
702 font-family: Times, "Times New Roman", serif;
706 background-color: #f9f9f9;
710 border: 1px dashed
#2f6fab;
712 background-color: #f9f9f9;
717 list-style-type: square
;
718 margin: .3em 0 0 1.5em;
720 list-style-image: url
(images
/bullet-icon
.png
);
724 margin: .3em 0 0 3.2em;
726 list-style-image: none
;
748 /* we don't want the bottom borders of <h2>s to be visible through
750 background-color: white
;
753 /* but keep table layouts in forms clean... */
758 border: 1px solid
#2f6fab;
765 padding: 0 0.5em 0.5em;
782 /* Table of Contents */
786 border: 1px solid
#aaa;
787 background-color: #f9f9f9;
807 list-style-type: none
;
808 list-style-image: none
;
822 div
.floatright
, table
.floatright
{
826 margin: 0 0 .5em .5em;
829 div
.floatright p
{ font-style: italic
; }
830 div
.floatleft
, table
.floatleft
{
834 margin: 0 .5em .5em 0;
837 div
.floatleft p
{ font-style: italic
; }
844 background-color: transparent
;
847 border: 1px solid
#ccc;
848 padding: 3px !important
;
849 background-color: #f9f9f9;
855 border: 1px solid
#ccc;
861 padding: 3px !important
;
866 border: none
!important
;
867 background: none
!important
;
869 div
.magnify a
, div
.magnify img
{
871 border: none
!important
;
872 background: none
!important
;
877 border-width: .5em 0 .8em 1.4em;
883 border-width: .5em 1.4em .8em 0;
886 border: 1px solid
#dddddd;
899 background-color: #ffce7b;
900 border: 1px solid
#ffa500;
905 vertical-align: middle
;
917 margin-bottom: 0.9em;
921 border: 1px solid
#aaa;
922 background-color: #f9f9f9;
934 #contentSub, #contentSub2
{
937 margin: 0 0 1.4em 1em;
953 /* Small for tables and similar */
960 /* Edge Cases for Content */
971 margin-bottom: 0.1em;
977 #content a
[href ^
="gopher://"] {
978 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
981 #content a
[href ^
="https://"],
983 background: url
(images
/lock-icon
.png
) center right no-repeat
;
986 #content a
[href ^
="mailto:"],
988 background: url
(images
/mail-icon
.png
) center right no-repeat
;
991 #content a
[href ^
="news://"] {
992 background: url
(images
/news-icon
.png
) center right no-repeat
;
995 #content a
[href ^
="ftp://"],
997 background: url
(images
/file-icon
.png
) center right no-repeat
;
1000 #content a
[href ^
="irc://"],
1001 #content a
.extiw
[href ^
="irc://"],
1003 background: url
(images
/talk-icon
.png
) center right no-repeat
;
1004 padding: 0 18px 0 0;
1006 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
1007 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
1008 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
1009 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
1010 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
1011 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
1013 background: url
("images/audio-icon.png") center right no-repeat
;
1014 padding: 0 18px 0 0;
1016 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
1017 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
1018 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
1019 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
1021 background: url
("images/video-icon.png") center right no-repeat
;
1022 padding: 0 18px 0 0;
1024 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
1025 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
1026 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
1028 background: url
("images/document-icon.png") center right no-repeat
;
1029 padding: 0 18px 0 0;
1031 /* Interwiki Styling (Disabled) */
1033 #content a
.extiw:active
{
1038 #content a
.external
{
1041 #content .printfooter
{
1044 /* Icon for Usernames */
1048 background: url
(images
/user-icon
.png
) left top no-repeat
;
1049 padding-left: 15px !important
;
1050 text-transform: none
;
1054 border: 1px solid
#aaa;
1055 background-color: #f9f9f9;
1070 /* Watch/Unwatch Icon Styling */
1084 #ca-unwatch.icon a
{
1085 background-image: url
(images
/watch-icons
.png
);
1086 background-position: -43px 60%;
1089 background-image: url
(images
/watch-icons
.png
);
1090 background-position: 5px 60%;
1092 #ca-unwatch.icon
a:hover
{
1093 background-image: url
(images
/watch-icons
.png
);
1094 background-position: -67px 60%;
1096 #ca-watch.icon
a:hover
{
1097 background-image: url
(images
/watch-icons
.png
);
1098 background-position: -19px 60%;
1100 #ca-unwatch.icon a
.loading
,
1101 #ca-watch.icon a
.loading
{
1102 background-image: url
(images
/watch-icon-loading
.gif
);
1103 background-position: center
60%;
1105 #ca-unwatch.icon a span
,
1106 #ca-watch.icon a span
{
1110 background-image:url
(images
/tab-break
.png
);
1111 background-position:right bottom
;
1112 background-repeat:no-repeat
;