]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blob - skins/modern/rtl.css
MediaWiki 1.15.3
[autoinstallsdev/mediawiki.git] / skins / modern / rtl.css
1 body {
2         direction: rtl;
3         unicode-bidi: embed;
4 }
5
6 .editsection {
7         float: left;
8         margin-right: 5px;
9         margin-left: 0; /* bug 9122: undo default LTR */
10 }
11
12 /* Fix alignment */
13 .documentByLine,
14 .portletDetails,
15 .portletMore {
16         text-align: left;
17 }
18
19 div div.thumbcaption {
20         text-align: right;
21 }
22
23 div.magnify {
24         left: auto;
25         right: 0;
26 }
27
28 /* Fix margins for non-css2 browsers */
29 /* top right bottom left */
30
31 dd {
32         margin-left: 0;
33         margin-right: 1.6em;
34 }
35 .tocindent {
36         margin-left: 0;
37         margin-right: 2em;
38 }
39 div.tright, div.floatright, table.floatright {
40         clear: none;
41 }
42 div.tleft, div.floatleft, table.floatleft {
43         clear: left;
44 }
45
46 /* Fix link icons */
47 .external, a.feedlink {
48         padding: 0 !important;
49         background: none !important;
50 }
51
52 /* js pref toc */
53
54 #preftoc {
55         margin-right: 1em;
56 }
57
58 .errorbox, .successbox, #preftoc li, .prefsection fieldset {
59         float: right;
60 }
61
62 .prefsection {
63         padding-right: 2em;
64 }
65
66 /* workaround for moz bug, displayed bullets on left side */
67
68 #toc ul {
69         text-align: right;
70 }
71
72 #toc ul ul {
73         margin: 0 2em 0 0;
74 }
75
76 input#wpSave, input#wpDiff {
77         margin-right: 0;
78         margin-left: .33em;
79 }
80
81 #userlogin {
82         float: right;
83         margin: 0 0 1em 3em;
84 }
85 /* Convenience links to edit block, delete and protect reasons */
86 p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
87 p.mw-filedelete-editreasons, p.mw-delete-editreasons {
88         float: left;
89 }
90
91 .toggle {
92         margin-left: 0em;
93         margin-right: 2em;
94 }
95 table.filehistory th {
96         text-align: right;
97 }
98
99 #mw_contentwrapper {
100         margin: 0 -15em 0 0;
101         float: left;
102 }
103
104 #mw_content {
105         margin: 0 14em 0 0;
106         border-left: none;
107         border-right: solid 1px #bbbbbb;
108 }
109
110 .portlet ul {
111         margin: 0 1.5em 0 0;
112         padding: 0 0 0 0;
113 }
114
115 .portlet h5 {
116         padding: 0.1em 1em 0.3em 0;
117 }
118
119 #p-cactions li {
120         float: right;
121 }
122
123 #p-personal li {
124         float: right;
125 }
126
127 #p-cactions {
128         margin: 0 14em 0 0;
129 }
130
131 #mw_portlets {
132         border-right: none;
133         border-left: solid 1px #bbbbbb;
134 }
135
136 /**
137  * Lists:
138  * The following lines don't have a visible effect on non-Gecko browsers
139  * They fix a problem ith Gecko browsers rendering lists to the right of
140  * left-floated objects in an RTL layout.
141  */
142 html > body div#mw_contentholder ul {
143         display: table;
144 }
145 html > body div#mw_contentholder ul li {
146         margin-right:10px;
147 }
148 html > body div.pBody ul li {
149         margin-right:4px;
150 }
151 html > body div#mw_contentholder ul#filetoc {
152         display: block;
153 }
154
155 /* Special:Prefixindex styling */
156 td#mw-prefixindex-nav-form  {
157         text-align: left;
158 }
159