From 4b0318214c9ced6bcefe8eed716b6d0ccd8d3a45 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Thu, 20 May 2004 00:50:32 +0000 Subject: [PATCH] new rtl stylesheet common_rtl.css used by standard, nostalgia, cologneblue for rtl languages --- includes/Skin.php | 3 ++- stylesheets/common_rtl.css | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 stylesheets/common_rtl.css 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; +} -- 2.20.1