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-heading .search-for {
363 .suggestions-heading .search-term {
365 text-decoration: underline
;
376 padding-bottom: 1.5em;
378 #panel div
.portal h5
{
383 padding-right: 1.75em;
388 #panel div
.portal div
.body
{
391 margin-right: 1.25em;
392 background-image: url
(images
/portal-break-rtl
.png
);
393 background-repeat: no-repeat
;
394 background-position: top right
;
396 #panel div
.portal div
.body ul
{
398 list-style-image: none
;
399 list-style-type: none
;
403 #panel div
.portal div
.body ul li
{
404 line-height: 1.125em;
406 padding-bottom: 0.5em;
411 #panel div
.portal div
.body ul li a
{
414 #panel div
.portal div
.body ul li
a:visited
{
422 background-image: url
(images/border.png);
423 background-position: top right
;
424 background-repeat: repeat-x
;
428 list-style-image: none
;
429 list-style-type: none
;
437 padding-bottom: 0.5em;
441 #footer #footer-icons
{
444 #footer #footer-places
{
447 #footer #footer-info li
{
450 #footer #footer-icons li
{
455 #footer #footer-places li
{
472 background-repeat: no-repeat
;
473 background-position: center center
;
474 text-decoration: none
;
479 * The following code is highly modified from monobook. It would be nice if the
480 * preftoc id was more human readable like preferences-toc for instance,
481 * howerver this would require backporting the other skins.
490 margin: 0 !important
;
491 padding: 0 !important
;
492 background-image: url
(images
/preferences-break
.png
);
493 background-position: bottom right
;
494 background-repeat: no-repeat
;
504 list-style-type: none
;
505 list-style-image: none
;
506 background-image: url
(images
/preferences-break
.png
);
507 background-position: bottom left
;
508 background-repeat: no-repeat
;
511 #preftoc li:first-child
{
516 display: inline-block
;
520 text-decoration: none
;
521 background-image: none
;
525 text-decoration: underline
;
527 #preftoc li
.selected a
{
528 background-image: url
(images
/preferences-fade
.png
);
529 background-position: bottom
;
530 background-repeat: repeat-x
;
532 text-decoration: none
;
540 border: solid
1px #cccccc;
541 background-color: #f9f9f9;
542 background-image: url
(images
/preferences-base
.png
);
544 #preferences fieldset
.prefsection
{
549 #preferences fieldset
.prefsection fieldset
{
551 border-top: solid
1px #cccccc;
553 #preferences legend
{
556 #preferences fieldset
.prefsection legend
.mainLegend
{
560 padding-right: 0.5em;
563 #preferences td
.htmlform-tip
{
568 #preferences div
.mw-prefs-buttons
{
571 #preferences div
.mw-prefs-buttons input
{
577 * The following code is slightly modified from monobook
588 text-decoration: none
;
599 text-decoration: underline
;
604 a
.new
, #p-personal a
.new
{
607 a
.new:visited
, #p-personal a
.new:visited
{
611 /* Inline Elements */
614 vertical-align: middle
;
619 background-color: #aaa;
621 margin: .2em 0 .2em 0;
624 /* Structural Elements */
636 padding-bottom: .17em;
637 border-bottom: 1px solid
#aaa;
640 h1
{ font-size: 188%; }
641 h1
.editsection
{ font-size: 53%; }
642 h2
{ font-size: 150%; }
643 h2
.editsection
{ font-size: 67%; }
651 h3
{ font-size: 132%; }
652 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
653 h4
{ font-size: 116%; }
654 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
655 h5
{ font-size: 100%; }
656 h5
.editsection
{ font-weight: normal
; }
657 h6
{ font-size: 80%; }
658 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
660 margin: .4em 0 .5em 0;
669 border-bottom: 1px dotted black
;
675 font-family: Times
, "Times New Roman", serif
;
680 font-family: Times, "Times New Roman", serif;
684 background-color: #f9f9f9;
688 border: 1px dashed
#2f6fab;
690 background-color: #f9f9f9;
695 list-style-type: square
;
696 margin: .3em 1.5em 0 0;
698 list-style-image: url
(images
/bullet-icon
.png
);
702 margin: .3em 3.2em 0 0;
704 list-style-image: none
;
726 /* we don't want the bottom borders of <h2>s to be visible through
728 background-color: white
;
731 /* but keep table layouts in forms clean... */
736 border: 1px solid
#2f6fab;
743 padding: 0 0.5em 0.5em;
760 /* Table of Contents */
764 border: 1px solid
#aaa;
765 background-color: #f9f9f9;
785 list-style-type: none
;
786 list-style-image: none
;
800 div
.floatright
, table
.floatright
{
804 margin: 0 .5em .5em 0;
807 div
.floatright p
{ font-style: italic
; }
808 div
.floatleft
, table
.floatleft
{
812 margin: 0 0 .5em .5em;
815 div
.floatleft p
{ font-style: italic
; }
822 background-color: transparent
;
825 border: 1px solid
#ccc;
826 padding: 3px !important
;
827 background-color: #f9f9f9;
833 border: 1px solid
#ccc;
839 padding: 3px !important
;
844 border: none
!important
;
845 background: none
!important
;
847 div
.magnify a
, div
.magnify img
{
849 border: none
!important
;
850 background: none
!important
;
855 border-width: .5em 1.4em .8em 0;
861 border-width: .5em 0 .8em 1.4em;
864 border: 1px solid
#dddddd;
877 background-color: #ffce7b;
878 border: 1px solid
#ffa500;
883 vertical-align: middle
;
895 margin-bottom: 0.9em;
899 border: 1px solid
#aaa;
900 background-color: #f9f9f9;
912 #contentSub, #contentSub2
{
915 margin: 0 1em 1.4em 0;
931 /* Small for tables and similar */
938 /* Edge Cases for Content */
949 margin-bottom: 0.1em;
955 #content a
[href ^
="gopher://"] {
956 background: url
(images
/external-link-rtl-icon
.png
) center left no-repeat
;
959 #content a
[href ^
="https://"],
961 background: url
(images
/lock-icon
.png
) center left no-repeat
;
964 #content a
[href ^
="mailto:"],
966 background: url
(images
/mail-icon
.png
) center left no-repeat
;
969 #content a
[href ^
="news://"] {
970 background: url
(images
/news-icon
.png
) center left no-repeat
;
973 #content a
[href ^
="ftp://"],
975 background: url
(images
/file-icon
.png
) center left no-repeat
;
978 #content a
[href ^
="irc://"],
979 #content a
.extiw
[href ^
="irc://"],
981 background: url
(images
/talk-icon
.png
) center left no-repeat
;
984 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
985 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
986 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
987 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
988 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
989 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
991 background: url
("images/audio-icon.png") center left no-repeat
;
994 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
995 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
996 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
997 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
999 background: url
("images/video-icon.png") center left no-repeat
;
1000 padding: 0 0 0 18px;
1002 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
1003 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
1004 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
1006 background: url
("images/document-icon.png") center left no-repeat
;
1007 padding: 0 0 0 18px;
1009 /* Interwiki Styling (Disabled) */
1011 #content a
.extiw:active
{
1016 #content a
.external
{
1019 #content .printfooter
{
1022 /* Icon for Usernames */
1026 background: url
(images
/user-icon
.png
) right top no-repeat
;
1027 padding-right: 15px !important
;
1028 text-transform: none
;
1032 border: 1px solid
#aaa;
1033 background-color: #f9f9f9;