Add a link to edit the proction reason list
[lhc/web/wiklou.git] / skins / monobook / rtl.css
index 0db2263..fbd5ab3 100644 (file)
@@ -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;
@@ -52,11 +56,18 @@ html>body .portlet {
 }
 
 /* Fix alignment */
+.documentByLine,
 .portletDetails,
 .portletMore,
 #p-personal {
        text-align: left;
 }
+
+div div.thumbcaption {
+       text-align: right;
+}
+
+div.magnify,
 #p-logo {
        left: auto;
        right: 0;
@@ -65,20 +76,7 @@ html>body .portlet {
        left: auto;
        right: 0;
 }
-#p-navigation .pBody {
-       padding-right: auto;
-}
 
-/* the icon in front of the user name, single quotes
-in bg url to hide it from iemac */
-li#pt-userpage,
-li#pt-anonuserpage,
-li#pt-login {
-       background: url(user.gif) top right no-repeat;
-       padding-left: 0px;
-       padding-right: 20px;
-       text-transform: none;
-}
 #p-cactions {
        left: auto;
        right: 11.5em;
@@ -109,15 +107,15 @@ li#ca-watch,li#ca-unwatch {
 /* Fix margins for non-css2 browsers */
 /* top right bottom left */
 
-.portlet ul {
+ul {
        margin-left: 0;
        margin-right: 1.5em;
 }
-.portlet ol {
+ol {
        margin-left: 0;
        margin-right: 2.4em;
 }
-.portlet dd {
+dd {
        margin-left: 0;
        margin-right: 1.6em;
 }
@@ -125,6 +123,16 @@ li#ca-watch,li#ca-unwatch {
        margin-right: 1em;
        margin-left: 0;
 }
+.tocindent {
+       margin-left: 0;
+       margin-right: 2em;
+}
+div.tright, div.floatright, table.floatright {
+       clear: none;
+}
+div.tleft, div.floatleft, table.floatleft {
+       clear: left;
+}
 #p-personal li {
        margin-left: 0;
        margin-right: 1em;
@@ -139,6 +147,11 @@ li#ca-watch {
 #p-personal li {
        float: left;
 }
+/* Fix link icons */
+.external {
+       padding: 0 !important;
+       background: none !important;
+}
 #footer {
        clear: both;
 }
@@ -173,6 +186,16 @@ li#ca-watch {
        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;
@@ -182,3 +205,29 @@ input#wpSave, input#wpDiff {
        float: right;
        margin: 0 0 1em 3em;
 }
+/* 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;
+}