Add a link to edit the proction reason list
[lhc/web/wiklou.git] / skins / monobook / rtl.css
index 13930dc..fbd5ab3 100644 (file)
@@ -14,7 +14,7 @@ IE/mac bugs:
 * The thing barfs on Hebrew and Arabic anyway, so no point testing.
 
 Missing features due to lack of support:
-* external link icons, icon next to user name
+* external link icons
 
 To test:
 * Opera6
@@ -24,7 +24,6 @@ To test:
 */
 body {
        direction: rtl;
-/*    unicode-bidi: bidi-override;*/
        unicode-bidi: embed;
 }
 #column-content {
@@ -37,10 +36,15 @@ body {
        border-right: 1px solid #aaaaaa;
        border-left: none;
 }
-html>body .portlet {
+html > body .portlet {
        float: right;
        clear: right;
 }
+.editsection {
+       float: left;
+       margin-right: 5px;
+       margin-left: 0; /* bug 9122: undo default LTR */
+}
 /* recover IEMac (might be fine with the float, but usually it's close to IE */
 *>body .portlet {
        float: none;
@@ -64,7 +68,6 @@ div div.thumbcaption {
 }
 
 div.magnify,
-#div.townBox,
 #p-logo {
        left: auto;
        right: 0;
@@ -101,7 +104,7 @@ li#ca-watch,li#ca-unwatch {
        margin-right: 1.6em !important;
 }
 
-/* Fix margins */
+/* Fix margins for non-css2 browsers */
 /* top right bottom left */
 
 ul {
@@ -124,26 +127,12 @@ dd {
        margin-left: 0;
        margin-right: 2em;
 }
-div.tright {
+div.tright, div.floatright, table.floatright {
        clear: none;
 }
-div.tleft {
+div.tleft, div.floatleft, table.floatleft {
        clear: left;
 }
-div.floatright, table.floatright {
-       clear: none;
-}
-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;
-}
 #p-personal li {
        margin-left: 0;
        margin-right: 1em;
@@ -159,12 +148,6 @@ li#ca-watch {
        float: left;
 }
 /* Fix link icons */
-li#pt-userpage,
-li#pt-anonuserpage,
-li#pt-login {
-       background: none;
-       padding-left: 0;
-}
 .external {
        padding: 0 !important;
        background: none !important;
@@ -221,4 +204,30 @@ input#wpSave, input#wpDiff {
 #userlogin {
        float: right;
        margin: 0 0 1em 3em;
-}
\ No newline at end of file
+}
+/* Convenience links to edit block, delete and protect reasons */
+p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
+p.mw-filedelete-editreasons, p.mw-delete-editreasons {
+       float: left;
+}
+
+.toggle {
+       margin-left: 0em;
+       margin-right: 2em;
+}
+table.filehistory th {
+       text-align: right;
+}
+
+/**
+ * Lists:
+ * The following lines don't have a visible effect on non-Gecko browsers
+ * They fix a problem ith Gecko browsers rendering lists to the right of
+ * left-floated objects in an RTL layout.
+ */
+html > body div#bodyContent ul {
+       display: table;
+}
+html > body div#bodyContent ul#filetoc {
+       display: block;
+}