Index: trunk/phase3/skins/monobook/main.css |
— | — | @@ -127,19 +127,29 @@ |
128 | 128 | h5 { font-size: 100%; } |
129 | 129 | h6 { font-size: 80%; } |
130 | 130 | |
131 | | -ul { |
| 131 | +ul, |
| 132 | +*[dir=ltr] ul { |
132 | 133 | line-height: 1.5em; |
133 | 134 | list-style-type: square; |
134 | 135 | margin: .3em 0 0 1.5em; |
135 | 136 | padding: 0; |
136 | 137 | list-style-image: url(bullet.gif); |
137 | 138 | } |
138 | | -ol { |
| 139 | +*[dir=rtl] ul { |
| 140 | + margin-left: 0; |
| 141 | + margin-right: 1.5em; |
| 142 | +} |
| 143 | +ol, |
| 144 | +*[dir=ltr] ol { |
139 | 145 | line-height: 1.5em; |
140 | 146 | margin: .3em 0 0 3.2em; |
141 | 147 | padding: 0; |
142 | 148 | list-style-image: none; |
143 | 149 | } |
| 150 | +*[dir=rtl] ol { |
| 151 | + margin-left: 0; |
| 152 | + margin-right: 2.4em; |
| 153 | +} |
144 | 154 | li { |
145 | 155 | margin-bottom: .1em; |
146 | 156 | } |
— | — | @@ -151,11 +161,17 @@ |
152 | 162 | margin-top: .2em; |
153 | 163 | margin-bottom: .5em; |
154 | 164 | } |
155 | | -dd { |
| 165 | +dd, |
| 166 | +*[dir=ltr] dd { |
156 | 167 | line-height: 1.5em; |
157 | 168 | margin-left: 2em; |
| 169 | + margin-right: 0; |
158 | 170 | margin-bottom: .1em; |
159 | 171 | } |
| 172 | +*[dir=rtl] dd { |
| 173 | + margin-left: 0; |
| 174 | + margin-right: 1.6em; |
| 175 | +} |
160 | 176 | |
161 | 177 | fieldset { |
162 | 178 | border: 1px solid #2f6fab; |
— | — | @@ -386,7 +402,10 @@ |
387 | 403 | } |
388 | 404 | |
389 | 405 | /* images */ |
390 | | -div.floatright, table.floatright { |
| 406 | +div.floatright, |
| 407 | +*[dir=ltr] div.floatright, |
| 408 | +table.floatright, |
| 409 | +*[dir=ltr] table.floatright { |
391 | 410 | clear: right; |
392 | 411 | float: right; |
393 | 412 | position: relative; |
— | — | @@ -398,7 +417,10 @@ |
399 | 418 | */ |
400 | 419 | } |
401 | 420 | div.floatright p { font-style: italic; } |
402 | | -div.floatleft, table.floatleft { |
| 421 | +div.floatleft, |
| 422 | +*[dir=ltr] div.floatleft, |
| 423 | +table.floatleft, |
| 424 | +*[dir=ltr] table.floatleft { |
403 | 425 | float: left; |
404 | 426 | position: relative; |
405 | 427 | margin: 0 .5em .5em 0; |
— | — | @@ -444,17 +466,28 @@ |
445 | 467 | border: none !important; |
446 | 468 | background: none !important; |
447 | 469 | } |
448 | | -div.tright { |
| 470 | +div.tright, |
| 471 | +*[dir=ltr] div.tright { |
449 | 472 | clear: right; |
450 | 473 | float: right; |
451 | 474 | border-width: .5em 0 .8em 1.4em; |
452 | 475 | } |
453 | | -div.tleft { |
| 476 | +*[dir=rtl] div.tright, |
| 477 | +*[dir=rtl] div.floatright, |
| 478 | +*[dir=rtl] table.floatright { |
| 479 | + clear:none; |
| 480 | +} |
| 481 | +div.tleft, |
| 482 | +*[dir=ltr] div.tleft { |
454 | 483 | float: left; |
455 | 484 | margin-right: .5em; |
456 | 485 | border-width: .5em 1.4em .8em 0; |
457 | 486 | } |
458 | | - |
| 487 | +*[dir=rtl] div.tleft, |
| 488 | +*[dir=rtl] div.floatleft, |
| 489 | +*[dir=rtl] table.floatleft { |
| 490 | + clear: left; |
| 491 | +} |
459 | 492 | .hiddenStructure { |
460 | 493 | display: none; |
461 | 494 | speak: none; |
— | — | @@ -610,7 +643,8 @@ |
611 | 644 | } |
612 | 645 | /* this can be used in the content area to switch off |
613 | 646 | special external link styling */ |
614 | | -#bodyContent .plainlinks a { |
| 647 | +#bodyContent .plainlinks a, |
| 648 | +#bodyContent *[dir="rtl"] a { |
615 | 649 | background: none !important; |
616 | 650 | padding: 0 !important; |
617 | 651 | } |