Cleanup r55984: rename new $wgDisableTooltipsAndAccesskeys to $wgEnableTooltipsAndAcc...
[mediawiki.git] / skins / modern / rtl.css
blobf6cd0ebe63512d8ee85b61ea9c93e377b49dd197
1 body {
2 direction: rtl;
3 unicode-bidi: embed;
6 .editsection {
7 float: left;
8 margin-right: 5px;
9 margin-left: 0; /* bug 9122: undo default LTR */
12 /* Fix alignment */
13 .documentByLine,
14 .portletDetails,
15 .portletMore {
16 text-align: left;
19 div div.thumbcaption {
20 text-align: right;
23 div.magnify {
24 left: auto;
25 right: 0;
28 /* Fix margins for non-css2 browsers */
29 /* top right bottom left */
31 dd {
32 margin-left: 0;
33 margin-right: 1.6em;
35 .tocindent {
36 margin-left: 0;
37 margin-right: 2em;
39 div.tright, div.floatright, table.floatright {
40 clear: none;
42 div.tleft, div.floatleft, table.floatleft {
43 clear: left;
46 /* Fix link icons */
47 .external, a.feedlink {
48 padding: 0 !important;
49 background: none !important;
52 /* js pref toc */
54 #preftoc {
55 margin-right: 1em;
58 .errorbox, .successbox, #preftoc li, .prefsection fieldset {
59 float: right;
62 .prefsection {
63 padding-right: 2em;
66 /* workaround for moz bug, displayed bullets on left side */
68 #toc ul {
69 text-align: right;
72 #toc ul ul {
73 margin: 0 2em 0 0;
76 input#wpSave, input#wpDiff {
77 margin-right: 0;
78 margin-left: .33em;
81 #userlogin {
82 margin: 0 0 1em 3em;
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;
90 .toggle {
91 margin-left: 0em;
92 margin-right: 2em;
94 table.filehistory th {
95 text-align: right;
98 #mw_contentwrapper {
99 margin: 0 -15em 0 0;
100 float: left;
103 #mw_content {
104 margin: 0 14em 0 0;
105 border-left: none;
106 border-right: solid 1px #bbbbbb;
109 .portlet ul {
110 margin: 0 1.5em 0 0;
111 padding: 0 0 0 0;
114 .portlet h5 {
115 padding: 0.1em 1em 0.3em 0;
118 #p-cactions li {
119 float: right;
122 #p-personal li {
123 float: right;
126 #p-cactions {
127 margin: 0 14em 0 0;
130 #mw_portlets {
131 border-right: none;
132 border-left: solid 1px #bbbbbb;
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.
141 html > body div#mw_contentholder ul {
142 display: table;
144 html > body div#mw_contentholder ul li {
145 margin-right:10px;
147 html > body div.pBody ul li {
148 margin-right:4px;
150 html > body div#mw_contentholder ul#filetoc {
151 display: block;
154 /* Special:Allpages styling */
155 td.mw-allpages-nav, p.mw-allpages-nav, td.mw-allpages-alphaindexline {
156 text-align: left;
158 /* Special:Prefixindex styling */
159 td#mw-prefixindex-nav-form {
160 text-align: left;