Make the permissions check in Special:Movepage reasonable: show a proper 'user blocke...
[mediawiki.git] / skins / monobook / rtl.css
blob91e2fb3702934bb4d68dc60a0425fc9b55fc9b6f
1 /*
2 Right-to-left fixes for MonoBook.
3 Places sidebar on right, tweaks various alignment issues.
5 Works mostly ok nicely on Safari 1.2.1; fine in Mozilla.
7 Safari bugs (1.2.1):
8 * Tabs are still appearing in left-to-right order. (Try after localizing)
10 Opera bugs (7.23 linux):
11 * Some bits of ltr text (sidebar box titles) have forward and backward versions overlapping each other
13 IE/mac bugs:
14 * The thing barfs on Hebrew and Arabic anyway, so no point testing.
16 Missing features due to lack of support:
17 * external link icons
19 To test:
20 * Opera6
21 * IE 5.0
22 * etc
25 body {
26 direction: rtl;
27 /* unicode-bidi: bidi-override;*/
28 unicode-bidi: embed;
30 #column-content {
31 margin: 0 -12.2em 0 0;
32 float: left;
34 #column-content #content{
35 margin-left: 0;
36 margin-right: 12.2em;
37 border-right: 1px solid #aaaaaa;
38 border-left: none;
40 html>body .portlet {
41 float: right;
42 clear: right;
44 /* recover IEMac (might be fine with the float, but usually it's close to IE */
45 *>body .portlet {
46 float: none;
47 clear: none;
49 .pBody {
50 padding-right: 0.8em;
51 padding-left: 0.5em;
54 /* Fix alignment */
55 .documentByLine,
56 .portletDetails,
57 .portletMore,
58 #p-personal {
59 text-align: left;
62 div div.thumbcaption {
63 text-align: right;
66 div.magnify,
67 #div.townBox,
68 #p-logo {
69 left: auto;
70 right: 0;
72 #p-personal {
73 left: auto;
74 right: 0;
77 #p-cactions {
78 left: auto;
79 right: 11.5em;
80 padding-left: 0;
81 padding-right: 1em;
83 #p-cactions li {
84 margin-left: 0.3em;
85 margin-right: 0;
86 float: right;
88 * html #p-cactions li a {
89 display: block;
90 padding-bottom: 0;
92 * html #p-cactions li a:hover {
93 padding-bottom: 0.2em;
95 /* offsets to distinguish the tab groups */
96 li#ca-talk {
97 margin-right: auto;
98 margin-left: 1.6em;
100 li#ca-watch,li#ca-unwatch {
101 margin-right: 1.6em !important;
104 /* Fix margins for non-css2 browsers */
105 /* top right bottom left */
107 ul {
108 margin-left: 0;
109 margin-right: 1.5em;
111 ol {
112 margin-left: 0;
113 margin-right: 2.4em;
115 dd {
116 margin-left: 0;
117 margin-right: 1.6em;
119 #contentSub {
120 margin-right: 1em;
121 margin-left: 0;
123 .tocindent {
124 margin-left: 0;
125 margin-right: 2em;
127 div.tright, div.floatright, table.floatright {
128 clear: none;
130 div.tleft, div.floatleft, table.floatleft {
131 clear: left;
133 div.townBox {
134 margin-left: 0;
135 margin-right: 1em;
137 div.townBox dl dd {
138 margin-left: 0;
139 margin-right: 1.1em;
141 #p-personal li {
142 margin-left: 0;
143 margin-right: 1em;
146 li#ca-talk,
147 li#ca-watch {
148 margin-right: auto;
149 margin-left: 1.6em;
152 #p-personal li {
153 float: left;
155 /* Fix link icons */
156 .external {
157 padding: 0 !important;
158 background: none !important;
160 #footer {
161 clear: both;
163 * html #footer {
164 margin-left: 0;
165 margin-right: 13.6em;
166 border-left: 0;
167 border-right: 1px solid #fabd23;
169 * html #column-content {
170 float: none;
171 margin-left: 0;
172 margin-right: 0;
174 * html #column-content #content {
175 margin-left: 0;
176 margin-top: 3em;
178 * html #column-one { right: 0; }
180 /* js pref toc */
182 #preftoc {
183 margin-right: 1em;
186 .errorbox, .successbox, #preftoc li, .prefsection fieldset {
187 float: right;
190 .prefsection {
191 padding-right: 2em;
194 /* workaround for moz bug, displayed bullets on left side */
196 #toc ul {
197 text-align: right;
200 #toc ul ul {
201 margin: 0 2em 0 0;
204 input#wpSave, input#wpDiff {
205 margin-right: 0;
206 margin-left: .33em;
209 #userlogin {
210 float: right;
211 margin: 0 0 1em 3em;