Fixes Bug#17866
[lhc/web/wiklou.git] / skins / monobook / rtl.css
index 0db2263..60d4b75 100644 (file)
@@ -24,23 +24,27 @@ To test:
 */
 body {
        direction: rtl;
-/*    unicode-bidi: bidi-override;*/
        unicode-bidi: embed;
 }
-#column-content {
+div#column-content {
        margin: 0 -12.2em 0 0;
        float: left;
 }
-#column-content #content{
+div#column-content div#content{
        margin-left: 0;
        margin-right: 12.2em;
        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,25 +147,39 @@ li#ca-watch {
 #p-personal li {
        float: left;
 }
-#footer {
+/* Fix link icons
+.external, a.feedlink {
+       padding: 0 !important;
+       background: none !important;
+}
+*/
+div#footer {
        clear: both;
 }
-* html #footer {
+#f-poweredbyico {
+       float: left;
+       height: 1%;
+}
+#f-copyrightico {
+       float: right;
+       height: 1%;
+}
+* html div#footer {
        margin-left: 0;
        margin-right: 13.6em;
        border-left: 0;
        border-right: 1px solid #fabd23;
-} 
-* html #column-content { 
+}
+* html div#column-content {
        float: none;
        margin-left: 0;
        margin-right: 0;
 }
-* html #column-content #content {
+* html div#column-content div#content {
        margin-left: 0;
        margin-top: 3em;
 }
-* html #column-one { right: 0; }
+* html div#column-one { right: 0; }
 
 /* js pref toc */
 
@@ -173,12 +195,57 @@ 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;
 }
 
 #userlogin {
-       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 {
+       text-align: left;
+}
+
+.toggle {
+       margin-left: 0em;
+       margin-right: 2em;
+}
+table.filehistory th {
+       text-align: right;
+}
+
+/* Special:AllPages styling */
+.mw-allpages-nav, td.mw-allpages-alphaindexline {
+       text-align: left;
+}
+
+/* Special:PrefixIndex styling */
+td#mw-prefixindex-nav-form {
+       text-align: left;
+}
+
+/**
+ * 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#article ul {
+       display: table;
+}
+html > body div#bodyContent ul#filetoc {
+       display: block;
+}