function getUserStyles()
{
- global $wgOut, $wgStylePath;
+ global $wgOut, $wgStylePath, $wgLang;
$sheet = $this->getStylesheet();
$s = "<style type='text/css'>\n";
$s .= "/*/*/\n"; # <-- Hide the styles from Netscape 4 without hiding them from IE/Mac
$s .= "@import url(\"$wgStylePath/$sheet\");\n";
+ if($wgLang->isRTL()) $s .= "@import url(\"$wgStylePath/common_rtl.css\");\n";
$s .= $this->doGetUserStyles();
$s .= "/* */\n";
$s .= "</style>\n";
--- /dev/null
+/* 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;
+}