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 */
116 background-image: url
(images
/tab-break
.png?
1);
117 background-position: bottom left
;
118 background-repeat: no-repeat
;
132 div
.vectorTabs ul li
{
135 /* OVERRIDDEN BY COMPLIANT BROWSERS */
136 div
.vectorTabs ul li
{
137 line-height: 1.125em;
138 display: inline-block
;
142 background-color: #f3f3f3;
143 background-image: url
(images
/tab-normal-fade
.png?
1);
144 background-position: bottom left
;
145 background-repeat: repeat-x
;
149 div
.vectorTabs ul
> li
{
152 div
.vectorTabs li
.selected
{
153 background-image: url
(images
/tab-current-fade
.png?
1);
155 /* OVERRIDDEN BY COMPLIANT BROWSERS */
156 div
.vectorTabs li a
{
157 display: inline-block
;
160 padding-right: 0.4em;
161 background-image: url
(images
/tab-break
.png?
1);
162 background-position: bottom right
;
163 background-repeat: no-repeat
;
166 div
.vectorTabs li a span
{
170 div
.vectorTabs li a span
{
174 div
.vectorTabs li
> a
{
177 /* OVERRIDDEN BY COMPLIANT BROWSERS */
178 div
.vectorTabs a span
{
179 display: inline-block
;
184 div
.vectorTabs a
> span
{
188 div
.vectorTabs li
.selected a
,
189 div
.vectorTabs li
.selected a span
,
190 div
.vectorTabs li
.selected
a:visited
191 div
.vectorTabs li
.selected
a:visited span
{
193 text-decoration: none
;
195 div
.vectorTabs li
.new a
,
196 div
.vectorTabs li
.new a span
,
197 div
.vectorTabs li
.new
a:visited
,
198 div
.vectorTabs li
.new
a:visited span
{
201 /* Variants and Actions */
206 background-image: url
(images
/arrow-down-icon
.png?
1);
207 background-position: 100% 60%;
208 background-repeat: no-repeat
;
212 body
.rtl div
.vectorMenu
{
215 /* OVERRIDDEN BY COMPLIANT BROWSERS */
217 #head div
.vectorMenu h5
{
219 background-image: url
(images
/tab-break
.png?
1);
220 background-repeat: no-repeat
;
223 #head div
.vectorMenu
> h5
{
224 background-image: none
;
226 #head div
.vectorMenu h5
{
227 background-position: bottom left
;
230 #head div
.vectorMenu h4
{
231 display: inline-block
;
235 padding-top: 1.375em;
239 /* OVERRIDDEN BY COMPLIANT BROWSERS */
241 div
.vectorMenu h5 a
{
242 display: inline-block
;
245 text-decoration: none
;
246 background-image: url
(images
/tab-break
.png?
1);
247 background-repeat: no-repeat
;
250 background-position: bottom right
;
253 div
.vectorMenu h5
> a
{
256 div
.vectorMenu div
.menu
{
262 /* OVERRIDDEN BY COMPLIANT BROWSERS */
264 body
.rtl div
.vectorMenu div
.menu
{
269 body
.rtl div
.vectorMenu
> div
.menu
{
272 /* Fixes old versions of FireFox */
274 body
.rtl div
.vectorMenu
> div
.menu
,
278 div
.vectorMenu:hover div
.menu
{
283 background-color: white
;
284 border: solid
1px silver
;
287 list-style-image: none
;
288 list-style-type: none
;
294 /* Fixes old versions of FireFox */
299 /* Returns things back to normal in modern versions of FireFox */
311 /* OVERRIDDEN BY COMPLIANT BROWSERS */
312 div
.vectorMenu li a
{
313 display: inline-block
;
318 div
.vectorMenu li
> a
{
321 div
.vectorMenu li a
{
326 div
.vectorMenu li
.selected a
,
327 div
.vectorMenu li
.selected
a:visited
{
329 text-decoration: none
;
351 border: solid
1px #AAAAAA;
352 background-color: white
;
353 background-image: url
(images
/search-fade
.png?
1);
354 background-position: top left
;
355 background-repeat: repeat-x
;
357 #simpleSearch label
{
361 #simpleSearch input#searchInput
{
368 background-color: transparent
;
370 /* OVERRIDDEN BY COMPLIANT BROWSERS */
371 #simpleSearch button#searchButton
{
378 background-color: transparent
;
379 background-image: url
(images
/search-ltr
.png?
1);
380 background-position: center center
;
381 background-repeat: no-repeat
;
384 #simpleSearch > button#searchButton
{
396 padding-bottom: 1.5em;
398 #panel div
.portal h5
{
403 padding-left: 1.75em;
408 #panel div
.portal div
.body
{
412 background-image: url
(images
/portal-break
.png?
1);
413 background-repeat: no-repeat
;
414 background-position: top left
;
416 #panel div
.portal div
.body ul
{
418 list-style-image: none
;
419 list-style-type: none
;
423 #panel div
.portal div
.body ul li
{
424 line-height: 1.125em;
426 padding-bottom: 0.5em;
431 #panel div
.portal div
.body ul li a
{
434 #panel div
.portal div
.body ul li
a:visited
{
442 background-image: url
(images
/border
.png?
1);
443 background-position: top left
;
444 background-repeat: repeat-x
;
448 list-style-image: none
;
449 list-style-type: none
;
457 padding-bottom: 0.5em;
461 #footer #footer-icons
{
465 body
.ltr #footer #footer-places
{
468 #footer #footer-info li
{
471 #footer #footer-icons li
{
476 #footer #footer-places li
{
493 background-repeat: no-repeat
;
494 background-position: center center
;
495 text-decoration: none
;
500 * The following code is highly modified from monobook. It would be nice if the
501 * preftoc id was more human readable like preferences-toc for instance,
502 * howerver this would require backporting the other skins.
511 margin: 0 !important
;
512 padding: 0 !important
;
513 background-image: url
(images
/preferences-break
.png?
1);
514 background-position: bottom left
;
515 background-repeat: no-repeat
;
525 list-style-type: none
;
526 list-style-image: none
;
527 background-image: url
(images
/preferences-break
.png?
1);
528 background-position: bottom right
;
529 background-repeat: no-repeat
;
532 #preftoc li:first-child
{
537 display: inline-block
;
541 text-decoration: none
;
542 background-image: none
;
546 text-decoration: underline
;
548 #preftoc li
.selected a
{
549 background-image: url
(images
/preferences-fade
.png?
1);
550 background-position: bottom
;
551 background-repeat: repeat-x
;
553 text-decoration: none
;
561 border: solid
1px #cccccc;
562 background-color: #f9f9f9;
563 background-image: url
(images
/preferences-base
.png?
1);
565 #preferences fieldset
.prefsection
{
570 #preferences fieldset
.prefsection fieldset
{
572 border-top: solid
1px #cccccc;
574 #preferences legend
{
577 #preferences fieldset
.prefsection legend
.mainLegend
{
582 padding-right: 0.5em;
584 #preferences td
.htmlform-tip
{
589 #preferences div
.mw-prefs-buttons
{
592 #preferences div
.mw-prefs-buttons input
{
593 margin-right: 0.25em;
597 * Styles for the user login and create account forms
599 #userlogin, #userloginForm
{
600 border: solid
1px #cccccc;
614 * The following code is slightly modified from monobook
625 text-decoration: none
;
636 text-decoration: underline
;
641 a
.new
, #p-personal a
.new
{
644 a
.new:visited
, #p-personal a
.new:visited
{
648 /* Inline Elements */
651 vertical-align: middle
;
656 background-color: #aaa;
658 margin: .2em 0 .2em 0;
661 /* Structural Elements */
673 padding-bottom: .17em;
674 border-bottom: 1px solid
#aaa;
677 h1
{ font-size: 188%; }
678 h1
.editsection
{ font-size: 53%; }
679 h2
{ font-size: 150%; }
680 h2
.editsection
{ font-size: 67%; }
688 h3
{ font-size: 132%; }
689 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
690 h4
{ font-size: 116%; }
691 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
692 h5
{ font-size: 100%; }
693 h5
.editsection
{ font-weight: normal
; }
694 h6
{ font-size: 80%; }
695 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
697 margin: .4em 0 .5em 0;
706 border-bottom: 1px dotted black
;
712 font-family: Times
, "Times New Roman", serif
;
717 font-family: Times, "Times New Roman", serif;
721 font-family: monospace
, sans-serif
;
724 background-color: #f9f9f9;
728 border: 1px dashed
#2f6fab;
730 background-color: #f9f9f9;
735 list-style-type: square
;
736 margin: .3em 0 0 1.5em;
738 list-style-image: url
(images
/bullet-icon
.png?
1);
742 margin: .3em 0 0 3.2em;
744 list-style-image: none
;
766 /* we don't want the bottom borders of <h2>s to be visible through
768 background-color: white
;
771 /* but keep table layouts in forms clean... */
776 border: 1px solid
#2f6fab;
783 padding: 0 0.5em 0.5em;
800 /* Table of Contents */
804 border: 1px solid
#aaa;
805 background-color: #f9f9f9;
825 list-style-type: none
;
826 list-style-image: none
;
840 div
.floatright
, table
.floatright
{
844 margin: 0 0 .5em .5em;
847 div
.floatright p
{ font-style: italic
; }
848 div
.floatleft
, table
.floatleft
{
852 margin: 0 .5em .5em 0;
855 div
.floatleft p
{ font-style: italic
; }
862 background-color: transparent
;
865 border: 1px solid
#ccc;
866 padding: 3px !important
;
867 background-color: #f9f9f9;
873 border: 1px solid
#ccc;
879 padding: 3px !important
;
884 border: none
!important
;
885 background: none
!important
;
887 div
.magnify a
, div
.magnify img
{
889 border: none
!important
;
890 background: none
!important
;
895 border-width: .5em 0 .8em 1.4em;
901 border-width: .5em 1.4em .8em 0;
904 border: 1px solid
#dddddd;
917 background-color: #ffce7b;
918 border: 1px solid
#ffa500;
923 vertical-align: middle
;
935 margin-bottom: 0.9em;
939 border: 1px solid
#aaa;
940 background-color: #f9f9f9;
952 #contentSub, #contentSub2
{
955 margin: 0 0 1.4em 1em;
971 /* Small for tables and similar */
978 /* Edge Cases for Content */
989 margin-bottom: 0.1em;
995 #content a
[href ^
="gopher://"] {
996 background: url
(images
/external-link-ltr-icon
.png?
2) center right no-repeat
;
999 #content a
[href ^
="https://"],
1001 background: url
(images
/lock-icon
.png?
2) center right no-repeat
;
1002 padding: 0 13px 0 0;
1004 #content a
[href ^
="mailto:"],
1006 background: url
(images
/mail-icon
.png?
2) center right no-repeat
;
1007 padding: 0 13px 0 0;
1009 #content a
[href ^
="news://"] {
1010 background: url
(images
/news-icon
.png?
2) center right no-repeat
;
1011 padding: 0 13px 0 0;
1013 #content a
[href ^
="ftp://"],
1015 background: url
(images
/file-icon
.png?
2) center right no-repeat
;
1016 padding: 0 13px 0 0;
1018 #content a
[href ^
="irc://"],
1019 #content a
.extiw
[href ^
="irc://"],
1021 background: url
(images
/talk-icon
.png?
2) center right no-repeat
;
1022 padding: 0 13px 0 0;
1024 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
1025 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
1026 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
1027 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
1028 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
1029 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
1031 background: url
("images/audio-icon.png?2") center right no-repeat
;
1032 padding: 0 13px 0 0;
1034 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
1035 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
1036 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
1037 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
1039 background: url
("images/video-icon.png?2") center right no-repeat
;
1040 padding: 0 13px 0 0;
1042 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
1043 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
1044 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
1046 background: url
("images/document-icon.png?2") center right no-repeat
;
1047 padding: 0 13px 0 0;
1049 /* Interwiki Styling (Disabled) */
1051 #content a
.extiw:active
{
1056 #content a
.external
{
1059 #content .printfooter
{
1062 /* Icon for Usernames */
1066 background: url
(images
/user-icon
.png?
1) left top no-repeat
;
1067 padding-left: 15px !important
;
1068 text-transform: none
;
1072 border: 1px solid
#aaa;
1073 background-color: #f9f9f9;
1088 /* Watch/Unwatch Icon Styling */
1102 #ca-unwatch.icon a
{
1103 background-image: url
(images
/watch-icons
.png?
1);
1104 background-position: -43px 60%;
1107 background-image: url
(images
/watch-icons
.png?
1);
1108 background-position: 5px 60%;
1110 #ca-unwatch.icon
a:hover
{
1111 background-image: url
(images
/watch-icons
.png?
1);
1112 background-position: -67px 60%;
1114 #ca-watch.icon
a:hover
{
1115 background-image: url
(images
/watch-icons
.png?
1);
1116 background-position: -19px 60%;
1118 #ca-unwatch.icon a
.loading
,
1119 #ca-watch.icon a
.loading
{
1120 background-image: url
(images
/watch-icon-loading
.gif?
1);
1121 background-position: center
60%;
1123 #ca-unwatch.icon a span
,
1124 #ca-watch.icon a span
{
1128 background-image:url
(images
/tab-break
.png?
1);
1129 background-position:right bottom
;
1130 background-repeat:no-repeat
;