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 */
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 left
;
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 left
;
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
;
161 padding-right: 0.4em;
162 background-image: url
(images
/tab-break
.png?
1);
163 background-position: bottom right
;
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 left
;
231 div#mw-head div
.vectorMenu h4
{
232 display: inline-block
;
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 right
;
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 left
;
356 background-repeat: repeat-x
;
358 div#simpleSearch label
{
362 div#simpleSearch input#searchInput
{
369 background-color: transparent
;
371 /* OVERRIDDEN BY COMPLIANT BROWSERS */
372 div#simpleSearch button#searchButton
{
379 background-color: transparent
;
380 background-image: url
(images
/search-ltr
.png?
1);
381 background-position: center center
;
382 background-repeat: no-repeat
;
385 div#simpleSearch
> button#searchButton
{
396 div#mw-panel div
.portal
{
397 padding-bottom: 1.5em;
399 div#mw-panel div
.portal h5
{
404 padding-left: 1.75em;
409 div#mw-panel div
.portal div
.body
{
413 background-image: url
(images
/portal-break
.png?
1);
414 background-repeat: no-repeat
;
415 background-position: top left
;
417 div#mw-panel div
.portal div
.body ul
{
419 list-style-image: none
;
420 list-style-type: none
;
424 div#mw-panel div
.portal div
.body ul li
{
425 line-height: 1.125em;
427 padding-bottom: 0.5em;
432 div#mw-panel div
.portal div
.body ul li a
{
435 div#mw-panel div
.portal div
.body ul li
a:visited
{
443 background-image: url
(images
/border
.png?
1);
444 background-position: top left
;
445 background-repeat: repeat-x
;
449 list-style-image: none
;
450 list-style-type: none
;
458 padding-bottom: 0.5em;
462 div#footer #footer-icons
{
466 body
.ltr div#footer #footer-places
{
469 div#footer #footer-info li
{
472 div#footer #footer-icons li
{
477 div#footer #footer-places li
{
494 background-repeat: no-repeat
;
495 background-position: center center
;
496 text-decoration: none
;
501 * The following code is highly modified from monobook. It would be nice if the
502 * preftoc id was more human readable like preferences-toc for instance,
503 * howerver this would require backporting the other skins.
512 margin: 0 !important
;
513 padding: 0 !important
;
514 background-image: url
(images
/preferences-break
.png?
1);
515 background-position: bottom left
;
516 background-repeat: no-repeat
;
526 list-style-type: none
;
527 list-style-image: none
;
528 background-image: url
(images
/preferences-break
.png?
1);
529 background-position: bottom right
;
530 background-repeat: no-repeat
;
533 #preftoc li:first-child
{
538 display: inline-block
;
542 text-decoration: none
;
543 background-image: none
;
547 text-decoration: underline
;
549 #preftoc li
.selected a
{
550 background-image: url
(images
/preferences-fade
.png?
1);
551 background-position: bottom
;
552 background-repeat: repeat-x
;
554 text-decoration: none
;
562 border: solid
1px #cccccc;
563 background-color: #f9f9f9;
564 background-image: url
(images
/preferences-base
.png?
1);
566 #preferences fieldset
.prefsection
{
571 #preferences fieldset
.prefsection fieldset
{
573 border-top: solid
1px #cccccc;
575 #preferences legend
{
578 #preferences fieldset
.prefsection legend
.mainLegend
{
583 padding-right: 0.5em;
585 #preferences td
.htmlform-tip
{
590 #preferences div
.mw-prefs-buttons
{
593 #preferences div
.mw-prefs-buttons input
{
594 margin-right: 0.25em;
598 * Styles for the user login and create account forms
600 #userlogin, #userloginForm
{
601 border: solid
1px #cccccc;
615 * The following code is slightly modified from monobook
626 text-decoration: none
;
637 text-decoration: underline
;
642 a
.new
, #p-personal a
.new
{
645 a
.new:visited
, #p-personal a
.new:visited
{
649 /* Inline Elements */
652 vertical-align: middle
;
657 background-color: #aaa;
659 margin: .2em 0 .2em 0;
662 /* Structural Elements */
674 padding-bottom: .17em;
675 border-bottom: 1px solid
#aaa;
678 h1
{ font-size: 188%; }
679 h1
.editsection
{ font-size: 53%; }
680 h2
{ font-size: 150%; }
681 h2
.editsection
{ font-size: 67%; }
689 h3
{ font-size: 132%; }
690 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
691 h4
{ font-size: 116%; }
692 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
693 h5
{ font-size: 100%; }
694 h5
.editsection
{ font-weight: normal
; }
695 h6
{ font-size: 80%; }
696 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
698 margin: .4em 0 .5em 0;
707 border-bottom: 1px dotted black
;
713 font-family: Times
, "Times New Roman", serif
;
718 font-family: Times, "Times New Roman", serif;
722 font-family: monospace
, sans-serif
;
725 background-color: #f9f9f9;
729 border: 1px dashed
#2f6fab;
731 background-color: #f9f9f9;
736 list-style-type: square
;
737 margin: .3em 0 0 1.5em;
739 list-style-image: url
(images
/bullet-icon
.png?
1);
743 margin: .3em 0 0 3.2em;
745 list-style-image: none
;
767 /* we don't want the bottom borders of <h2>s to be visible through
769 background-color: white
;
772 /* but keep table layouts in forms clean... */
777 border: 1px solid
#2f6fab;
784 padding: 0 0.5em 0.5em;
801 /* Table of Contents */
805 border: 1px solid
#aaa;
806 background-color: #f9f9f9;
826 list-style-type: none
;
827 list-style-image: none
;
841 div
.floatright
, table
.floatright
{
845 margin: 0 0 .5em .5em;
848 div
.floatright p
{ font-style: italic
; }
849 div
.floatleft
, table
.floatleft
{
853 margin: 0 .5em .5em 0;
856 div
.floatleft p
{ font-style: italic
; }
863 background-color: transparent
;
866 border: 1px solid
#ccc;
867 padding: 3px !important
;
868 background-color: #f9f9f9;
874 border: 1px solid
#ccc;
880 padding: 3px !important
;
885 border: none
!important
;
886 background: none
!important
;
888 div
.magnify a
, div
.magnify img
{
890 border: none
!important
;
891 background: none
!important
;
896 border-width: .5em 0 .8em 1.4em;
902 border-width: .5em 1.4em .8em 0;
905 border: 1px solid
#dddddd;
918 background-color: #ffce7b;
919 border: 1px solid
#ffa500;
924 vertical-align: middle
;
933 margin-bottom: 0.9em;
936 margin-bottom: 0.9em;
940 border: 1px solid
#aaa;
941 background-color: #f9f9f9;
953 #contentSub, #contentSub2
{
956 margin: 0 0 1.4em 1em;
972 /* Small for tables and similar */
979 /* Edge Cases for Content */
990 margin-bottom: 0.1em;
995 div#content a
.external
,
996 div#content a
[href ^
="gopher://"] {
997 background: url
(images
/external-link-ltr-icon
.png?
2) center right no-repeat
;
1000 div#content a
[href ^
="https://"],
1002 background: url
(images
/lock-icon
.png?
2) center right no-repeat
;
1003 padding: 0 13px 0 0;
1005 div#content a
[href ^
="mailto:"],
1007 background: url
(images
/mail-icon
.png?
2) center right no-repeat
;
1008 padding: 0 13px 0 0;
1010 div#content a
[href ^
="news://"] {
1011 background: url
(images
/news-icon
.png?
2) center right no-repeat
;
1012 padding: 0 13px 0 0;
1014 div#content a
[href ^
="ftp://"],
1016 background: url
(images
/file-icon
.png?
2) center right no-repeat
;
1017 padding: 0 13px 0 0;
1019 div#content a
[href ^
="irc://"],
1020 div#content a
.extiw
[href ^
="irc://"],
1022 background: url
(images
/talk-icon
.png?
2) center right no-repeat
;
1023 padding: 0 13px 0 0;
1025 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
1026 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
1027 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
1028 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
1029 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
1030 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
1032 background: url
("images/audio-icon.png?2") center right no-repeat
;
1033 padding: 0 13px 0 0;
1035 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
1036 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
1037 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
1038 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
1040 background: url
("images/video-icon.png?2") center right no-repeat
;
1041 padding: 0 13px 0 0;
1043 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
1044 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
1045 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
1047 background: url
("images/document-icon.png?2") center right no-repeat
;
1048 padding: 0 13px 0 0;
1050 /* Interwiki Styling (Disabled) */
1051 div#content a
.extiw
,
1052 div#content a
.extiw:active
{
1057 div#content a
.external
{
1060 div#content
.printfooter
{
1063 /* Icon for Usernames */
1067 background: url
(images
/user-icon
.png?
1) left top no-repeat
;
1068 padding-left: 15px !important
;
1069 text-transform: none
;
1073 border: 1px solid
#aaa;
1074 background-color: #f9f9f9;
1089 /* Watch/Unwatch Icon Styling */
1103 #ca-unwatch.icon a
{
1104 background-image: url
(images
/watch-icons
.png?
1);
1105 background-position: -43px 60%;
1108 background-image: url
(images
/watch-icons
.png?
1);
1109 background-position: 5px 60%;
1111 #ca-unwatch.icon
a:hover
{
1112 background-image: url
(images
/watch-icons
.png?
1);
1113 background-position: -67px 60%;
1115 #ca-watch.icon
a:hover
{
1116 background-image: url
(images
/watch-icons
.png?
1);
1117 background-position: -19px 60%;
1119 #ca-unwatch.icon a
.loading
,
1120 #ca-watch.icon a
.loading
{
1121 background-image: url
(images
/watch-icon-loading
.gif?
1);
1122 background-position: center
60%;
1124 #ca-unwatch.icon a span
,
1125 #ca-watch.icon a span
{
1129 background-image:url
(images
/tab-break
.png?
1);
1130 background-position:right bottom
;
1131 background-repeat:no-repeat
;