From: Gabriel Wicke Date: Thu, 20 May 2004 00:50:32 +0000 (+0000) Subject: new rtl stylesheet common_rtl.css used by standard, nostalgia, cologneblue for rtl... X-Git-Tag: 1.3.0beta1~24 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=4b0318214c9ced6bcefe8eed716b6d0ccd8d3a45;p=lhc%2Fweb%2Fwiklou.git new rtl stylesheet common_rtl.css used by standard, nostalgia, cologneblue for rtl languages --- diff --git a/includes/Skin.php b/includes/Skin.php index ef59e5182f..8ccb6f2aa3 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -159,11 +159,12 @@ class Skin { function getUserStyles() { - global $wgOut, $wgStylePath; + global $wgOut, $wgStylePath, $wgLang; $sheet = $this->getStylesheet(); $s = "\n"; diff --git a/stylesheets/common_rtl.css b/stylesheets/common_rtl.css new file mode 100644 index 0000000000..f3e52aff03 --- /dev/null +++ b/stylesheets/common_rtl.css @@ -0,0 +1,10 @@ +/* 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; + margin-right: 18em; +}