Remove cruft from earlier testing
[mediawiki.git] / skins / monobook / rtl.css
blob73bc1451f75421a01a1c0c10c3bb77e1e274ea8f
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: embed;
29 #column-content {
30 margin: 0 -12.2em 0 0;
31 float: left;
33 #column-content #content{
34 margin-left: 0;
35 margin-right: 12.2em;
36 border-right: 1px solid #aaaaaa;
37 border-left: none;
39 html > body .portlet {
40 float: right;
41 clear: right;
43 .editsection {
44 float: left;
45 margin-right: 5px;
46 margin-left: 0; /* bug 9122: undo default LTR */
48 /* recover IEMac (might be fine with the float, but usually it's close to IE */
49 *>body .portlet {
50 float: none;
51 clear: none;
53 .pBody {
54 padding-right: 0.8em;
55 padding-left: 0.5em;
58 /* Fix alignment */
59 .documentByLine,
60 .portletDetails,
61 .portletMore,
62 #p-personal {
63 text-align: left;
66 div div.thumbcaption {
67 text-align: right;
70 div.magnify,
71 #div.townBox,
72 #p-logo {
73 left: auto;
74 right: 0;
76 #p-personal {
77 left: auto;
78 right: 0;
81 #p-cactions {
82 left: auto;
83 right: 11.5em;
84 padding-left: 0;
85 padding-right: 1em;
87 #p-cactions li {
88 margin-left: 0.3em;
89 margin-right: 0;
90 float: right;
92 * html #p-cactions li a {
93 display: block;
94 padding-bottom: 0;
96 * html #p-cactions li a:hover {
97 padding-bottom: 0.2em;
99 /* offsets to distinguish the tab groups */
100 li#ca-talk {
101 margin-right: auto;
102 margin-left: 1.6em;
104 li#ca-watch,li#ca-unwatch {
105 margin-right: 1.6em !important;
108 /* Fix margins for non-css2 browsers */
109 /* top right bottom left */
111 ul {
112 margin-left: 0;
113 margin-right: 1.5em;
115 ol {
116 margin-left: 0;
117 margin-right: 2.4em;
119 dd {
120 margin-left: 0;
121 margin-right: 1.6em;
123 #contentSub {
124 margin-right: 1em;
125 margin-left: 0;
127 .tocindent {
128 margin-left: 0;
129 margin-right: 2em;
131 div.tright, div.floatright, table.floatright {
132 clear: none;
134 div.tleft, div.floatleft, table.floatleft {
135 clear: left;
137 div.townBox {
138 margin-left: 0;
139 margin-right: 1em;
141 div.townBox dl dd {
142 margin-left: 0;
143 margin-right: 1.1em;
145 #p-personal li {
146 margin-left: 0;
147 margin-right: 1em;
150 li#ca-talk,
151 li#ca-watch {
152 margin-right: auto;
153 margin-left: 1.6em;
156 #p-personal li {
157 float: left;
159 /* Fix link icons */
160 .external {
161 padding: 0 !important;
162 background: none !important;
164 #footer {
165 clear: both;
167 * html #footer {
168 margin-left: 0;
169 margin-right: 13.6em;
170 border-left: 0;
171 border-right: 1px solid #fabd23;
173 * html #column-content {
174 float: none;
175 margin-left: 0;
176 margin-right: 0;
178 * html #column-content #content {
179 margin-left: 0;
180 margin-top: 3em;
182 * html #column-one { right: 0; }
184 /* js pref toc */
186 #preftoc {
187 margin-right: 1em;
190 .errorbox, .successbox, #preftoc li, .prefsection fieldset {
191 float: right;
194 .prefsection {
195 padding-right: 2em;
198 /* workaround for moz bug, displayed bullets on left side */
200 #toc ul {
201 text-align: right;
204 #toc ul ul {
205 margin: 0 2em 0 0;
208 input#wpSave, input#wpDiff {
209 margin-right: 0;
210 margin-left: .33em;
213 #userlogin {
214 float: right;
215 margin: 0 0 1em 3em;
217 /* Convenience links to edit block and delete reasons */
218 p.mw-ipb-conveniencelinks, p.mw-filedelete-editreasons, p.mw-delete-editreasons {
219 float: left;
222 .toggle {
223 margin-left: 0em;
224 margin-right: 2em;
226 table.filehistory th {
227 text-align: right;
231 * Lists:
232 * The following lines don't have a visible effect on non-Gecko browsers
233 * They fix a problem ith Gecko browsers rendering lists to the right of
234 * left-floated objects in an RTL layout.
236 html > body div#bodyContent ul {
237 display: table;
239 html > body div#bodyContent ol {
240 display: table;
242 html > body div#bodyContent ul#filetoc {
243 display: block;