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
;
146 div
.vectorTabs ul
> li
{
149 div
.vectorTabs li
.selected
{
150 background-image: url
(images
/tab-current-fade
.png
);
152 /* OVERRIDDEN BY COMPLIANT BROWSERS */
153 div
.vectorTabs li a
{
154 display: inline-block
;
157 padding-right: 0.4em;
158 background-image: url
(images
/tab-break
.png
);
159 background-position: bottom right
;
160 background-repeat: no-repeat
;
163 div
.vectorTabs li a span
{
167 div
.vectorTabs li a span
{
171 div
.vectorTabs li
> a
{
174 /* OVERRIDDEN BY COMPLIANT BROWSERS */
175 div
.vectorTabs a span
{
176 display: inline-block
;
181 div
.vectorTabs a
> span
{
185 div
.vectorTabs li
.selected a
,
186 div
.vectorTabs li
.selected a span
,
187 div
.vectorTabs li
.selected
a:visited
188 div
.vectorTabs li
.selected
a:visited span
{
190 text-decoration: none
;
192 div
.vectorTabs li
.new a
,
193 div
.vectorTabs li
.new a span
,
194 div
.vectorTabs li
.new
a:visited
,
195 div
.vectorTabs li
.new
a:visited span
{
198 /* Variants and Actions */
203 background-image: url
(images
/arrow-down-icon
.png
);
204 background-position: center center
;
205 background-repeat: no-repeat
;
207 body
.rtl div
.vectorMenu
{
211 #head div
.vectorMenu h5
{
213 background-image: url
(images
/tab-break
.png
);
214 background-position: bottom left
;
215 background-repeat: no-repeat
;
219 /* OVERRIDDEN BY COMPLIANT BROWSERS */
220 div
.vectorMenu h5 a
{
221 display: inline-block
;
224 text-decoration: none
;
225 background-image: url
(images
/tab-break
.png
);
226 background-position: bottom right
;
227 background-repeat: no-repeat
;
230 div
.vectorMenu h5
> a
{
233 div
.vectorMenu div
.menu
{
239 /* OVERRIDDEN BY COMPLIANT BROWSERS */
240 body
.rtl div
.vectorMenu div
.menu
{
244 body
.rtl div
.vectorMenu
> div
.menu
{
247 /* Fixes old versions of FireFox */
248 body
.rtl div
.vectorMenu
> div
.menu
,
252 div
.vectorMenu:hover div
.menu
{
257 background-color: white
;
258 border: solid
1px silver
;
261 list-style-image: none
;
262 list-style-type: none
;
268 /* Fixes old versions of FireFox */
273 /* Returns things back to normal in modern versions of FireFox */
285 /* OVERRIDDEN BY COMPLIANT BROWSERS */
286 div
.vectorMenu li a
{
287 display: inline-block
;
292 div
.vectorMenu li
> a
{
295 div
.vectorMenu li a
{
300 div
.vectorMenu li
.selected a
,
301 div
.vectorMenu li
.selected
a:visited
{
303 text-decoration: none
;
325 border: solid
1px #AAAAAA;
326 background-color: white
;
327 background-image: url
(images
/search-fade
.png
);
328 background-position: top left
;
329 background-repeat: repeat-x
;
331 #simpleSearch label
{
334 #simpleSearch input#searchInput
{
341 background-color: transparent
;
343 /* OVERRIDDEN BY COMPLIANT BROWSERS */
344 #simpleSearch button#searchButton
{
351 background-color: transparent
;
352 background-image: url
(images
/search-ltr
.png
);
353 background-position: center center
;
354 background-repeat: no-repeat
;
357 #simpleSearch > button#searchButton
{
369 padding-bottom: 1.5em;
371 #panel div
.portal h5
{
376 padding-left: 1.75em;
381 #panel div
.portal div
.body
{
385 background-image: url
(images
/portal-break-ltr
.png
);
386 background-repeat: no-repeat
;
387 background-position: top left
;
389 #panel div
.portal div
.body ul
{
391 list-style-image: none
;
392 list-style-type: none
;
396 #panel div
.portal div
.body ul li
{
397 line-height: 1.125em;
399 padding-bottom: 0.5em;
404 #panel div
.portal div
.body ul li a
{
407 #panel div
.portal div
.body ul li
a:visited
{
415 background-image: url
(images/border.png);
416 background-position: top left
;
417 background-repeat: repeat-x
;
421 list-style-image: none
;
422 list-style-type: none
;
430 padding-bottom: 0.5em;
434 #footer #footer-icons
{
437 #footer #footer-places
{
440 #footer #footer-info li
{
443 #footer #footer-icons li
{
448 #footer #footer-places li
{
465 background-repeat: no-repeat
;
466 background-position: center center
;
467 text-decoration: none
;
472 * The following code is highly modified from monobook. It would be nice if the
473 * preftoc id was more human readable like preferences-toc for instance,
474 * howerver this would require backporting the other skins.
483 margin: 0 !important
;
484 padding: 0 !important
;
485 background-image: url
(images
/preferences-break
.png
);
486 background-position: bottom left
;
487 background-repeat: no-repeat
;
497 list-style-type: none
;
498 list-style-image: none
;
499 background-image: url
(images
/preferences-break
.png
);
500 background-position: bottom right
;
501 background-repeat: no-repeat
;
504 #preftoc li:first-child
{
509 display: inline-block
;
513 text-decoration: none
;
514 background-image: none
;
518 text-decoration: underline
;
520 #preftoc li
.selected a
{
521 background-image: url
(images
/preferences-fade
.png
);
522 background-position: bottom
;
523 background-repeat: repeat-x
;
525 text-decoration: none
;
533 border: solid
1px #cccccc;
534 background-color: #f9f9f9;
535 background-image: url
(images
/preferences-base
.png
);
537 #preferences fieldset
.prefsection
{
542 #preferences fieldset
.prefsection fieldset
{
544 border-top: solid
1px #cccccc;
546 #preferences legend
{
549 #preferences fieldset
.prefsection legend
.mainLegend
{
554 padding-right: 0.5em;
556 #preferences td
.htmlform-tip
{
561 #preferences div
.mw-prefs-buttons
{
564 #preferences div
.mw-prefs-buttons input
{
565 margin-right: 0.25em;
570 * The following code is slightly modified from monobook
581 text-decoration: none
;
592 text-decoration: underline
;
597 a
.new
, #p-personal a
.new
{
600 a
.new:visited
, #p-personal a
.new:visited
{
604 /* Inline Elements */
607 vertical-align: middle
;
612 background-color: #aaa;
614 margin: .2em 0 .2em 0;
617 /* Structural Elements */
629 padding-bottom: .17em;
630 border-bottom: 1px solid
#aaa;
633 h1
{ font-size: 188%; }
634 h1
.editsection
{ font-size: 53%; }
635 h2
{ font-size: 150%; }
636 h2
.editsection
{ font-size: 67%; }
644 h3
{ font-size: 132%; }
645 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
646 h4
{ font-size: 116%; }
647 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
648 h5
{ font-size: 100%; }
649 h5
.editsection
{ font-weight: normal
; }
650 h6
{ font-size: 80%; }
651 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
653 margin: .4em 0 .5em 0;
662 border-bottom: 1px dotted black
;
668 font-family: Times
, "Times New Roman", serif
;
673 font-family: Times, "Times New Roman", serif;
677 background-color: #f9f9f9;
681 border: 1px dashed
#2f6fab;
683 background-color: #f9f9f9;
688 list-style-type: square
;
689 margin: .3em 0 0 1.5em;
691 list-style-image: url
(images
/bullet-icon
.png
);
695 margin: .3em 0 0 3.2em;
697 list-style-image: none
;
719 /* we don't want the bottom borders of <h2>s to be visible through
721 background-color: white
;
724 /* but keep table layouts in forms clean... */
729 border: 1px solid
#2f6fab;
736 padding: 0 0.5em 0.5em;
753 /* Table of Contents */
757 border: 1px solid
#aaa;
758 background-color: #f9f9f9;
778 list-style-type: none
;
779 list-style-image: none
;
793 div
.floatright
, table
.floatright
{
797 margin: 0 0 .5em .5em;
800 div
.floatright p
{ font-style: italic
; }
801 div
.floatleft
, table
.floatleft
{
805 margin: 0 .5em .5em 0;
808 div
.floatleft p
{ font-style: italic
; }
815 background-color: transparent
;
818 border: 1px solid
#ccc;
819 padding: 3px !important
;
820 background-color: #f9f9f9;
826 border: 1px solid
#ccc;
832 padding: 3px !important
;
837 border: none
!important
;
838 background: none
!important
;
840 div
.magnify a
, div
.magnify img
{
842 border: none
!important
;
843 background: none
!important
;
848 border-width: .5em 0 .8em 1.4em;
854 border-width: .5em 1.4em .8em 0;
857 border: 1px solid
#dddddd;
870 background-color: #ffce7b;
871 border: 1px solid
#ffa500;
876 vertical-align: middle
;
888 margin-bottom: 0.9em;
892 border: 1px solid
#aaa;
893 background-color: #f9f9f9;
905 #contentSub, #contentSub2
{
908 margin: 0 0 1.4em 1em;
924 /* Small for tables and similar */
931 /* Edge Cases for Content */
942 margin-bottom: 0.1em;
948 #content a
[href ^
="gopher://"] {
949 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
952 #content a
[href ^
="https://"],
954 background: url
(images
/lock-icon
.png
) center right no-repeat
;
957 #content a
[href ^
="mailto:"],
959 background: url
(images
/mail-icon
.png
) center right no-repeat
;
962 #content a
[href ^
="news://"] {
963 background: url
(images
/news-icon
.png
) center right no-repeat
;
966 #content a
[href ^
="ftp://"],
968 background: url
(images
/file-icon
.png
) center right no-repeat
;
971 #content a
[href ^
="irc://"],
972 #content a
.extiw
[href ^
="irc://"],
974 background: url
(images
/talk-icon
.png
) center right no-repeat
;
977 #content a
.external
[href $
=".ogg"], #content a
.external
[href $
=".OGG"],
978 #content a
.external
[href $
=".mid"], #content a
.external
[href $
=".MID"],
979 #content a
.external
[href $
=".midi"], #content a
.external
[href $
=".MIDI"],
980 #content a
.external
[href $
=".mp3"], #content a
.external
[href $
=".MP3"],
981 #content a
.external
[href $
=".wav"], #content a
.external
[href $
=".WAV"],
982 #content a
.external
[href $
=".wma"], #content a
.external
[href $
=".WMA"],
984 background: url
("images/audio-icon.png") center right no-repeat
;
987 #content a
.external
[href $
=".ogm"], #content a
.external
[href $
=".OGM"],
988 #content a
.external
[href $
=".avi"], #content a
.external
[href $
=".AVI"],
989 #content a
.external
[href $
=".mpeg"], #content a
.external
[href $
=".MPEG"],
990 #content a
.external
[href $
=".mpg"], #content a
.external
[href $
=".MPG"],
992 background: url
("images/video-icon.png") center right no-repeat
;
995 #content a
.external
[href $
=".pdf"], #content a
.external
[href $
=".PDF"],
996 #content a
.external
[href
*=".pdf#"], #content a
.external
[href
*=".PDF#"],
997 #content a
.external
[href
*=".pdf?"], #content a
.external
[href
*=".PDF?"],
999 background: url
("images/document-icon.png") center right no-repeat
;
1000 padding: 0 18px 0 0;
1002 /* Interwiki Styling (Disabled) */
1004 #content a
.extiw:active
{
1009 #content a
.external
{
1012 #content .printfooter
{
1015 /* Icon for Usernames */
1019 background: url
(images
/user-icon
.png
) left top no-repeat
;
1020 padding-left: 15px !important
;
1021 text-transform: none
;
1025 border: 1px solid
#aaa;
1026 background-color: #f9f9f9;