From: Huji Date: Sat, 9 Feb 2008 08:24:16 +0000 (+0000) Subject: Moving the RTL fixes to monobook. Adding documentation. Minimizing the effect on... X-Git-Tag: 1.31.0-rc.0~49554 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/rappels.php?a=commitdiff_plain;h=03e3bf0c7a1841f757e47b70697851fe6b36b8d0;p=lhc%2Fweb%2Fwiklou.git Moving the RTL fixes to monobook. Adding documentation. Minimizing the effect on non-Gecko browsers. --- diff --git a/skins/common/shared.css b/skins/common/shared.css index 53e67c6408..de02a10f72 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -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 */ diff --git a/skins/monobook/rtl.css b/skins/monobook/rtl.css index e28ffb757e..2bd5261e21 100644 --- a/skins/monobook/rtl.css +++ b/skins/monobook/rtl.css @@ -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