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
;
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
;
157 padding-right: 0.4em;
159 background-image: url
(images
/tab-break
.png
);
160 background-position: bottom left
;
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
{
211 /* OVERRIDDEN BY COMPLIANT BROWSERS */
213 #head div
.vectorMenu h5
{
215 background-image: url
(images
/tab-break
.png
);
216 background-position: bottom left
;
217 background-repeat: no-repeat
;
220 font-size:100% !important
;
223 #head div
.vectorMenu
> h5
{
224 background-image: none
;
226 /* OVERRIDDEN BY COMPLIANT BROWSERS */
227 div
.vectorMenu h5 a
{
228 display: inline-block
;
231 text-decoration: none
;
232 background-image: url
(images
/tab-break
.png
);
233 background-position: bottom left
;
234 background-repeat: no-repeat
;
237 div
.vectorMenu h5
> a
{
240 div
.vectorMenu div
.menu
{
246 /* OVERRIDDEN BY COMPLIANT BROWSERS */
247 body
.rtl div
.vectorMenu div
.menu
{
251 body
.rtl div
.vectorMenu
> div
.menu
{
254 /* Fixes old versions of FireFox */
255 body
.rtl div
.vectorMenu
> div
.menu
,
259 div
.vectorMenu:hover div
.menu
{
264 background-color: white
;
265 border: solid
1px silver
;
268 list-style-image: none
;
269 list-style-type: none
;
275 /* Fixes old versions of FireFox */
280 /* Returns things back to normal in modern versions of FireFox */
292 /* OVERRIDDEN BY COMPLIANT BROWSERS */
293 div
.vectorMenu li a
{
294 display: inline-block
;
299 div
.vectorMenu li
> a
{
302 div
.vectorMenu li a
{
307 div
.vectorMenu li
.selected a
,
308 div
.vectorMenu li
.selected
a:visited
{
310 text-decoration: none
;
332 border: solid
1px #AAAAAA;
333 background-color: white
;
334 background-image: url
(images
/search-fade
.png
);
335 background-position: top right
;
336 background-repeat: repeat-x
;
338 #simpleSearch label
{
342 #simpleSearch input#searchInput
{
349 background-color: transparent
;
351 /* OVERRIDDEN BY COMPLIANT BROWSERS */
352 #simpleSearch button#searchButton
{
359 background-color: transparent
;
360 background-image: url
(images
/search-rtl
.png
);
361 background-position: center center
;
362 background-repeat: no-repeat
;
365 #simpleSearch > button#searchButton
{
368 .suggestions-special .special-label {
372 .suggestions-special .special-query {
376 .suggestions-special .special-hover {
377 background-color: silver
;
388 padding-bottom: 1.5em;
390 #panel div
.portal h5
{
395 padding-right: 1.75em;
400 #panel div
.portal div
.body
{
403 margin-right: 1.25em;
404 background-image: url
(images
/portal-break-rtl
.png
);
405 background-repeat: no-repeat
;
406 background-position: top right
;
408 #panel div
.portal div
.body ul
{
410 list-style-image: none
;
411 list-style-type: none
;
415 #panel div
.portal div
.body ul li
{
416 line-height: 1.125em;
418 padding-bottom: 0.5em;
423 #panel div
.portal div
.body ul li a
{
426 #panel div
.portal div
.body ul li
a:visited
{
434 background-image: url
(images/border.png);
435 background-position: top right
;
436 background-repeat: repeat-x
;
440 list-style-image: none
;
441 list-style-type: none
;
449 padding-bottom: 0.5em;
453 #footer #footer-icons
{
456 #footer #footer-places
{
459 #footer #footer-info li
{
462 #footer #footer-icons li
{
467 #footer #footer-places li
{
484 background-repeat: no-repeat
;
485 background-position: center center
;
486 text-decoration: none
;
491 * The following code is highly modified from monobook. It would be nice if the
492 * preftoc id was more human readable like preferences-toc for instance,
493 * howerver this would require backporting the other skins.
502 margin: 0 !important
;
503 padding: 0 !important
;
504 background-image: url
(images
/preferences-break
.png
);
505 background-position: bottom right
;
506 background-repeat: no-repeat
;
516 list-style-type: none
;
517 list-style-image: none
;
518 background-image: url
(images
/preferences-break
.png
);
519 background-position: bottom left
;
520 background-repeat: no-repeat
;
523 #preftoc li:first-child
{
528 display: inline-block
;
532 text-decoration: none
;
533 background-image: none
;
537 text-decoration: underline
;
539 #preftoc li
.selected a
{
540 background-image: url
(images
/preferences-fade
.png
);
541 background-position: bottom
;
542 background-repeat: repeat-x
;
544 text-decoration: none
;
552 border: solid
1px #cccccc;
553 background-color: #f9f9f9;
554 background-image: url
(images
/preferences-base
.png
);
556 #preferences fieldset
.prefsection
{
561 #preferences fieldset
.prefsection fieldset
{
563 border-top: solid
1px #cccccc;
565 #preferences legend
{
568 #preferences fieldset
.prefsection legend
.mainLegend
{
572 padding-right: 0.5em;
575 #preferences td
.htmlform-tip
{
580 #preferences div
.mw-prefs-buttons
{
583 #preferences div
.mw-prefs-buttons input
{
588 * Styles for the user login and create account forms
590 #userlogin, #userloginForm
{
591 border: solid
1px #cccccc;
605 * The following code is slightly modified from monobook
616 text-decoration: none
;
627 text-decoration: underline
;
632 a
.new
, #p-personal a
.new
{
635 a
.new:visited
, #p-personal a
.new:visited
{
639 /* Inline Elements */
642 vertical-align: middle
;
647 background-color: #aaa;
649 margin: .2em 0 .2em 0;
652 /* Structural Elements */
664 padding-bottom: .17em;
665 border-bottom: 1px solid
#aaa;
668 h1
{ font-size: 188%; }
669 h1
.editsection
{ font-size: 53%; }
670 h2
{ font-size: 150%; }
671 h2
.editsection
{ font-size: 67%; }
679 h3
{ font-size: 132%; }
680 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
681 h4
{ font-size: 116%; }
682 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
683 h5
{ font-size: 100%; }
684 h5
.editsection
{ font-weight: normal
; }
685 h6
{ font-size: 80%; }
686 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
688 margin: .4em 0 .5em 0;
697 border-bottom: 1px dotted black
;
703 font-family: Times
, "Times New Roman", serif
;
708 font-family: Times, "Times New Roman", serif;
712 background-color: #f9f9f9;
716 border: 1px dashed
#2f6fab;
718 background-color: #f9f9f9;
723 list-style-type: square
;
724 margin: .3em 1.5em 0 0;
726 list-style-image: url
(images
/bullet-icon
.png
);
730 margin: .3em 3.2em 0 0;
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 .5em .5em 0;
835 div
.floatright p
{ font-style: italic
; }
836 div
.floatleft
, table
.floatleft
{
840 margin: 0 0 .5em .5em;
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 1.4em .8em 0;
889 border-width: .5em 0 .8em 1.4em;
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 1em 1.4em 0;
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-rtl-icon
.png
) center left no-repeat
;
987 #content a
[href ^
="https://"],
989 background: url
(images
/lock-icon
.png
) center left no-repeat
;
992 #content a
[href ^
="mailto:"],
994 background: url
(images
/mail-icon
.png
) center left no-repeat
;
997 #content a
[href ^
="news://"] {
998 background: url
(images
/news-icon
.png
) center left no-repeat
;
1001 #content a
[href ^
="ftp://"],
1003 background: url
(images
/file-icon
.png
) center left no-repeat
;
1004 padding: 0 0 0 18px;
1006 #content a
[href ^
="irc://"],
1007 #content a
.extiw
[href ^
="irc://"],
1009 background: url
(images
/talk-icon
.png
) center left no-repeat
;
1010 padding: 0 0 0 18px;
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 left no-repeat
;
1020 padding: 0 0 0 18px;
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 left no-repeat
;
1028 padding: 0 0 0 18px;
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 left no-repeat
;
1035 padding: 0 0 0 18px;
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
) right top no-repeat
;
1055 padding-right: 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:left bottom
;
1118 background-repeat:no-repeat
;