Don't use vague boolean
[lhc/web/wiklou.git] / skins / monobook / rtl.css
index c7b3ae5..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
@@ -23,32 +23,36 @@ To test:
 
 */
 body {
-    direction: rtl;
-/*    unicode-bidi: bidi-override;*/
-    unicode-bidi: embed;
+       direction: rtl;
+       unicode-bidi: embed;
 }
 #column-content {
        margin: 0 -12.2em 0 0;
-        float: left;
+       float: left;
 }
 #column-content #content{
        margin-left: 0;
        margin-right: 12.2em;
-    border-right: 1px solid #aaaaaa;
-    border-left: none;
+       border-right: 1px solid #aaaaaa;
+       border-left: none;
 }
-html>body .portlet {
-    float: right;
-    clear: right;
+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;
-    clear: none;
+       float: none;
+       clear: none;
 }
 .pBody {
-    padding-right: 0.8em;
-    padding-left: 0.5em;
+       padding-right: 0.8em;
+       padding-left: 0.5em;
 }
 
 /* Fix alignment */
@@ -64,7 +68,6 @@ div div.thumbcaption {
 }
 
 div.magnify,
-#div.townBox,
 #p-logo {
        left: auto;
        right: 0;
@@ -77,31 +80,31 @@ div.magnify,
 #p-cactions {
        left: auto;
        right: 11.5em;
-        padding-left: 0;
-        padding-right: 1em;
+       padding-left: 0;
+       padding-right: 1em;
 }
 #p-cactions li {
-    margin-left: 0.3em;
-    margin-right: 0;
-    float: right;
+       margin-left: 0.3em;
+       margin-right: 0;
+       float: right;
 }
 * html #p-cactions li a {
-    display: block;
-    padding-bottom: 0;
+       display: block;
+       padding-bottom: 0;
 }
 * html #p-cactions li a:hover {
-    padding-bottom: 0.2em;
+       padding-bottom: 0.2em;
 }
 /* offsets to distinguish the tab groups */
 li#ca-talk {
-    margin-right: auto;
-    margin-left: 1.6em;
+       margin-right: auto;
+       margin-left: 1.6em;
 }
 li#ca-watch,li#ca-unwatch {
-    margin-right: 1.6em !important;
+       margin-right: 1.6em !important;
 }
 
-/* Fix margins */
+/* Fix margins for non-css2 browsers */
 /* top right bottom left */
 
 ul {
@@ -124,25 +127,11 @@ dd {
        margin-left: 0;
        margin-right: 2em;
 }
-div.tright {
-    clear: none;
-}
-div.tleft {
-    clear: left;
+div.tright, div.floatright, table.floatright {
+       clear: none;
 }
-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;
+div.tleft, div.floatleft, table.floatleft {
+       clear: left;
 }
 #p-personal li {
        margin-left: 0;
@@ -156,58 +145,89 @@ li#ca-watch {
 }
 
 #p-personal li {
-    float: left;
+       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;
+       padding: 0 !important;
+       background: none !important;
 }
 #footer {
-    clear: both;
+       clear: both;
 }
 * html #footer {
-    margin-left: 0;
-    margin-right: 13.6em;
-    border-left: 0;
-    border-right: 1px solid #fabd23;
+       margin-left: 0;
+       margin-right: 13.6em;
+       border-left: 0;
+       border-right: 1px solid #fabd23;
 } 
 * html #column-content { 
-    float: none;
-    margin-left: 0;
-    margin-right: 0;
+       float: none;
+       margin-left: 0;
+       margin-right: 0;
 }
 * html #column-content #content {
-    margin-left: 0;
-    margin-top: 3em;
+       margin-left: 0;
+       margin-top: 3em;
 }
 * html #column-one { right: 0; }
 
 /* js pref toc */
-#preftoc { float: right; }
-/* workaround for moz bug, displayed bullets on left side */
-#preftoc li { list-style: none; }
-#prefcontrol { float: right; }
-fieldset.prefsection,
-fieldset.operaprefsection { 
-    margin-left: 0 !important;
-    margin-right: 15em;
+
+#preftoc {
+       margin-right: 1em;
 }
 
-#toc {
-    float: right;
+.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;
+       text-align: right;
 }
 
 #toc ul ul {
-    margin: 0 2em 0 0;
-}
\ No newline at end of file
+       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 {
+       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;
+}