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 left
;
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 left
;
46 background-repeat: repeat-x
;
52 background-image: url
(images
/border
.png?
1);
53 background-position: bottom left
;
54 background-repeat: repeat-x
;
66 /* Hide empty portlets */
97 /* Navigation Containers */
107 /* Navigation Labels */
109 div
.vectorMenu h5 span
{
112 /* Namespaces and Views */
119 background-image: url
(images
/tab-break
.png?
1);
120 background-position: bottom left
;
121 background-repeat: no-repeat
;
135 div
.vectorTabs ul li
{
138 /* OVERRIDDEN BY COMPLIANT BROWSERS */
139 div
.vectorTabs ul li
{
140 line-height: 1.125em;
141 display: inline-block
;
145 background-color: #f3f3f3;
146 background-image: url
(images
/tab-normal-fade
.png?
1);
147 background-position: bottom left
;
148 background-repeat: repeat-x
;
152 div
.vectorTabs ul
> li
{
155 div
.vectorTabs li
.selected
{
156 background-image: url
(images
/tab-current-fade
.png?
1);
158 /* OVERRIDDEN BY COMPLIANT BROWSERS */
159 div
.vectorTabs li a
{
160 display: inline-block
;
163 padding-right: 0.4em;
164 background-image: url
(images
/tab-break
.png?
1);
165 background-position: bottom right
;
166 background-repeat: no-repeat
;
169 div
.vectorTabs li a span
{
173 div
.vectorTabs li a span
{
177 div
.vectorTabs li
> a
{
180 /* OVERRIDDEN BY COMPLIANT BROWSERS */
181 div
.vectorTabs a span
{
182 display: inline-block
;
187 div
.vectorTabs a
> span
{
191 div
.vectorTabs li
.selected a
,
192 div
.vectorTabs li
.selected a span
,
193 div
.vectorTabs li
.selected
a:visited
194 div
.vectorTabs li
.selected
a:visited span
{
196 text-decoration: none
;
198 div
.vectorTabs li
.new a
,
199 div
.vectorTabs li
.new a span
,
200 div
.vectorTabs li
.new
a:visited
,
201 div
.vectorTabs li
.new
a:visited span
{
204 /* Variants and Actions */
209 background-image: url
(images
/arrow-down-icon
.png?
1);
210 background-position: 100% 60%;
211 background-repeat: no-repeat
;
215 body
.rtl div
.vectorMenu
{
218 /* OVERRIDDEN BY COMPLIANT BROWSERS */
220 div#mw-head div
.vectorMenu h5
{
222 background-image: url
(images
/tab-break
.png?
1);
223 background-repeat: no-repeat
;
226 div#mw-head div
.vectorMenu
> h5
{
227 background-image: none
;
229 div#mw-head div
.vectorMenu h5
{
230 background-position: bottom left
;
233 div#mw-head div
.vectorMenu h4
{
234 display: inline-block
;
238 padding-top: 1.375em;
242 /* OVERRIDDEN BY COMPLIANT BROWSERS */
244 div
.vectorMenu h5 a
{
245 display: inline-block
;
248 text-decoration: none
;
249 background-image: url
(images
/tab-break
.png?
1);
250 background-repeat: no-repeat
;
253 background-position: bottom right
;
256 div
.vectorMenu h5
> a
{
259 div
.vectorMenu div
.menu
{
265 /* OVERRIDDEN BY COMPLIANT BROWSERS */
267 body
.rtl div
.vectorMenu div
.menu
{
272 body
.rtl div
.vectorMenu
> div
.menu
{
275 /* Fixes old versions of FireFox */
277 body
.rtl div
.vectorMenu
> div
.menu
,
281 div
.vectorMenu:hover div
.menu
{
286 background-color: white
;
287 border: solid
1px silver
;
290 list-style-image: none
;
291 list-style-type: none
;
297 /* Fixes old versions of FireFox */
302 /* Returns things back to normal in modern versions of FireFox */
314 /* OVERRIDDEN BY COMPLIANT BROWSERS */
315 div
.vectorMenu li a
{
316 display: inline-block
;
321 div
.vectorMenu li
> a
{
324 div
.vectorMenu li a
{
329 div
.vectorMenu li
.selected a
,
330 div
.vectorMenu li
.selected
a:visited
{
332 text-decoration: none
;
354 border: solid
1px #AAAAAA;
355 background-color: white
;
356 background-image: url
(images
/search-fade
.png?
1);
357 background-position: top left
;
358 background-repeat: repeat-x
;
360 div#simpleSearch label
{
362 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
363 * this from ever being shown anyways.
368 div#simpleSearch input#searchInput
{
374 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
375 * this from ever being shown anyways.
379 background-color: transparent
;
381 /* OVERRIDDEN BY COMPLIANT BROWSERS */
382 div#simpleSearch button#searchButton
{
384 margin: 5px 5px 0 5px;
389 background-color: transparent
;
390 background-image: url
(images
/search-ltr
.png?
1);
391 background-position: center center
;
392 background-repeat: no-repeat
;
402 div#mw-panel div
.portal
{
403 padding-bottom: 1.5em;
405 div#mw-panel div
.portal h5
{
410 padding-left: 1.75em;
415 div#mw-panel div
.portal div
.body
{
419 background-image: url
(images
/portal-break
.png?
1);
420 background-repeat: no-repeat
;
421 background-position: top left
;
423 div#mw-panel div
.portal div
.body ul
{
425 list-style-image: none
;
426 list-style-type: none
;
430 div#mw-panel div
.portal div
.body ul li
{
431 line-height: 1.125em;
433 padding-bottom: 0.5em;
438 div#mw-panel div
.portal div
.body ul li a
{
441 div#mw-panel div
.portal div
.body ul li
a:visited
{
449 background-image: url
(images
/border
.png?
1);
450 background-position: top left
;
451 background-repeat: repeat-x
;
455 list-style-image: none
;
456 list-style-type: none
;
464 padding-bottom: 0.5em;
468 div#footer #footer-icons
{
472 body
.ltr div#footer #footer-places
{
475 div#footer #footer-info li
{
478 div#footer #footer-icons li
{
483 div#footer #footer-places li
{
500 background-repeat: no-repeat
;
501 background-position: center center
;
502 text-decoration: none
;
507 * The following code is highly modified from monobook. It would be nice if the
508 * preftoc id was more human readable like preferences-toc for instance,
509 * howerver this would require backporting the other skins.
518 margin: 0 !important
;
519 padding: 0 !important
;
520 background-image: url
(images
/preferences-break
.png?
1);
521 background-position: bottom left
;
522 background-repeat: no-repeat
;
532 list-style-type: none
;
533 list-style-image: none
;
534 background-image: url
(images
/preferences-break
.png?
1);
535 background-position: bottom right
;
536 background-repeat: no-repeat
;
539 #preftoc li:first-child
{
544 display: inline-block
;
548 text-decoration: none
;
549 background-image: none
;
553 text-decoration: underline
;
555 #preftoc li
.selected a
{
556 background-image: url
(images
/preferences-fade
.png?
1);
557 background-position: bottom
;
558 background-repeat: repeat-x
;
560 text-decoration: none
;
568 border: solid
1px #cccccc;
569 background-color: #f9f9f9;
570 background-image: url
(images
/preferences-base
.png?
1);
572 #preferences fieldset
.prefsection
{
577 #preferences fieldset
.prefsection fieldset
{
579 border-top: solid
1px #cccccc;
581 #preferences legend
{
584 #preferences fieldset
.prefsection legend
.mainLegend
{
589 padding-right: 0.5em;
591 #preferences td
.htmlform-tip
{
596 #preferences div
.mw-prefs-buttons
{
599 #preferences div
.mw-prefs-buttons input
{
600 margin-right: 0.25em;
604 * Styles for the user login and create account forms
606 #userlogin, #userloginForm
{
607 border: solid
1px #cccccc;
621 * The following code is slightly modified from monobook
632 text-decoration: none
;
643 text-decoration: underline
;
648 a
.new
, #p-personal a
.new
{
651 a
.new:visited
, #p-personal a
.new:visited
{
655 /* Inline Elements */
658 vertical-align: middle
;
663 background-color: #aaa;
665 margin: .2em 0 .2em 0;
668 /* Structural Elements */
680 padding-bottom: .17em;
681 border-bottom: 1px solid
#aaa;
684 h1
{ font-size: 188%; }
685 h1
.editsection
{ font-size: 53%; }
686 h2
{ font-size: 150%; }
687 h2
.editsection
{ font-size: 67%; }
695 h3
{ font-size: 132%; }
696 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
697 h4
{ font-size: 116%; }
698 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
699 h5
{ font-size: 100%; }
700 h5
.editsection
{ font-weight: normal
; }
701 h6
{ font-size: 80%; }
702 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
704 margin: .4em 0 .5em 0;
713 border-bottom: 1px dotted black
;
719 font-family: Times
, "Times New Roman", serif
;
724 font-family: Times, "Times New Roman", serif;
728 font-family: monospace
, sans-serif
;
731 background-color: #f9f9f9;
735 border: 1px dashed
#2f6fab;
737 background-color: #f9f9f9;
742 list-style-type: square
;
743 margin: .3em 0 0 1.5em;
745 list-style-image: url
(images
/bullet-icon
.png?
1);
749 margin: .3em 0 0 3.2em;
751 list-style-image: none
;
773 /* we don't want the bottom borders of <h2>s to be visible through
775 background-color: white
;
778 /* but keep table layouts in forms clean... */
783 border: 1px solid
#2f6fab;
790 padding: 0 0.5em 0.5em;
807 /* Table of Contents */
811 border: 1px solid
#aaa;
812 background-color: #f9f9f9;
832 list-style-type: none
;
833 list-style-image: none
;
847 div
.floatright
, table
.floatright
{
851 margin: 0 0 .5em .5em;
854 div
.floatright p
{ font-style: italic
; }
855 div
.floatleft
, table
.floatleft
{
859 margin: 0 .5em .5em 0;
862 div
.floatleft p
{ font-style: italic
; }
869 background-color: transparent
;
872 border: 1px solid
#ccc;
873 padding: 3px !important
;
874 background-color: #f9f9f9;
880 border: 1px solid
#ccc;
886 padding: 3px !important
;
891 border: none
!important
;
892 background: none
!important
;
894 div
.magnify a
, div
.magnify img
{
896 border: none
!important
;
897 background: none
!important
;
903 border-width: .5em 0 .8em 1.4em;
910 border-width: .5em 1.4em .8em 0;
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 0 1.4em 1em;
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-ltr-icon
.png?
2) center right no-repeat
;
1003 padding: 0 13px 0 0;
1005 div#content a
[href ^
="https://"],
1007 background: url
(images
/lock-icon
.png?
2) center right no-repeat
;
1008 padding: 0 13px 0 0;
1010 div#content a
[href ^
="mailto:"],
1012 background: url
(images
/mail-icon
.png?
2) center right no-repeat
;
1013 padding: 0 13px 0 0;
1015 div#content a
[href ^
="news://"] {
1016 background: url
(images
/news-icon
.png?
2) center right no-repeat
;
1017 padding: 0 13px 0 0;
1019 div#content a
[href ^
="ftp://"],
1021 background: url
(images
/file-icon
.png?
2) center right no-repeat
;
1022 padding: 0 13px 0 0;
1024 div#content a
[href ^
="irc://"],
1025 div#content a
.extiw
[href ^
="irc://"],
1027 background: url
(images
/talk-icon
.png?
2) center right no-repeat
;
1028 padding: 0 13px 0 0;
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 right no-repeat
;
1038 padding: 0 13px 0 0;
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 right no-repeat
;
1046 padding: 0 13px 0 0;
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 right no-repeat
;
1053 padding: 0 13px 0 0;
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) left top no-repeat
;
1073 padding-left: 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:right bottom
;
1136 background-repeat:no-repeat
;