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 left
;
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 left
;
45 background-repeat: repeat-x
;
51 background-image: url
(images/border.png);
52 background-position: bottom left
;
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 left
;
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 left
;
143 background-repeat: repeat-x
;
147 div
.vectorTabs ul
> li
{
150 div
.vectorTabs li
.selected
{
151 background-image: url
(images
/tab-current-fade
.png
);
153 /* OVERRIDDEN BY COMPLIANT BROWSERS */
154 div
.vectorTabs li a
{
155 display: inline-block
;
158 padding-right: 0.4em;
159 background-image: url
(images
/tab-break
.png
);
160 background-position: bottom right
;
161 background-repeat: no-repeat
;
164 div
.vectorTabs li a span
{
168 div
.vectorTabs li a span
{
172 div
.vectorTabs li
> a
{
175 /* OVERRIDDEN BY COMPLIANT BROWSERS */
176 div
.vectorTabs a span
{
177 display: inline-block
;
182 div
.vectorTabs a
> span
{
186 div
.vectorTabs li
.selected a
,
187 div
.vectorTabs li
.selected a span
,
188 div
.vectorTabs li
.selected
a:visited
189 div
.vectorTabs li
.selected
a:visited span
{
191 text-decoration: none
;
193 div
.vectorTabs li
.new a
,
194 div
.vectorTabs li
.new a span
,
195 div
.vectorTabs li
.new
a:visited
,
196 div
.vectorTabs li
.new
a:visited span
{
199 /* Variants and Actions */
204 background-image: url
(images
/arrow-down-icon
.png
);
205 background-position: center center
;
206 background-repeat: no-repeat
;
208 body
.rtl div
.vectorMenu
{
212 #head div
.vectorMenu h5
{
214 background-image: url
(images
/tab-break
.png
);
215 background-position: bottom left
;
216 background-repeat: no-repeat
;
220 /* OVERRIDDEN BY COMPLIANT BROWSERS */
221 div
.vectorMenu h5 a
{
222 display: inline-block
;
225 text-decoration: none
;
226 background-image: url
(images
/tab-break
.png
);
227 background-position: bottom right
;
228 background-repeat: no-repeat
;
231 div
.vectorMenu h5
> a
{
234 div
.vectorMenu div
.menu
{
240 /* OVERRIDDEN BY COMPLIANT BROWSERS */
241 body
.rtl div
.vectorMenu div
.menu
{
245 body
.rtl div
.vectorMenu
> div
.menu
{
248 /* Fixes old versions of FireFox */
249 body
.rtl div
.vectorMenu
> div
.menu
,
253 div
.vectorMenu:hover div
.menu
{
258 background-color: white
;
259 border: solid
1px silver
;
262 list-style-image: none
;
263 list-style-type: none
;
269 /* Fixes old versions of FireFox */
274 /* Returns things back to normal in modern versions of FireFox */
286 /* OVERRIDDEN BY COMPLIANT BROWSERS */
287 div
.vectorMenu li a
{
288 display: inline-block
;
293 div
.vectorMenu li
> a
{
296 div
.vectorMenu li a
{
301 div
.vectorMenu li
.selected a
,
302 div
.vectorMenu li
.selected
a:visited
{
304 text-decoration: none
;
326 border: solid
1px #AAAAAA;
327 background-color: white
;
328 background-image: url
(images
/search-fade
.png
);
329 background-position: top left
;
330 background-repeat: repeat-x
;
332 #simpleSearch label
{
335 #simpleSearch input#searchInput
{
342 background-color: transparent
;
344 /* OVERRIDDEN BY COMPLIANT BROWSERS */
345 #simpleSearch button#searchButton
{
352 background-color: transparent
;
353 background-image: url
(images
/search-ltr
.png
);
354 background-position: center center
;
355 background-repeat: no-repeat
;
358 #simpleSearch > button#searchButton
{
361 .suggestions-special .special-label {
365 .suggestions-special .special-query {
369 .suggestions-special .special-hover {
370 background-color: silver
;
381 padding-bottom: 1.5em;
383 #panel div
.portal h5
{
388 padding-left: 1.75em;
393 #panel div
.portal div
.body
{
397 background-image: url
(images
/portal-break-ltr
.png
);
398 background-repeat: no-repeat
;
399 background-position: top left
;
401 #panel div
.portal div
.body ul
{
403 list-style-image: none
;
404 list-style-type: none
;
408 #panel div
.portal div
.body ul li
{
409 line-height: 1.125em;
411 padding-bottom: 0.5em;
416 #panel div
.portal div
.body ul li a
{
419 #panel div
.portal div
.body ul li
a:visited
{
427 background-image: url
(images/border.png);
428 background-position: top left
;
429 background-repeat: repeat-x
;
433 list-style-image: none
;
434 list-style-type: none
;
442 padding-bottom: 0.5em;
446 #footer #footer-icons
{
449 #footer #footer-places
{
452 #footer #footer-info li
{
455 #footer #footer-icons li
{
460 #footer #footer-places li
{
477 background-repeat: no-repeat
;
478 background-position: center center
;
479 text-decoration: none
;
484 * The following code is highly modified from monobook. It would be nice if the
485 * preftoc id was more human readable like preferences-toc for instance,
486 * howerver this would require backporting the other skins.
495 margin: 0 !important
;
496 padding: 0 !important
;
497 background-image: url
(images
/preferences-break
.png
);
498 background-position: bottom left
;
499 background-repeat: no-repeat
;
509 list-style-type: none
;
510 list-style-image: none
;
511 background-image: url
(images
/preferences-break
.png
);
512 background-position: bottom right
;
513 background-repeat: no-repeat
;
516 #preftoc li:first-child
{
521 display: inline-block
;
525 text-decoration: none
;
526 background-image: none
;
530 text-decoration: underline
;
532 #preftoc li
.selected a
{
533 background-image: url
(images
/preferences-fade
.png
);
534 background-position: bottom
;
535 background-repeat: repeat-x
;
537 text-decoration: none
;
545 border: solid
1px #cccccc;
546 background-color: #f9f9f9;
547 background-image: url
(images
/preferences-base
.png
);
549 #preferences fieldset
.prefsection
{
554 #preferences fieldset
.prefsection fieldset
{
556 border-top: solid
1px #cccccc;
558 #preferences legend
{
561 #preferences fieldset
.prefsection legend
.mainLegend
{
566 padding-right: 0.5em;
568 #preferences td
.htmlform-tip
{
573 #preferences div
.mw-prefs-buttons
{
576 #preferences div
.mw-prefs-buttons input
{
577 margin-right: 0.25em;
581 * Styles for the user login and create account forms
583 #userlogin, #userloginForm
{
584 border: solid
1px #cccccc;
598 * The following code is slightly modified from monobook
609 text-decoration: none
;
620 text-decoration: underline
;
625 a
.new
, #p-personal a
.new
{
628 a
.new:visited
, #p-personal a
.new:visited
{
632 /* Inline Elements */
635 vertical-align: middle
;
640 background-color: #aaa;
642 margin: .2em 0 .2em 0;
645 /* Structural Elements */
657 padding-bottom: .17em;
658 border-bottom: 1px solid
#aaa;
661 h1
{ font-size: 188%; }
662 h1
.editsection
{ font-size: 53%; }
663 h2
{ font-size: 150%; }
664 h2
.editsection
{ font-size: 67%; }
672 h3
{ font-size: 132%; }
673 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
674 h4
{ font-size: 116%; }
675 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
676 h5
{ font-size: 100%; }
677 h5
.editsection
{ font-weight: normal
; }
678 h6
{ font-size: 80%; }
679 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
681 margin: .4em 0 .5em 0;
690 border-bottom: 1px dotted black
;
696 font-family: Times
, "Times New Roman", serif
;
701 font-family: Times, "Times New Roman", serif;
705 background-color: #f9f9f9;
709 border: 1px dashed
#2f6fab;
711 background-color: #f9f9f9;
716 list-style-type: square
;
717 margin: .3em 0 0 1.5em;
719 list-style-image: url
(images
/bullet-icon
.png
);
723 margin: .3em 0 0 3.2em;
725 list-style-image: none
;
747 /* we don't want the bottom borders of <h2>s to be visible through
749 background-color: white
;
752 /* but keep table layouts in forms clean... */
757 border: 1px solid
#2f6fab;
764 padding: 0 0.5em 0.5em;
781 /* Table of Contents */
785 border: 1px solid
#aaa;
786 background-color: #f9f9f9;
806 list-style-type: none
;
807 list-style-image: none
;
821 div
.floatright
, table
.floatright
{
825 margin: 0 0 .5em .5em;
828 div
.floatright p
{ font-style: italic
; }
829 div
.floatleft
, table
.floatleft
{
833 margin: 0 .5em .5em 0;
836 div
.floatleft p
{ font-style: italic
; }
843 background-color: transparent
;
846 border: 1px solid
#ccc;
847 padding: 3px !important
;
848 background-color: #f9f9f9;
854 border: 1px solid
#ccc;
860 padding: 3px !important
;
865 border: none
!important
;
866 background: none
!important
;
868 div
.magnify a
, div
.magnify img
{
870 border: none
!important
;
871 background: none
!important
;
876 border-width: .5em 0 .8em 1.4em;
882 border-width: .5em 1.4em .8em 0;
885 border: 1px solid
#dddddd;
898 background-color: #ffce7b;
899 border: 1px solid
#ffa500;
904 vertical-align: middle
;
916 margin-bottom: 0.9em;
920 border: 1px solid
#aaa;
921 background-color: #f9f9f9;
933 #contentSub, #contentSub2
{
936 margin: 0 0 1.4em 1em;
952 /* Small for tables and similar */
959 /* Edge Cases for Content */
970 margin-bottom: 0.1em;
976 #content a
[href ^
="gopher://"] {
977 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
980 #content a
[href ^
="https://"],
982 background: url
(images
/lock-icon
.png
) center right no-repeat
;
985 #content a
[href ^
="mailto:"],
987 background: url
(images
/mail-icon
.png
) center right no-repeat
;
990 #content a
[href ^
="news://"] {
991 background: url
(images
/news-icon
.png
) center right no-repeat
;
994 #content a
[href ^
="ftp://"],
996 background: url
(images
/file-icon
.png
) center right no-repeat
;
999 #content a
[href ^
="irc://"],
1000 #content a
.extiw
[href ^
="irc://"],
1002 background: url
(images
/talk-icon
.png
) center right no-repeat
;
1003 padding: 0 18px 0 0;
1005 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
1006 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
1007 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
1008 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
1009 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
1010 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
1012 background: url
("images/audio-icon.png") center right no-repeat
;
1013 padding: 0 18px 0 0;
1015 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
1016 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
1017 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
1018 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
1020 background: url
("images/video-icon.png") center right no-repeat
;
1021 padding: 0 18px 0 0;
1023 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
1024 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
1025 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
1027 background: url
("images/document-icon.png") center right no-repeat
;
1028 padding: 0 18px 0 0;
1030 /* Interwiki Styling (Disabled) */
1032 #content a
.extiw:active
{
1037 #content a
.external
{
1040 #content .printfooter
{
1043 /* Icon for Usernames */
1047 background: url
(images
/user-icon
.png
) left top no-repeat
;
1048 padding-left: 15px !important
;
1049 text-transform: none
;
1053 border: 1px solid
#aaa;
1054 background-color: #f9f9f9;
1069 /* Watch/Unwatch Icon Styling */
1082 #ca-unwatch.icon a
{
1083 background-image: url
(images
/watch-icons
.png
);
1084 background-position: -43px 60%;
1087 background-image: url
(images
/watch-icons
.png
);
1088 background-position: 5px 60%;
1090 #ca-unwatch.icon
a:hover
{
1091 background-image: url
(images
/watch-icons
.png
);
1092 background-position: -67px 60%;
1094 #ca-watch.icon
a:hover
{
1095 background-image: url
(images
/watch-icons
.png
);
1096 background-position: -19px 60%;
1098 #ca-unwatch.icon a
.loading
,
1099 #ca-watch.icon a
.loading
{
1100 background-image: url
(images
/watch-icon-loading
.gif
);
1101 background-position: center
60%;
1103 #ca-unwatch.icon a span
,
1104 #ca-watch.icon a span
{