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;
29 background-image: url
(images
/page-base
.png?
1);
36 background-image: url
(images
/border
.png?
1);
37 background-position: top left
;
38 background-repeat: repeat-y
;
39 background-color: white
;
46 background-color: white
;
48 background-image: url
(images
/page-fade
.png?
1);
49 background-position: bottom left
;
50 background-repeat: repeat-x
;
57 background-image: url
(images
/border
.png?
1);
58 background-position: bottom left
;
59 background-repeat: repeat-x
;
71 /* Hide empty portlets */
102 /* Navigation Containers */
112 /* Navigation Labels */
114 div
.vectorMenu h5 span
{
117 /* Namespaces and Views */
125 background-image: url
(images
/tab-break
.png?
1);
126 background-position: bottom left
;
127 background-repeat: no-repeat
;
141 div
.vectorTabs ul li
{
144 /* OVERRIDDEN BY COMPLIANT BROWSERS */
145 div
.vectorTabs ul li
{
146 line-height: 1.125em;
147 display: inline-block
;
151 background-color: #f3f3f3;
153 background-image: url
(images
/tab-normal-fade
.png?
1);
154 background-position: bottom left
;
155 background-repeat: repeat-x
;
159 div
.vectorTabs ul
> li
{
162 div
.vectorTabs li
.selected
{
164 background-image: url
(images
/tab-current-fade
.png?
1);
166 /* OVERRIDDEN BY COMPLIANT BROWSERS */
167 div
.vectorTabs li a
{
168 display: inline-block
;
171 padding-right: 0.5em;
173 background-image: url
(images
/tab-break
.png?
1);
174 background-position: bottom right
;
175 background-repeat: no-repeat
;
181 div
.vectorTabs li a
{
185 div
.vectorTabs li
> a
{
188 /* OVERRIDDEN BY COMPLIANT BROWSERS */
189 div
.vectorTabs span a
{
190 display: inline-block
;
195 div
.vectorTabs span
> a
{
199 div
.vectorTabs li
.selected a
,
200 div
.vectorTabs li
.selected
a:visited
{
202 text-decoration: none
;
204 div
.vectorTabs li
.new a
,
205 div
.vectorTabs li
.new
a:visited
{
208 /* Variants and Actions */
214 background-image: url
(images
/arrow-down-icon
.png?
1);
215 background-position: 100% 60%;
216 background-repeat: no-repeat
;
220 body
.rtl div
.vectorMenu
{
223 /* OVERRIDDEN BY COMPLIANT BROWSERS */
225 div#mw-head div
.vectorMenu h5
{
228 background-image: url
(images
/tab-break
.png?
1);
229 background-repeat: no-repeat
;
232 div#mw-head div
.vectorMenu
> h5
{
233 background-image: none
;
235 div#mw-head div
.vectorMenu h5
{
236 background-position: bottom left
;
239 div#mw-head div
.vectorMenu h4
{
240 display: inline-block
;
244 padding-top: 1.375em;
248 /* OVERRIDDEN BY COMPLIANT BROWSERS */
250 div
.vectorMenu h5 a
{
251 display: inline-block
;
254 text-decoration: none
;
256 background-image: url
(images
/tab-break
.png?
1);
257 background-repeat: no-repeat
;
260 background-position: bottom right
;
263 div
.vectorMenu h5
> a
{
266 div
.vectorMenu div
.menu
{
272 /* OVERRIDDEN BY COMPLIANT BROWSERS */
274 body
.rtl div
.vectorMenu div
.menu
{
279 body
.rtl div
.vectorMenu
> div
.menu
{
282 /* Fixes old versions of FireFox */
284 body
.rtl div
.vectorMenu
> div
.menu
,
288 div
.vectorMenu:hover div
.menu
{
293 background-color: white
;
294 border: solid
1px silver
;
297 list-style-image: none
;
298 list-style-type: none
;
304 /* Fixes old versions of FireFox */
309 /* Returns things back to normal in modern versions of FireFox */
321 /* OVERRIDDEN BY COMPLIANT BROWSERS */
322 div
.vectorMenu li a
{
323 display: inline-block
;
328 div
.vectorMenu li
> a
{
331 div
.vectorMenu li a
{
336 div
.vectorMenu li
.selected a
,
337 div
.vectorMenu li
.selected
a:visited
{
339 text-decoration: none
;
361 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
362 border: solid
1px #AAAAAA;
363 background-color: white
;
365 background-image: url
(images
/search-fade
.png?
1);
366 background-position: top left
;
367 background-repeat: repeat-x
;
369 div#simpleSearch label
{
371 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
372 * this from ever being shown anyways.
377 div#simpleSearch
.placeholder
{
380 div#simpleSearch
input::-webkit-input-placeholder
{
383 div#simpleSearch input#searchInput
{
389 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
390 * this from ever being shown anyways.
394 background-color: transparent
;
396 /* OVERRIDDEN BY COMPLIANT BROWSERS */
397 div#simpleSearch button#searchButton
{
402 background-color: transparent
;
405 div#simpleSearch button#searchButton img
{
409 vertical-align: middle
;
419 div#mw-panel div
.portal
{
420 padding-bottom: 1.5em;
423 div#mw-panel div
.portal h5
{
428 padding-left: 1.75em;
433 div#mw-panel div
.portal div
.body
{
438 background-image: url
(images
/portal-break
.png?
1);
439 background-repeat: no-repeat
;
440 background-position: top left
;
442 div#mw-panel div
.portal div
.body ul
{
444 list-style-image: none
;
445 list-style-type: none
;
449 div#mw-panel div
.portal div
.body ul li
{
450 line-height: 1.125em;
452 padding-bottom: 0.5em;
457 div#mw-panel div
.portal div
.body ul li a
{
460 div#mw-panel div
.portal div
.body ul li
a:visited
{
469 background-image: url
(images
/border
.png?
1);
470 background-position: top left
;
471 background-repeat: repeat-x
;
476 list-style-image: none
;
477 list-style-type: none
;
485 padding-bottom: 0.5em;
489 div#footer #footer-icons
{
493 body
.ltr div#footer #footer-places
{
496 div#footer #footer-info li
{
499 div#footer #footer-icons li
{
504 div#footer #footer-places li
{
521 background-repeat: no-repeat
;
522 background-position: center center
;
523 text-decoration: none
;
528 * The following code is highly modified from monobook. It would be nice if the
529 * preftoc id was more human readable like preferences-toc for instance,
530 * howerver this would require backporting the other skins.
539 margin: 0 !important
;
540 padding: 0 !important
;
542 background-image: url
(images
/preferences-break
.png?
1);
543 background-position: bottom left
;
544 background-repeat: no-repeat
;
554 list-style-type: none
;
555 list-style-image: none
;
557 background-image: url
(images
/preferences-break
.png?
1);
558 background-position: bottom right
;
559 background-repeat: no-repeat
;
562 #preftoc li:first-child
{
567 display: inline-block
;
571 text-decoration: none
;
572 background-image: none
;
577 text-decoration: underline
;
579 #preftoc li
.selected a
{
581 background-image: url
(images
/preferences-fade
.png?
1);
582 background-position: bottom
;
583 background-repeat: repeat-x
;
585 text-decoration: none
;
593 border: solid
1px #cccccc;
594 background-color: #f9f9f9;
596 background-image: url
(images
/preferences-base
.png?
1);
598 #preferences fieldset
.prefsection
{
603 #preferences fieldset
.prefsection fieldset
{
605 border-top: solid
1px #cccccc;
607 #preferences legend
{
610 #preferences fieldset
.prefsection legend
.mainLegend
{
615 padding-right: 0.5em;
617 #preferences td
.htmlform-tip
{
622 #preferences div
.mw-prefs-buttons
{
625 #preferences div
.mw-prefs-buttons input
{
626 margin-right: 0.25em;
630 * Styles for the user login and create account forms
632 #userlogin, #userloginForm
{
633 border: solid
1px #cccccc;
647 * The following code is slightly modified from monobook
658 text-decoration: none
;
669 text-decoration: underline
;
674 a
.new
, #p-personal a
.new
{
677 a
.new:visited
, #p-personal a
.new:visited
{
681 /* Inline Elements */
684 vertical-align: middle
;
689 background-color: #aaa;
691 margin: .2em 0 .2em 0;
694 /* Structural Elements */
706 padding-bottom: .17em;
707 border-bottom: 1px solid
#aaa;
710 h1
{ font-size: 188%; }
711 h1
.editsection
{ font-size: 53%; }
712 h2
{ font-size: 150%; }
713 h2
.editsection
{ font-size: 67%; }
721 h3
{ font-size: 132%; }
722 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
723 h4
{ font-size: 116%; }
724 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
725 h5
{ font-size: 100%; }
726 h5
.editsection
{ font-weight: normal
; }
727 h6
{ font-size: 80%; }
728 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
729 .editsection { float: right
; }
731 margin: .4em 0 .5em 0;
740 border-bottom: 1px dotted black
;
746 font-family: Times
, "Times New Roman", serif
;
751 font-family: Times, "Times New Roman", serif;
756 * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
757 * too small otherwise, namely Firefox, Chrome and Safari
759 font-family: monospace
, "Courier New";
762 background-color: #f9f9f9;
766 border: 1px dashed
#2f6fab;
768 background-color: #f9f9f9;
773 list-style-type: square
;
774 margin: .3em 0 0 1.5em;
777 list-style-image: url
(images
/bullet-icon
.png?
1);
781 margin: .3em 0 0 3.2em;
783 list-style-image: none
;
805 /* we don't want the bottom borders of <h2>s to be visible through
807 background-color: white
;
810 /* but keep table layouts in forms clean... */
815 border: 1px solid
#2f6fab;
822 padding: 0 0.5em 0.5em;
839 /* Table of Contents */
843 border: 1px solid
#aaa;
844 background-color: #f9f9f9;
864 list-style-type: none
;
865 list-style-image: none
;
879 div
.floatright
, table
.floatright
{
883 margin: 0 0 .5em .5em;
886 div
.floatright p
{ font-style: italic
; }
887 div
.floatleft
, table
.floatleft
{
891 margin: 0 .5em .5em 0;
894 div
.floatleft p
{ font-style: italic
; }
901 background-color: transparent
;
904 border: 1px solid
#ccc;
905 padding: 3px !important
;
906 background-color: #f9f9f9;
912 border: 1px solid
#ccc;
918 padding: 3px !important
;
923 border: none
!important
;
924 background: none
!important
;
926 div
.magnify a
, div
.magnify img
{
928 border: none
!important
;
929 background: none
!important
;
935 border-width: .5em 0 .8em 1.4em;
942 border-width: .5em 1.4em .8em 0;
945 border: 1px solid
#dddddd;
958 background-color: #ffce7b;
959 border: 1px solid
#ffa500;
964 vertical-align: middle
;
966 /* Site Notice (includes notices from CentralNotice extension) */
973 margin-bottom: 0.9em;
977 border: 1px solid
#aaa;
978 background-color: #f9f9f9;
990 #contentSub, #contentSub2
{
993 margin: 0 0 1.4em 1em;
1000 /* Emulate Center */
1009 /* Small for tables and similar */
1016 /* Edge Cases for Content */
1018 margin-bottom: .6em;
1021 margin-bottom: .3em;
1027 margin-bottom: 0.1em;
1032 div#content a
.external
,
1033 div#content a
[href ^
="gopher://"] {
1035 background: url
(images
/external-link-ltr-icon
.png?
2) center right no-repeat
;
1036 padding: 0 13px 0 0;
1038 div#content a
[href ^
="https://"],
1041 background: url
(images
/lock-icon
.png?
2) center right no-repeat
;
1042 padding: 0 13px 0 0;
1044 div#content a
[href ^
="mailto:"],
1047 background: url
(images
/mail-icon
.png?
2) center right no-repeat
;
1048 padding: 0 13px 0 0;
1050 div#content a
[href ^
="news://"] {
1052 background: url
(images
/news-icon
.png?
2) center right no-repeat
;
1053 padding: 0 13px 0 0;
1055 div#content a
[href ^
="ftp://"],
1058 background: url
(images
/file-icon
.png?
2) center right no-repeat
;
1059 padding: 0 13px 0 0;
1061 div#content a
[href ^
="irc://"],
1062 div#content a
.extiw
[href ^
="irc://"],
1065 background: url
(images
/talk-icon
.png?
2) center right no-repeat
;
1066 padding: 0 13px 0 0;
1068 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
1069 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
1070 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
1071 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
1072 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
1073 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
1076 background: url
("images/audio-icon.png?2") center right no-repeat
;
1077 padding: 0 13px 0 0;
1079 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
1080 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
1081 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
1082 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
1085 background: url
("images/video-icon.png?2") center right no-repeat
;
1086 padding: 0 13px 0 0;
1088 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
1089 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
1090 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
1093 background: url
("images/document-icon.png?2") center right no-repeat
;
1094 padding: 0 13px 0 0;
1096 /* Interwiki Styling (Disabled) */
1097 div#content a
.extiw
,
1098 div#content a
.extiw:active
{
1103 div#content a
.external
{
1106 div#content
.printfooter
{
1109 /* Icon for Usernames */
1114 background: url
(images
/user-icon
.png?
1) left top no-repeat
;
1115 padding-left: 15px !important
;
1116 text-transform: none
;
1120 border: 1px solid
#aaa;
1121 background-color: #f9f9f9;
1136 /* Watch/Unwatch Icon Styling */
1148 /* This hides the text but shows the background image */
1153 #ca-unwatch.icon a
{
1155 background-image: url
(images
/watch-icons
.png?
1);
1156 background-position: -43px 60%;
1160 background-image: url
(images
/watch-icons
.png?
1);
1161 background-position: 5px 60%;
1163 #ca-unwatch.icon
a:hover
,
1164 #ca-unwatch.icon
a:focus
{
1166 background-image: url
(images
/watch-icons
.png?
1);
1167 background-position: -67px 60%;
1169 #ca-watch.icon
a:hover
,
1170 #ca-watch.icon
a:focus
{
1172 background-image: url
(images
/watch-icons
.png?
1);
1173 background-position: -19px 60%;
1175 #ca-unwatch.icon a
.loading
,
1176 #ca-watch.icon a
.loading
{
1178 background-image: url
(images
/watch-icon-loading
.gif?
1);
1179 background-position: center
60%;
1181 #ca-unwatch.icon a span
,
1182 #ca-watch.icon a span
{
1187 background-image:url
(images
/tab-break
.png?
1);
1188 background-position:right bottom
;
1189 background-repeat:no-repeat
;
1192 /* Convenience links to edit block, delete and protect reasons */
1193 p
.mw-ipb-conveniencelinks
, p
.mw-protect-editreasons
,
1194 p
.mw-filedelete-editreasons
, p
.mw-delete-editreasons
{