* Correct direction for special pages
[lhc/web/wiklou.git] / skins / monobook / content_rtl.css
1 /*
2 Right-to-left fixes for MonoBook.
3 Places sidebar on right, tweaks various alignment issues.
4
5 Works mostly ok nicely on Safari 1.2.1; fine in Mozilla.
6
7 Safari bugs (1.2.1):
8 * Tabs are still appearing in left-to-right order. (Try after localizing)
9
10 Opera bugs (7.23 linux):
11 * Some bits of ltr text (sidebar box titles) have forward and backward versions overlapping each other
12
13 IE/mac bugs:
14 * The thing barfs on Hebrew and Arabic anyway, so no point testing.
15
16 Missing features due to lack of support:
17 * external link icons
18
19 To test:
20 * Opera6
21 * IE 5.0
22 * etc
23
24 */
25 #realContent {
26 direction: rtl;
27 }
28
29 /* Fix alignment */
30 .documentByLine {
31 text-align: left;
32 }
33
34 div div.thumbcaption {
35 text-align: right;
36 }
37
38 div.magnify,
39 #div.townBox {
40 left: auto;
41 right: 0;
42 }
43
44 /* Fix margins for non-css2 browsers */
45 /* top right bottom left */
46
47 #realContent ul {
48 margin-left: 0;
49 margin-right: 1.5em;
50 }
51 #realContent ol {
52 margin-left: 0;
53 margin-right: 2.4em;
54 }
55 #realContent dd {
56 margin-left: 0;
57 margin-right: 1.6em;
58 }
59 .tocindent {
60 margin-left: 0;
61 margin-right: 2em;
62 }
63 div.tright, div.floatright, table.floatright {
64 clear: none;
65 }
66 div.tleft, div.floatleft, table.floatleft {
67 clear: left;
68 }
69 div.townBox {
70 margin-left: 0;
71 margin-right: 1em;
72 }
73 div.townBox dl dd {
74 margin-left: 0;
75 margin-right: 1.1em;
76 }
77 /* Fix link icons */
78 .external {
79 padding: 0 !important;
80 background: none !important;
81 }
82
83
84
85 /* workaround for moz bug, displayed bullets on left side */
86
87 #toc ul {
88 text-align: right;
89 }
90
91 #toc ul ul {
92 margin: 0 2em 0 0;
93 }