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
;
42 background-color: white
;
43 background-image: url
(images
/page-fade
.png
);
44 background-position: bottom right
;
45 background-repeat: repeat-x
;
51 background-image: url
(images/border.png);
52 background-position: bottom right
;
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 right
;
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 right
;
143 background-repeat: repeat-x
;
146 div
.vectorTabs ul
> li
{
149 div
.vectorTabs li
.selected
{
150 background-image: url
(images
/tab-current-fade
.png
);
152 /* OVERRIDDEN BY COMPLIANT BROWSERS */
153 div
.vectorTabs li a
{
154 display: inline-block
;
156 padding-right: 0.4em;
158 background-image: url
(images
/tab-break
.png
);
159 background-position: bottom left
;
160 background-repeat: no-repeat
;
163 div
.vectorTabs li a span
{
167 div
.vectorTabs li a span
{
171 div
.vectorTabs li
> a
{
174 /* OVERRIDDEN BY COMPLIANT BROWSERS */
175 div
.vectorTabs a span
{
176 display: inline-block
;
181 div
.vectorTabs a
> span
{
185 div
.vectorTabs li
.selected a
,
186 div
.vectorTabs li
.selected a span
,
187 div
.vectorTabs li
.selected
a:visited
188 div
.vectorTabs li
.selected
a:visited span
{
190 text-decoration: none
;
192 div
.vectorTabs li
.new a
,
193 div
.vectorTabs li
.new a span
,
194 div
.vectorTabs li
.new
a:visited
,
195 div
.vectorTabs li
.new
a:visited span
{
198 /* Variants and Actions */
203 background-image: url
(images
/arrow-down-icon
.png
);
204 background-position: center center
;
205 background-repeat: no-repeat
;
207 body
.rtl div
.vectorMenu
{
211 #head div
.vectorMenu h5
{
213 background-image: url
(images
/tab-break
.png
);
214 background-position: bottom left
;
215 background-repeat: no-repeat
;
219 /* OVERRIDDEN BY COMPLIANT BROWSERS */
220 div
.vectorMenu h5 a
{
221 display: inline-block
;
224 text-decoration: none
;
225 background-image: url
(images
/tab-break
.png
);
226 background-position: bottom left
;
227 background-repeat: no-repeat
;
230 div
.vectorMenu h5
> a
{
233 div
.vectorMenu div
.menu
{
239 /* OVERRIDDEN BY COMPLIANT BROWSERS */
240 body
.rtl div
.vectorMenu div
.menu
{
244 body
.rtl div
.vectorMenu
> div
.menu
{
247 /* Fixes old versions of FireFox */
248 body
.rtl div
.vectorMenu
> div
.menu
,
252 div
.vectorMenu:hover div
.menu
{
257 background-color: white
;
258 border: solid
1px silver
;
261 list-style-image: none
;
262 list-style-type: none
;
268 /* Fixes old versions of FireFox */
273 /* Returns things back to normal in modern versions of FireFox */
285 /* OVERRIDDEN BY COMPLIANT BROWSERS */
286 div
.vectorMenu li a
{
287 display: inline-block
;
292 div
.vectorMenu li
> a
{
295 div
.vectorMenu li a
{
300 div
.vectorMenu li
.selected a
,
301 div
.vectorMenu li
.selected
a:visited
{
303 text-decoration: none
;
325 border: solid
1px #AAAAAA;
326 background-color: white
;
327 background-image: url
(images
/search-fade
.png
);
328 background-position: top right
;
329 background-repeat: repeat-x
;
331 #simpleSearch label
{
334 #simpleSearch input#searchInput
{
341 background-color: transparent
;
343 /* OVERRIDDEN BY COMPLIANT BROWSERS */
344 #simpleSearch button#searchButton
{
351 background-color: transparent
;
352 background-image: url
(images
/search-rtl
.png
);
353 background-position: center center
;
354 background-repeat: no-repeat
;
357 #simpleSearch > button#searchButton
{
360 .suggestions-special .special-label {
364 .suggestions-special .special-query {
368 .suggestions-special .special-hover {
369 background-color: silver
;
380 padding-bottom: 1.5em;
382 #panel div
.portal h5
{
387 padding-right: 1.75em;
392 #panel div
.portal div
.body
{
395 margin-right: 1.25em;
396 background-image: url
(images
/portal-break-rtl
.png
);
397 background-repeat: no-repeat
;
398 background-position: top right
;
400 #panel div
.portal div
.body ul
{
402 list-style-image: none
;
403 list-style-type: none
;
407 #panel div
.portal div
.body ul li
{
408 line-height: 1.125em;
410 padding-bottom: 0.5em;
415 #panel div
.portal div
.body ul li a
{
418 #panel div
.portal div
.body ul li
a:visited
{
426 background-image: url
(images/border.png);
427 background-position: top right
;
428 background-repeat: repeat-x
;
432 list-style-image: none
;
433 list-style-type: none
;
441 padding-bottom: 0.5em;
445 #footer #footer-icons
{
448 #footer #footer-places
{
451 #footer #footer-info li
{
454 #footer #footer-icons li
{
459 #footer #footer-places li
{
476 background-repeat: no-repeat
;
477 background-position: center center
;
478 text-decoration: none
;
483 * The following code is highly modified from monobook. It would be nice if the
484 * preftoc id was more human readable like preferences-toc for instance,
485 * howerver this would require backporting the other skins.
494 margin: 0 !important
;
495 padding: 0 !important
;
496 background-image: url
(images
/preferences-break
.png
);
497 background-position: bottom right
;
498 background-repeat: no-repeat
;
508 list-style-type: none
;
509 list-style-image: none
;
510 background-image: url
(images
/preferences-break
.png
);
511 background-position: bottom left
;
512 background-repeat: no-repeat
;
515 #preftoc li:first-child
{
520 display: inline-block
;
524 text-decoration: none
;
525 background-image: none
;
529 text-decoration: underline
;
531 #preftoc li
.selected a
{
532 background-image: url
(images
/preferences-fade
.png
);
533 background-position: bottom
;
534 background-repeat: repeat-x
;
536 text-decoration: none
;
544 border: solid
1px #cccccc;
545 background-color: #f9f9f9;
546 background-image: url
(images
/preferences-base
.png
);
548 #preferences fieldset
.prefsection
{
553 #preferences fieldset
.prefsection fieldset
{
555 border-top: solid
1px #cccccc;
557 #preferences legend
{
560 #preferences fieldset
.prefsection legend
.mainLegend
{
564 padding-right: 0.5em;
567 #preferences td
.htmlform-tip
{
572 #preferences div
.mw-prefs-buttons
{
575 #preferences div
.mw-prefs-buttons input
{
580 * * Styles for the user login and create account forms
582 #userlogin, #userloginForm
{
583 border: solid
1px #cccccc;
597 * The following code is slightly modified from monobook
608 text-decoration: none
;
619 text-decoration: underline
;
624 a
.new
, #p-personal a
.new
{
627 a
.new:visited
, #p-personal a
.new:visited
{
631 /* Inline Elements */
634 vertical-align: middle
;
639 background-color: #aaa;
641 margin: .2em 0 .2em 0;
644 /* Structural Elements */
656 padding-bottom: .17em;
657 border-bottom: 1px solid
#aaa;
660 h1
{ font-size: 188%; }
661 h1
.editsection
{ font-size: 53%; }
662 h2
{ font-size: 150%; }
663 h2
.editsection
{ font-size: 67%; }
671 h3
{ font-size: 132%; }
672 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
673 h4
{ font-size: 116%; }
674 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
675 h5
{ font-size: 100%; }
676 h5
.editsection
{ font-weight: normal
; }
677 h6
{ font-size: 80%; }
678 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
680 margin: .4em 0 .5em 0;
689 border-bottom: 1px dotted black
;
695 font-family: Times
, "Times New Roman", serif
;
700 font-family: Times, "Times New Roman", serif;
704 background-color: #f9f9f9;
708 border: 1px dashed
#2f6fab;
710 background-color: #f9f9f9;
715 list-style-type: square
;
716 margin: .3em 1.5em 0 0;
718 list-style-image: url
(images
/bullet-icon
.png
);
722 margin: .3em 3.2em 0 0;
724 list-style-image: none
;
746 /* we don't want the bottom borders of <h2>s to be visible through
748 background-color: white
;
751 /* but keep table layouts in forms clean... */
756 border: 1px solid
#2f6fab;
763 padding: 0 0.5em 0.5em;
780 /* Table of Contents */
784 border: 1px solid
#aaa;
785 background-color: #f9f9f9;
805 list-style-type: none
;
806 list-style-image: none
;
820 div
.floatright
, table
.floatright
{
824 margin: 0 .5em .5em 0;
827 div
.floatright p
{ font-style: italic
; }
828 div
.floatleft
, table
.floatleft
{
832 margin: 0 0 .5em .5em;
835 div
.floatleft p
{ font-style: italic
; }
842 background-color: transparent
;
845 border: 1px solid
#ccc;
846 padding: 3px !important
;
847 background-color: #f9f9f9;
853 border: 1px solid
#ccc;
859 padding: 3px !important
;
864 border: none
!important
;
865 background: none
!important
;
867 div
.magnify a
, div
.magnify img
{
869 border: none
!important
;
870 background: none
!important
;
875 border-width: .5em 1.4em .8em 0;
881 border-width: .5em 0 .8em 1.4em;
884 border: 1px solid
#dddddd;
897 background-color: #ffce7b;
898 border: 1px solid
#ffa500;
903 vertical-align: middle
;
915 margin-bottom: 0.9em;
919 border: 1px solid
#aaa;
920 background-color: #f9f9f9;
932 #contentSub, #contentSub2
{
935 margin: 0 1em 1.4em 0;
951 /* Small for tables and similar */
958 /* Edge Cases for Content */
969 margin-bottom: 0.1em;
975 #content a
[href ^
="gopher://"] {
976 background: url
(images
/external-link-rtl-icon
.png
) center left no-repeat
;
979 #content a
[href ^
="https://"],
981 background: url
(images
/lock-icon
.png
) center left no-repeat
;
984 #content a
[href ^
="mailto:"],
986 background: url
(images
/mail-icon
.png
) center left no-repeat
;
989 #content a
[href ^
="news://"] {
990 background: url
(images
/news-icon
.png
) center left no-repeat
;
993 #content a
[href ^
="ftp://"],
995 background: url
(images
/file-icon
.png
) center left no-repeat
;
998 #content a
[href ^
="irc://"],
999 #content a
.extiw
[href ^
="irc://"],
1001 background: url
(images
/talk-icon
.png
) center left no-repeat
;
1002 padding: 0 0 0 18px;
1004 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
1005 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
1006 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
1007 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
1008 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
1009 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
1011 background: url
("images/audio-icon.png") center left no-repeat
;
1012 padding: 0 0 0 18px;
1014 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
1015 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
1016 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
1017 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
1019 background: url
("images/video-icon.png") center left no-repeat
;
1020 padding: 0 0 0 18px;
1022 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
1023 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
1024 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
1026 background: url
("images/document-icon.png") center left no-repeat
;
1027 padding: 0 0 0 18px;
1029 /* Interwiki Styling (Disabled) */
1031 #content a
.extiw:active
{
1036 #content a
.external
{
1039 #content .printfooter
{
1042 /* Icon for Usernames */
1046 background: url
(images
/user-icon
.png
) right top no-repeat
;
1047 padding-right: 15px !important
;
1048 text-transform: none
;
1052 border: 1px solid
#aaa;
1053 background-color: #f9f9f9;
1068 /* Watch/Unwatch Icon Styling */
1081 #ca-unwatch.icon a
{
1082 background-image: url
(images
/watch-icons
.png
);
1083 background-position: -43px 60%;
1086 background-image: url
(images
/watch-icons
.png
);
1087 background-position: 5px 60%;
1089 #ca-unwatch.icon
a:hover
{
1090 background-image: url
(images
/watch-icons
.png
);
1091 background-position: -67px 60%;
1093 #ca-watch.icon
a:hover
{
1094 background-image: url
(images
/watch-icons
.png
);
1095 background-position: -19px 60%;
1097 #ca-unwatch.icon a
.loading
,
1098 #ca-watch.icon a
.loading
{
1099 background-image: url
(images
/watch-icon-loading
.gif
);
1100 background-position: center
60%;
1102 #ca-unwatch.icon a span
,
1103 #ca-watch.icon a span
{