User:AlefZet/monobook.js

/* */

/* * Workaround for language variants */ var htmlE=document.documentElement; if (wgUserLanguage == "kk"){ variant = "kk"; } if (wgUserLanguage == "kk-kz"){ variant = "kk-Cyrl"; } if (wgUserLanguage == "kk-tr"){ variant = "kk-Latn"; } if (wgUserLanguage == "kk-cn"){ // workaround for RTL (6756) and for 02020 & 04295 document.write(''); document.write(''); document.write('html {direction:rtl;} body {direction:rtl; unicode-bidi:embed; font-size: 75%; letter-spacing: 0.001em;} h1.firstHeading {background-position: bottom right; background-repeat: no-repeat;} h3 {font-size:110%;} h4 {font-size:100%;} h5 {font-size:90%;} .editsection {float: left !important;} ');

if (skin == "monobook"){ document.write(''); document.write('html > body div#content ol {clear: left;} ol {margin-left:2.4em; margin-right:2.4em;} ul {margin-left:1.5em; margin-right:1.5em;} .editsection {margin-right: 5px;margin-left: 0;} #content {float:left !important; margin-left: 0;} #column-one {padding-top:0; margin-top:0;} #p-navigation {padding-top:0; margin-top:160px;} #catlinks {width:100%;} #userloginForm {float: right !important;} '); } /*   if (skin == "standard"){ document.write(' #article {float:left; margin: 0 -12.2em 0 0;} #topbar {float:right;} '); }   document.direction="rtl"; variant = "kk-Arab"; htmlE.setAttribute("dir","rtl"); }

/* */