summaryrefslogtreecommitdiff
path: root/skins/modern/rtl.css
diff options
context:
space:
mode:
Diffstat (limited to 'skins/modern/rtl.css')
-rw-r--r--skins/modern/rtl.css142
1 files changed, 142 insertions, 0 deletions
diff --git a/skins/modern/rtl.css b/skins/modern/rtl.css
new file mode 100644
index 00000000..c92dbcfe
--- /dev/null
+++ b/skins/modern/rtl.css
@@ -0,0 +1,142 @@
+body {
+ direction: rtl;
+ unicode-bidi: embed;
+}
+
+.editsection {
+ float: left;
+ margin-right: 5px;
+ margin-left: 0; /* bug 9122: undo default LTR */
+}
+
+/* Fix alignment */
+.documentByLine,
+.portletDetails,
+.portletMore {
+ text-align: left;
+}
+
+div div.thumbcaption {
+ text-align: right;
+}
+
+div.magnify,
+#div.townBox {
+ left: auto;
+ right: 0;
+}
+
+/* Fix margins for non-css2 browsers */
+/* top right bottom left */
+
+dd {
+ margin-left: 0;
+ margin-right: 1.6em;
+}
+.tocindent {
+ margin-left: 0;
+ margin-right: 2em;
+}
+div.tright, div.floatright, table.floatright {
+ clear: none;
+}
+div.tleft, div.floatleft, table.floatleft {
+ clear: left;
+}
+div.townBox {
+ margin-left: 0;
+ margin-right: 1em;
+}
+div.townBox dl dd {
+ margin-left: 0;
+ margin-right: 1.1em;
+}
+
+/* Fix link icons */
+.external {
+ padding: 0 !important;
+ background: none !important;
+}
+
+/* js pref toc */
+
+#preftoc {
+ margin-right: 1em;
+}
+
+.errorbox, .successbox, #preftoc li, .prefsection fieldset {
+ float: right;
+}
+
+.prefsection {
+ padding-right: 2em;
+}
+
+/* workaround for moz bug, displayed bullets on left side */
+
+#toc ul {
+ text-align: right;
+}
+
+#toc ul ul {
+ margin: 0 2em 0 0;
+}
+
+input#wpSave, input#wpDiff {
+ margin-right: 0;
+ margin-left: .33em;
+}
+
+#userlogin {
+ float: right;
+ margin: 0 0 1em 3em;
+}
+/* Unblock and Ipblocklist links of Special:Blockip */
+p.mw-ipb-conveniencelinks {
+ float: left;
+}
+
+.toggle {
+ margin-left: 0em;
+ margin-right: 2em;
+}
+table.filehistory th {
+ text-align: right;
+}
+
+#mw_contentwrapper {
+ margin: 0 -15em 0 0;
+ float: left;
+}
+
+#mw_content {
+ margin: 0 14em 0 0;
+ border-left: none;
+ border-right: solid 1px #bbbbbb;
+}
+
+.portlet ul {
+ margin: 0 1.5em 0 0;
+ padding: 0 0 0 0;
+}
+
+.portlet h5 {
+ padding: 0.1em 1em 0.3em 0;
+}
+
+#p-cactions li {
+ float: right;
+}
+
+#p-personal li {
+ float: right;
+}
+
+#p-cactions {
+ margin: 0 14em 0 0;
+}
+
+#mw_portlets {
+ border-right: none;
+ border-left: solid 1px #bbbbbb;
+}