1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
|
/*
Right-to-left fixes for MonoBook.
Places sidebar on right, tweaks various alignment issues.
Works mostly ok nicely on Safari 1.2.1; fine in Mozilla.
Safari bugs (1.2.1):
* Tabs are still appearing in left-to-right order. (Try after localizing)
Opera bugs (7.23 linux):
* Some bits of ltr text (sidebar box titles) have forward and backward versions overlapping each other
IE/mac bugs:
* The thing barfs on Hebrew and Arabic anyway, so no point testing.
Missing features due to lack of support:
* external link icons
To test:
* Opera6
* IE 5.0
* etc
*/
body {
direction: rtl;
unicode-bidi: embed;
}
#column-content {
margin: 0 -12.2em 0 0;
float: left;
}
#column-content #content{
margin-left: 0;
margin-right: 12.2em;
border-right: 1px solid #aaaaaa;
border-left: none;
}
html > body .portlet {
float: right;
clear: right;
}
.editsection {
float: left;
margin-right: 5px;
margin-left: 0; /* bug 9122: undo default LTR */
}
/* recover IEMac (might be fine with the float, but usually it's close to IE */
*>body .portlet {
float: none;
clear: none;
}
.pBody {
padding-right: 0.8em;
padding-left: 0.5em;
}
/* Fix alignment */
.documentByLine,
.portletDetails,
.portletMore,
#p-personal {
text-align: left;
}
div div.thumbcaption {
text-align: right;
}
div.magnify,
#p-logo {
left: auto;
right: 0;
}
#p-personal {
left: auto;
right: 0;
}
#p-cactions {
left: auto;
right: 11.5em;
padding-left: 0;
padding-right: 1em;
}
#p-cactions li {
margin-left: 0.3em;
margin-right: 0;
float: right;
}
* html #p-cactions li a {
display: block;
padding-bottom: 0;
}
* html #p-cactions li a:hover {
padding-bottom: 0.2em;
}
/* offsets to distinguish the tab groups */
li#ca-talk {
margin-right: auto;
margin-left: 1.6em;
}
li#ca-watch,li#ca-unwatch {
margin-right: 1.6em !important;
}
/* Fix margins for non-css2 browsers */
/* top right bottom left */
ul {
margin-left: 0;
margin-right: 1.5em;
}
ol {
margin-left: 0;
margin-right: 2.4em;
}
dd {
margin-left: 0;
margin-right: 1.6em;
}
#contentSub {
margin-right: 1em;
margin-left: 0;
}
.tocindent {
margin-left: 0;
margin-right: 2em;
}
div.tright, div.floatright, table.floatright {
clear: none;
}
div.tleft, div.floatleft, table.floatleft {
clear: left;
}
#p-personal li {
margin-left: 0;
margin-right: 1em;
}
li#ca-talk,
li#ca-watch {
margin-right: auto;
margin-left: 1.6em;
}
#p-personal li {
float: left;
}
/* Fix link icons
.external, a.feedlink {
padding: 0 !important;
background: none !important;
}
*/
#footer {
clear: both;
}
#f-poweredbyico {
float: left;
height: 1%;
}
#f-copyrightico {
float: right;
height: 1%;
}
* html #footer {
margin-left: 0;
margin-right: 13.6em;
border-left: 0;
border-right: 1px solid #fabd23;
}
* html #column-content {
float: none;
margin-left: 0;
margin-right: 0;
}
* html #column-content #content {
margin-left: 0;
margin-top: 3em;
}
* html #column-one { right: 0; }
/* js pref toc */
#preftoc {
margin-right: 1em;
}
.errorbox, .successbox, #preftoc li, .prefsection fieldset {
float: right;
}
.prefsection {
padding-right: 2em;
}
/* workaround for moz bug, displayed bullets on left side */
#toc ul {
text-align: right;
}
#toc ul ul {
margin: 0 2em 0 0;
}
input#wpSave, input#wpDiff {
margin-right: 0;
margin-left: .33em;
}
#userlogin {
float: right;
margin: 0 0 1em 3em;
}
/* Convenience links to edit block, delete and protect reasons */
p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
p.mw-filedelete-editreasons, p.mw-delete-editreasons {
float: left;
}
.toggle {
margin-left: 0em;
margin-right: 2em;
}
table.filehistory th {
text-align: right;
}
/**
* Lists:
* The following lines don't have a visible effect on non-Gecko browsers
* They fix a problem ith Gecko browsers rendering lists to the right of
* left-floated objects in an RTL layout.
*/
html > body div#bodyContent ul {
display: table;
}
html > body div#bodyContent ul#filetoc {
display: block;
}
/* Special:Prefixindex styling */
td#mw-prefixindex-nav-form {
text-align: left;
}
|