1/* 2Right-to-left fixes for MonoBook. 3Places sidebar on right, tweaks various alignment issues. 4 5Works mostly ok nicely on Safari 1.2.1; fine in Mozilla. 6 7Safari bugs (1.2.1): 8* Tabs are still appearing in left-to-right order. (Try after localizing) 9 10Opera bugs (7.23 linux): 11* Some bits of ltr text (sidebar box titles) have forward and backward versions overlapping each other 12 13IE/mac bugs: 14* The thing barfs on Hebrew and Arabic anyway, so no point testing. 15 16Missing features due to lack of support: 17* external link icons 18 19To test: 20* Opera6 21* IE 5.0 22* etc 23 24*/ 25body { 26 direction: rtl; 27/* unicode-bidi: bidi-override;*/ 28 unicode-bidi: embed; 29} 30#column-content { 31 margin: 0 -12.2em 0 0; 32 float: left; 33} 34#column-content #content{ 35 margin-left: 0; 36 margin-right: 12.2em; 37 border-right: 1px solid #aaaaaa; 38 border-left: none; 39} 40html>body .portlet { 41 float: right; 42 clear: right; 43} 44/* recover IEMac (might be fine with the float, but usually it's close to IE */ 45*>body .portlet { 46 float: none; 47 clear: none; 48} 49.pBody { 50 padding-right: 0.8em; 51 padding-left: 0.5em; 52} 53 54/* Fix alignment */ 55.documentByLine, 56.portletDetails, 57.portletMore, 58#p-personal { 59 text-align: left; 60} 61 62div div.thumbcaption { 63 text-align: right; 64} 65 66div.magnify, 67#div.townBox, 68#p-logo { 69 left: auto; 70 right: 0; 71} 72#p-personal { 73 left: auto; 74 right: 0; 75} 76 77#p-cactions { 78 left: auto; 79 right: 11.5em; 80 padding-left: 0; 81 padding-right: 1em; 82} 83#p-cactions li { 84 margin-left: 0.3em; 85 margin-right: 0; 86 float: right; 87} 88* html #p-cactions li a { 89 display: block; 90 padding-bottom: 0; 91} 92* html #p-cactions li a:hover { 93 padding-bottom: 0.2em; 94} 95/* offsets to distinguish the tab groups */ 96li#ca-talk { 97 margin-right: auto; 98 margin-left: 1.6em; 99} 100li#ca-watch,li#ca-unwatch { 101 margin-right: 1.6em !important; 102} 103 104/* Fix margins for non-css2 browsers */ 105/* top right bottom left */ 106 107ul { 108 margin-left: 0; 109 margin-right: 1.5em; 110} 111ol { 112 margin-left: 0; 113 margin-right: 2.4em; 114} 115dd { 116 margin-left: 0; 117 margin-right: 1.6em; 118} 119#contentSub { 120 margin-right: 1em; 121 margin-left: 0; 122} 123.tocindent { 124 margin-left: 0; 125 margin-right: 2em; 126} 127div.tright, div.floatright, table.floatright { 128 clear: none; 129} 130div.tleft, div.floatleft, table.floatleft { 131 clear: left; 132} 133div.townBox { 134 margin-left: 0; 135 margin-right: 1em; 136} 137div.townBox dl dd { 138 margin-left: 0; 139 margin-right: 1.1em; 140} 141#p-personal li { 142 margin-left: 0; 143 margin-right: 1em; 144} 145 146li#ca-talk, 147li#ca-watch { 148 margin-right: auto; 149 margin-left: 1.6em; 150} 151 152#p-personal li { 153 float: left; 154} 155/* Fix link icons */ 156.external { 157 padding: 0 !important; 158 background: none !important; 159} 160#footer { 161 clear: both; 162} 163* html #footer { 164 margin-left: 0; 165 margin-right: 13.6em; 166 border-left: 0; 167 border-right: 1px solid #fabd23; 168} 169* html #column-content { 170 float: none; 171 margin-left: 0; 172 margin-right: 0; 173} 174* html #column-content #content { 175 margin-left: 0; 176 margin-top: 3em; 177} 178* html #column-one { right: 0; } 179 180/* js pref toc */ 181 182#preftoc { 183 margin-right: 1em; 184} 185 186.errorbox, .successbox, #preftoc li, .prefsection fieldset { 187 float: right; 188} 189 190.prefsection { 191 padding-right: 2em; 192} 193 194/* workaround for moz bug, displayed bullets on left side */ 195 196#toc ul { 197 text-align: right; 198} 199 200#toc ul ul { 201 margin: 0 2em 0 0; 202} 203 204input#wpSave, input#wpDiff { 205 margin-right: 0; 206 margin-left: .33em; 207} 208 209#userlogin { 210 float: right; 211 margin: 0 0 1em 3em; 212} 213