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?
1);
34 background-image: url
(images
/border
.png?
1);
35 background-position: top right
;
36 background-repeat: repeat-y
;
37 background-color: white
;
43 background-color: white
;
44 background-image: url
(images
/page-fade
.png?
1);
45 background-position: bottom right
;
46 background-repeat: repeat-x
;
52 background-image: url
(images
/border
.png?
1);
53 background-position: bottom right
;
54 background-repeat: repeat-x
;
66 /* Hide empty portlets */
95 /* Navigation Containers */
105 /* Navigation Labels */
107 div
.vectorMenu h5 span
{
110 /* Namespaces and Views */
117 background-image: url
(images
/tab-break
.png?
1);
118 background-position: bottom right
;
119 background-repeat: no-repeat
;
133 div
.vectorTabs ul li
{
136 /* OVERRIDDEN BY COMPLIANT BROWSERS */
137 div
.vectorTabs ul li
{
138 line-height: 1.125em;
139 display: inline-block
;
143 background-color: #f3f3f3;
144 background-image: url
(images
/tab-normal-fade
.png?
1);
145 background-position: bottom right
;
146 background-repeat: repeat-x
;
150 div
.vectorTabs ul
> li
{
153 div
.vectorTabs li
.selected
{
154 background-image: url
(images
/tab-current-fade
.png?
1);
156 /* OVERRIDDEN BY COMPLIANT BROWSERS */
157 div
.vectorTabs li a
{
158 display: inline-block
;
160 padding-right: 0.4em;
162 background-image: url
(images
/tab-break
.png?
1);
163 background-position: bottom left
;
164 background-repeat: no-repeat
;
167 div
.vectorTabs li a span
{
171 div
.vectorTabs li a span
{
175 div
.vectorTabs li
> a
{
178 /* OVERRIDDEN BY COMPLIANT BROWSERS */
179 div
.vectorTabs a span
{
180 display: inline-block
;
185 div
.vectorTabs a
> span
{
189 div
.vectorTabs li
.selected a
,
190 div
.vectorTabs li
.selected a span
,
191 div
.vectorTabs li
.selected
a:visited
192 div
.vectorTabs li
.selected
a:visited span
{
194 text-decoration: none
;
196 div
.vectorTabs li
.new a
,
197 div
.vectorTabs li
.new a span
,
198 div
.vectorTabs li
.new
a:visited
,
199 div
.vectorTabs li
.new
a:visited span
{
202 /* Variants and Actions */
207 background-image: url
(images
/arrow-down-icon
.png?
1);
208 background-position: 100% 60%;
209 background-repeat: no-repeat
;
213 body
.rtl div
.vectorMenu
{
216 /* OVERRIDDEN BY COMPLIANT BROWSERS */
218 div#mw-head div
.vectorMenu h5
{
220 background-image: url
(images
/tab-break
.png?
1);
221 background-repeat: no-repeat
;
224 div#mw-head div
.vectorMenu
> h5
{
225 background-image: none
;
227 div#mw-head div
.vectorMenu h5
{
228 background-position: bottom right
;
231 div#mw-head div
.vectorMenu h4
{
232 display: inline-block
;
235 padding-right: 0.5em;
236 padding-top: 1.375em;
240 /* OVERRIDDEN BY COMPLIANT BROWSERS */
242 div
.vectorMenu h5 a
{
243 display: inline-block
;
246 text-decoration: none
;
247 background-image: url
(images
/tab-break
.png?
1);
248 background-repeat: no-repeat
;
251 background-position: bottom left
;
254 div
.vectorMenu h5
> a
{
257 div
.vectorMenu div
.menu
{
263 /* OVERRIDDEN BY COMPLIANT BROWSERS */
265 body
.rtl div
.vectorMenu div
.menu
{
270 body
.rtl div
.vectorMenu
> div
.menu
{
273 /* Fixes old versions of FireFox */
275 body
.rtl div
.vectorMenu
> div
.menu
,
279 div
.vectorMenu:hover div
.menu
{
284 background-color: white
;
285 border: solid
1px silver
;
288 list-style-image: none
;
289 list-style-type: none
;
295 /* Fixes old versions of FireFox */
300 /* Returns things back to normal in modern versions of FireFox */
312 /* OVERRIDDEN BY COMPLIANT BROWSERS */
313 div
.vectorMenu li a
{
314 display: inline-block
;
319 div
.vectorMenu li
> a
{
322 div
.vectorMenu li a
{
327 div
.vectorMenu li
.selected a
,
328 div
.vectorMenu li
.selected
a:visited
{
330 text-decoration: none
;
352 border: solid
1px #AAAAAA;
353 background-color: white
;
354 background-image: url
(images
/search-fade
.png?
1);
355 background-position: top right
;
356 background-repeat: repeat-x
;
358 div#simpleSearch label
{
360 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
361 * this from ever being shown anyways.
366 div#simpleSearch input#searchInput
{
372 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
373 * this from ever being shown anyways.
377 background-color: transparent
;
379 /* OVERRIDDEN BY COMPLIANT BROWSERS */
380 div#simpleSearch button#searchButton
{
387 background-color: transparent
;
388 background-image: url
(images
/search-rtl
.png?
1);
389 background-position: center center
;
390 background-repeat: no-repeat
;
393 div#simpleSearch
> button#searchButton
{
404 div#mw-panel div
.portal
{
405 padding-bottom: 1.5em;
407 div#mw-panel div
.portal h5
{
412 padding-right: 1.75em;
417 div#mw-panel div
.portal div
.body
{
420 margin-right: 1.25em;
421 background-image: url
(images
/portal-break
.png?
1);
422 background-repeat: no-repeat
;
423 background-position: top right
;
425 div#mw-panel div
.portal div
.body ul
{
427 list-style-image: none
;
428 list-style-type: none
;
432 div#mw-panel div
.portal div
.body ul li
{
433 line-height: 1.125em;
435 padding-bottom: 0.5em;
440 div#mw-panel div
.portal div
.body ul li a
{
443 div#mw-panel div
.portal div
.body ul li
a:visited
{
451 background-image: url
(images
/border
.png?
1);
452 background-position: top right
;
453 background-repeat: repeat-x
;
457 list-style-image: none
;
458 list-style-type: none
;
466 padding-bottom: 0.5em;
470 div#footer #footer-icons
{
474 body
.ltr div#footer #footer-places
{
477 div#footer #footer-info li
{
480 div#footer #footer-icons li
{
485 div#footer #footer-places li
{
502 background-repeat: no-repeat
;
503 background-position: center center
;
504 text-decoration: none
;
509 * The following code is highly modified from monobook. It would be nice if the
510 * preftoc id was more human readable like preferences-toc for instance,
511 * howerver this would require backporting the other skins.
520 margin: 0 !important
;
521 padding: 0 !important
;
522 background-image: url
(images
/preferences-break
.png?
1);
523 background-position: bottom right
;
524 background-repeat: no-repeat
;
534 list-style-type: none
;
535 list-style-image: none
;
536 background-image: url
(images
/preferences-break
.png?
1);
537 background-position: bottom left
;
538 background-repeat: no-repeat
;
541 #preftoc li:first-child
{
546 display: inline-block
;
550 text-decoration: none
;
551 background-image: none
;
555 text-decoration: underline
;
557 #preftoc li
.selected a
{
558 background-image: url
(images
/preferences-fade
.png?
1);
559 background-position: bottom
;
560 background-repeat: repeat-x
;
562 text-decoration: none
;
570 border: solid
1px #cccccc;
571 background-color: #f9f9f9;
572 background-image: url
(images
/preferences-base
.png?
1);
574 #preferences fieldset
.prefsection
{
579 #preferences fieldset
.prefsection fieldset
{
581 border-top: solid
1px #cccccc;
583 #preferences legend
{
586 #preferences fieldset
.prefsection legend
.mainLegend
{
590 padding-right: 0.5em;
593 #preferences td
.htmlform-tip
{
598 #preferences div
.mw-prefs-buttons
{
601 #preferences div
.mw-prefs-buttons input
{
606 * Styles for the user login and create account forms
608 #userlogin, #userloginForm
{
609 border: solid
1px #cccccc;
623 * The following code is slightly modified from monobook
634 text-decoration: none
;
645 text-decoration: underline
;
650 a
.new
, #p-personal a
.new
{
653 a
.new:visited
, #p-personal a
.new:visited
{
657 /* Inline Elements */
660 vertical-align: middle
;
665 background-color: #aaa;
667 margin: .2em 0 .2em 0;
670 /* Structural Elements */
682 padding-bottom: .17em;
683 border-bottom: 1px solid
#aaa;
686 h1
{ font-size: 188%; }
687 h1
.editsection
{ font-size: 53%; }
688 h2
{ font-size: 150%; }
689 h2
.editsection
{ font-size: 67%; }
697 h3
{ font-size: 132%; }
698 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
699 h4
{ font-size: 116%; }
700 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
701 h5
{ font-size: 100%; }
702 h5
.editsection
{ font-weight: normal
; }
703 h6
{ font-size: 80%; }
704 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
706 margin: .4em 0 .5em 0;
715 border-bottom: 1px dotted black
;
721 font-family: Times
, "Times New Roman", serif
;
726 font-family: Times, "Times New Roman", serif;
730 font-family: monospace
, sans-serif
;
733 background-color: #f9f9f9;
737 border: 1px dashed
#2f6fab;
739 background-color: #f9f9f9;
744 list-style-type: square
;
745 margin: .3em 1.5em 0 0;
747 list-style-image: url
(images
/bullet-icon
.png?
1);
751 margin: .3em 3.2em 0 0;
753 list-style-image: none
;
775 /* we don't want the bottom borders of <h2>s to be visible through
777 background-color: white
;
780 /* but keep table layouts in forms clean... */
785 border: 1px solid
#2f6fab;
792 padding: 0 0.5em 0.5em;
809 /* Table of Contents */
813 border: 1px solid
#aaa;
814 background-color: #f9f9f9;
834 list-style-type: none
;
835 list-style-image: none
;
849 div
.floatright
, table
.floatright
{
853 margin: 0 .5em .5em 0;
856 div
.floatright p
{ font-style: italic
; }
857 div
.floatleft
, table
.floatleft
{
861 margin: 0 0 .5em .5em;
864 div
.floatleft p
{ font-style: italic
; }
871 background-color: transparent
;
874 border: 1px solid
#ccc;
875 padding: 3px !important
;
876 background-color: #f9f9f9;
882 border: 1px solid
#ccc;
888 padding: 3px !important
;
893 border: none
!important
;
894 background: none
!important
;
896 div
.magnify a
, div
.magnify img
{
898 border: none
!important
;
899 background: none
!important
;
904 border-width: .5em 1.4em .8em 0;
910 border-width: .5em 0 .8em 1.4em;
913 border: 1px solid
#dddddd;
926 background-color: #ffce7b;
927 border: 1px solid
#ffa500;
932 vertical-align: middle
;
934 /* Site Notice (includes notices from CentralNotice extension) */
941 margin-bottom: 0.9em;
945 border: 1px solid
#aaa;
946 background-color: #f9f9f9;
958 #contentSub, #contentSub2
{
961 margin: 0 1em 1.4em 0;
977 /* Small for tables and similar */
984 /* Edge Cases for Content */
995 margin-bottom: 0.1em;
1000 div#content a
.external
,
1001 div#content a
[href ^
="gopher://"] {
1002 background: url
(images
/external-link-rtl-icon
.png?
2) center left no-repeat
;
1003 padding: 0 0 0 13px;
1005 div#content a
[href ^
="https://"],
1007 background: url
(images
/lock-icon
.png?
2) center left no-repeat
;
1008 padding: 0 0 0 13px;
1010 div#content a
[href ^
="mailto:"],
1012 background: url
(images
/mail-icon
.png?
2) center left no-repeat
;
1013 padding: 0 0 0 13px;
1015 div#content a
[href ^
="news://"] {
1016 background: url
(images
/news-icon
.png?
2) center left no-repeat
;
1017 padding: 0 0 0 13px;
1019 div#content a
[href ^
="ftp://"],
1021 background: url
(images
/file-icon
.png?
2) center left no-repeat
;
1022 padding: 0 0 0 13px;
1024 div#content a
[href ^
="irc://"],
1025 div#content a
.extiw
[href ^
="irc://"],
1027 background: url
(images
/talk-icon
.png?
2) center left no-repeat
;
1028 padding: 0 0 0 13px;
1030 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
1031 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
1032 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
1033 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
1034 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
1035 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
1037 background: url
("images/audio-icon.png?2") center left no-repeat
;
1038 padding: 0 0 0 13px;
1040 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
1041 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
1042 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
1043 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
1045 background: url
("images/video-icon.png?2") center left no-repeat
;
1046 padding: 0 0 0 13px;
1048 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
1049 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
1050 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
1052 background: url
("images/document-icon.png?2") center left no-repeat
;
1053 padding: 0 0 0 13px;
1055 /* Interwiki Styling (Disabled) */
1056 div#content a
.extiw
,
1057 div#content a
.extiw:active
{
1062 div#content a
.external
{
1065 div#content
.printfooter
{
1068 /* Icon for Usernames */
1072 background: url
(images
/user-icon
.png?
1) right top no-repeat
;
1073 padding-right: 15px !important
;
1074 text-transform: none
;
1078 border: 1px solid
#aaa;
1079 background-color: #f9f9f9;
1094 /* Watch/Unwatch Icon Styling */
1108 #ca-unwatch.icon a
{
1109 background-image: url
(images
/watch-icons
.png?
1);
1110 background-position: -43px 60%;
1113 background-image: url
(images
/watch-icons
.png?
1);
1114 background-position: 5px 60%;
1116 #ca-unwatch.icon
a:hover
{
1117 background-image: url
(images
/watch-icons
.png?
1);
1118 background-position: -67px 60%;
1120 #ca-watch.icon
a:hover
{
1121 background-image: url
(images
/watch-icons
.png?
1);
1122 background-position: -19px 60%;
1124 #ca-unwatch.icon a
.loading
,
1125 #ca-watch.icon a
.loading
{
1126 background-image: url
(images
/watch-icon-loading
.gif?
1);
1127 background-position: center
60%;
1129 #ca-unwatch.icon a span
,
1130 #ca-watch.icon a span
{
1134 background-image:url
(images
/tab-break
.png?
1);
1135 background-position:left bottom
;
1136 background-repeat:no-repeat
;