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