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