MediaWiki:Rtl.css

/* body { direction: rtl; /*   unicode-bidi: bidi-override;*/ unicode-bidi: embed; }       margin: 0 -12.2em 0 0; float: left; direction:ltr; } /* Special page is 100% translated, so set the direction in ns--1 to rtl */ .ns--1 #column-content, .ns-6 #column-content{ direction:rtl; }
 * Source: Wikimedia Commons (see commons:MediaWiki:Monobook.css/he)
 * "Light version" of rtl.css - Right-to-left fixes for MonoBook.
 * This version shouldn't change the content direction, only the side bar, tabs and other things around...
 * 1) column-content {

html>body .portlet { display:table; }

margin-left: 0; margin-right: 12.2em; border-right: 1px solid #aaaaaa; border-left: none; }
 * 1) column-content #content{

/* recover IEMac (might be fine with the float, but usually it's close to IE */       float: none;        clear: none; } .pBody {        padding-right: 0.8em;        padding-left: 0.5em; }
 * >body .portlet {

/* Fix alignment */ .documentByLine, .portletDetails, .portletMore, text-align: left; }
 * 1) p-personal {

left: auto; right: 0; }       left: auto; right: 0; }
 * 1) div.townBox,
 * 2) p-logo {
 * 1) p-personal {

left: auto; right: 11.5em; padding-left: 0; padding-right: 1em; }       margin-left: 0.3em; margin-right: 0; float: right; }       display: block; padding-bottom: 0; }       padding-bottom: 0.2em; } /* offsets to distinguish the tab groups */ li#ca-talk { margin-right: auto; margin-left: 1.6em; } li#ca-watch,li#ca-unwatch { margin-right: 1.6em !important; }
 * 1) p-cactions {
 * 1) p-cactions li {
 * html #p-cactions li a {
 * html #p-cactions li a:hover {

/* Fix margins for non-css2 browsers */ /* top right bottom left */ .pBody ul { margin-left: 0; margin-right: 1.5em; } .pBody ol { margin-left: 0; margin-right: 2.4em; } .pBody dd { margin-left: 0; margin-right: 1.6em; }

margin-right: 1em; margin-left: 0; }
 * 1) contentSub {

div.townBox { margin-left: 0; margin-right: 1em; } div.townBox dl dd { margin-left: 0; margin-right: 1.1em; }       margin-left: 0; margin-right: 1em; float: left; }
 * 1) p-personal li {

li#ca-talk, li#ca-watch { margin-right: auto; margin-left: 1.6em; }

/* Fix link icons */ clear: both; }       margin-left: 0; margin-right: 13.6em; border-left: 0; border-right: 1px solid #fabd23; }        float: none; margin-left: 0; margin-right: 0; }       margin-left: 0; margin-top: 3em; }
 * 1) footer {
 * html #footer {
 * html #column-content {
 * html #column-content #content {
 * html #column-one { right: 0; }

.errorbox, .successbox, .prefsection fieldset { float: right; }

.prefsection { padding-right: 2em; }

float: right; margin: 0 0 1em 3em; }
 * 1) userlogin {

direction:ltr; }
 * 1) wpTextbox1, #wikiPreview{

/* margin for ul/ol/dd - it affects the content, but it's necessary to make lists look fine when dir=rtl */ ul { margin-right: 1.5em; } ol { margin-right: 2.4em; } dd { margin-right: 1.6em; }

/* Fix link icons */ .external { padding: 0 !important; background: none !important; } position:relative; right:10px; }
 * 1) n-mainpage, #n-portal, #n-sidebar-sandbox, #n-sidebar-sitesupport {

/* */