Index: trunk/phase3/skins/common/common_rtl.css |
— | — | @@ -1,59 +0,0 @@ |
2 | | -/* |
3 | | - * This file contains CSS settings common to RTL wikis use the old |
4 | | - * pre-Monobook skins Wikistandard, Nostalgia and CologneBlue |
5 | | - * NOTE: This file is not used in Monobook and Vector! |
6 | | - */ |
7 | | - |
8 | | -/* js pref toc */ |
9 | | -#preftoc { float: right; } |
10 | | -/* workaround for moz bug, displayed bullets on left side */ |
11 | | -#preftoc li { list-style: none; } |
12 | | -#prefcontrol { float: right; } |
13 | | -fieldset.prefsection, |
14 | | -fieldset.operaprefsection { |
15 | | - margin-left: 0; |
16 | | - margin-right: 18em; |
17 | | -} |
18 | | -/* page history */ |
19 | | -#pagehistory .history-user { |
20 | | - margin-right: 1.4em; |
21 | | - margin-left: 0.4em; |
22 | | -} |
23 | | -.editsection { |
24 | | - float: left; |
25 | | - margin-right: 5px; |
26 | | -} |
27 | | -div.tright, div.floatright { |
28 | | - clear: none; |
29 | | -} |
30 | | -div.tleft, div.floatleft { |
31 | | - clear: left; |
32 | | -} |
33 | | -/* Convenience links to edit block, delete and protect reasons */ |
34 | | -p.mw-ipb-conveniencelinks, p.mw-protect-editreasons, |
35 | | -p.mw-filedelete-editreasons, p.mw-delete-editreasons, |
36 | | -p.mw-revdel-editreasons { |
37 | | - float: left; |
38 | | -} |
39 | | -table.filehistory th { |
40 | | - text-align: right; |
41 | | -} |
42 | | - |
43 | | -/** |
44 | | - * Lists: |
45 | | - * The following lines don't have a visible effect on non-Gecko browsers |
46 | | - * They fix a problem ith Gecko browsers rendering lists to the right of |
47 | | - * left-floated objects in an RTL layout. |
48 | | - */ |
49 | | -html > body div#article ul { |
50 | | - display: table; |
51 | | -} |
52 | | -html > body div#bodyContent ul#filetoc { |
53 | | - display: block; |
54 | | -} |
55 | | - |
56 | | -/* feed links */ |
57 | | -a.feedlink { |
58 | | - background: none !important; |
59 | | - padding-left: 0 !important; |
60 | | -} |
Index: trunk/phase3/skins/common/oldshared.css |
— | — | @@ -30,22 +30,26 @@ |
31 | 31 | |
32 | 32 | #footer { clear: both } |
33 | 33 | /* images */ |
| 34 | +/* @noflip */ |
34 | 35 | div.floatright { |
35 | 36 | float: right; |
36 | 37 | clear: right; |
37 | 38 | margin: 0 0 1em 1em; |
38 | 39 | } |
39 | 40 | |
| 41 | +/* @noflip */ |
40 | 42 | div.floatright p { |
41 | 43 | font-style: italic; |
42 | 44 | } |
43 | 45 | |
| 46 | +/* @noflip */ |
44 | 47 | div.floatleft { |
45 | 48 | float: left; |
46 | 49 | clear: left; |
47 | 50 | margin: 0.3em 0.5em 0.5em 0; |
48 | 51 | } |
49 | 52 | |
| 53 | +/* @noflip */ |
50 | 54 | div.floatleft p { |
51 | 55 | font-style: italic; |
52 | 56 | } |
— | — | @@ -100,11 +104,13 @@ |
101 | 105 | border: none !important; |
102 | 106 | background: none !important; |
103 | 107 | } |
| 108 | +/* @noflip */ |
104 | 109 | div.tright { |
105 | 110 | clear: right; |
106 | 111 | float: right; |
107 | 112 | border-width: .5em 0 .8em 1.4em; |
108 | 113 | } |
| 114 | +/* @noflip */ |
109 | 115 | div.tleft { |
110 | 116 | float: left; |
111 | 117 | clear: left; |
— | — | @@ -428,8 +434,29 @@ |
429 | 435 | } |
430 | 436 | |
431 | 437 | body { |
| 438 | + direction: ltr; |
| 439 | + unicode-bidi: embed; |
432 | 440 | background-color: #ffffec; |
433 | 441 | } |
434 | 442 | body.ns-0 { |
435 | 443 | background-color: white; |
436 | 444 | } |
| 445 | + |
| 446 | +/** RTL specific CSS starts here **/ |
| 447 | + |
| 448 | +/** |
| 449 | + * Lists: |
| 450 | + * The following lines don't have a visible effect on non-Gecko browsers |
| 451 | + * They fix a problem ith Gecko browsers rendering lists to the right of |
| 452 | + * left-floated objects in an RTL layout. |
| 453 | + */ |
| 454 | +/* @noflip */ |
| 455 | +html > body.rtl div#article ul { |
| 456 | + display: table; |
| 457 | +} |
| 458 | +/* @noflip */ |
| 459 | +html > body.rtl div#bodyContent ul#filetoc { |
| 460 | + display: block; |
| 461 | +} |
| 462 | + |
| 463 | +/* RTL specific CSS ends here **/ |
\ No newline at end of file |