Moving the RTL fixes to monobook. Adding documentation. Minimizing the effect on...
authorHuji <huji@users.mediawiki.org>
Sat, 9 Feb 2008 08:24:16 +0000 (08:24 +0000)
committerHuji <huji@users.mediawiki.org>
Sat, 9 Feb 2008 08:24:16 +0000 (08:24 +0000)
skins/common/shared.css
skins/monobook/rtl.css

index 53e67c6..de02a10 100644 (file)
@@ -69,12 +69,6 @@ body.rtl td.mw-submit { text-align: right; }
 td.mw-label { vertical-align: top; }
 td.mw-submit { white-space: nowrap; }
 
-/**
- * Lists (fixing for RTL display)
- */
-body.rtl #body-content ul { display:table; }
-body.rtl #body-content ol { display:table; }
-
 /**
  * Image captions
  */
index e28ffb7..2bd5261 100644 (file)
@@ -227,3 +227,12 @@ p.mw-ipb-conveniencelinks {
 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.rtl #bodyContent ul { display:table; }
+html>body.rtl #bodyContent ol { display:table; }
\ No newline at end of file