Index: trunk/phase3/skins/common/commonPrint.css |
— | — | @@ -10,15 +10,17 @@ |
11 | 11 | a.stub, |
12 | 12 | a.new{ color:#ba0000; text-decoration:none; } |
13 | 13 | |
14 | | -#toc { |
15 | | - /*border:1px solid #2f6fab;*/ |
| 14 | +#toc { |
16 | 15 | border:1px solid #aaaaaa; |
17 | 16 | background-color:#f9f9f9; |
18 | 17 | padding:5px; |
19 | 18 | } |
20 | | -.tocindent { |
| 19 | +body.ltr .tocindent { |
21 | 20 | margin-left: 2em; |
22 | 21 | } |
| 22 | +body.rtl .tocindent { |
| 23 | + margin-right: 2em; |
| 24 | +} |
23 | 25 | .tocline { |
24 | 26 | margin-bottom: 0px; |
25 | 27 | } |
— | — | @@ -27,52 +29,79 @@ |
28 | 30 | div.floatright { |
29 | 31 | float: right; |
30 | 32 | clear: right; |
31 | | - margin: 0; |
32 | | - position:relative; |
33 | | - border: 0.5em solid White; |
34 | | - border-width: 0.5em 0 0.8em 1.4em; |
| 33 | + position: relative; |
| 34 | + margin: 0.5em 0 0.8em 1.4em; |
35 | 35 | } |
| 36 | +body.rtl div.floatright { |
| 37 | + float: left; |
| 38 | + clear: left; |
| 39 | + margin: 0.5em 1.4em 0.8em 0; |
| 40 | +} |
36 | 41 | div.floatright p { font-style: italic;} |
37 | 42 | div.floatleft { |
38 | | - float: left; |
39 | | - margin: 0.3em 0.5em 0.5em 0; |
40 | | - position:relative; |
41 | | - border: 0.5em solid White; |
42 | | - border-width: 0.5em 1.4em 0.8em 0; |
| 43 | + float: left; |
| 44 | + clear: left; |
| 45 | + position: relative; |
| 46 | + margin: 0.5em 1.4em 0.8em 0; |
43 | 47 | } |
44 | | -div.floatleft p { font-style: italic; } |
| 48 | +body.rtl div.floatleft { |
| 49 | + float: right; |
| 50 | + clear: right; |
| 51 | + margin: 0.5em 0 0.8em 1.4em; |
| 52 | +} |
| 53 | +div.floatleft p { font-style: italic; } |
| 54 | + |
45 | 55 | /* thumbnails */ |
46 | 56 | div.thumb { |
47 | | - margin-bottom: 0.5em; |
48 | | - border-style: solid; border-color: White; |
| 57 | + border: none; |
49 | 58 | width: auto; |
50 | | - overflow: hidden; |
| 59 | + margin-top: 0.5em; |
| 60 | + margin-bottom: 0.8em; |
| 61 | + background-color: transparent; |
51 | 62 | } |
52 | 63 | div.thumbinner { |
53 | 64 | border:1px solid #cccccc; |
54 | 65 | padding: 3px !important; |
55 | | - background-color:#f9f9f9; |
| 66 | + background-color: White; |
56 | 67 | font-size: 94%; |
57 | 68 | text-align: center; |
| 69 | + overflow: hidden; |
58 | 70 | } |
59 | 71 | html .thumbimage { |
60 | 72 | border:1px solid #cccccc; |
61 | 73 | } |
62 | 74 | html .thumbcaption { |
63 | | - border: none; |
64 | | - padding: 0.3em 0 0.1em 0; |
| 75 | + border: none; |
| 76 | + text-align: left; |
| 77 | + line-height: 1.4em; |
| 78 | + padding: 3px !important; |
| 79 | + font-size: 94%; |
65 | 80 | } |
| 81 | +body.rtl .thumbcaption { |
| 82 | + text-align: right; |
| 83 | +} |
| 84 | + |
66 | 85 | div.magnify { display: none; } |
67 | 86 | div.tright { |
68 | 87 | float: right; |
69 | 88 | clear: right; |
70 | | - border-width: 0.5em 0 0.8em 1.4em; |
| 89 | + margin: 0.5em 0 0.8em 1.4em; |
71 | 90 | } |
72 | 91 | div.tleft { |
73 | 92 | float: left; |
74 | | - margin-right:0.5em; |
| 93 | + clear: left; |
| 94 | + margin: 0.5em 1.4em 0.8em 0; |
| 95 | +} |
| 96 | +body.rtl div.tright { |
| 97 | + float: left; |
| 98 | + clear: left; |
75 | 99 | border-width: 0.5em 1.4em 0.8em 0; |
76 | 100 | } |
| 101 | +body.rtl div.tleft { |
| 102 | + float: right; |
| 103 | + clear: right; |
| 104 | + border-width: 0.5em 0 0.8em 1.4em; |
| 105 | +} |
77 | 106 | img.thumbborder { |
78 | 107 | border: 1px solid #dddddd; |
79 | 108 | } |
— | — | @@ -206,21 +235,50 @@ |
207 | 236 | text-decoration: inherit ! important; |
208 | 237 | } |
209 | 238 | |
210 | | -img { border: none; } |
211 | | -img.tex { vertical-align: middle; } |
| 239 | +img { |
| 240 | + border: none; |
| 241 | + vertical-align: middle; |
| 242 | +} |
| 243 | + |
| 244 | +/* math */ |
212 | 245 | span.texhtml { font-family: serif; } |
213 | 246 | |
214 | 247 | #siteNotice { display: none; } |
215 | 248 | |
| 249 | +/* image galleries */ |
| 250 | +table.gallery { |
| 251 | + border: 1px solid #ccc; |
| 252 | + margin: 2px; |
| 253 | + padding: 2px; |
| 254 | + background-color: white; |
| 255 | + border-collapse: collapse; |
| 256 | +} |
| 257 | + |
| 258 | +table.gallery tr { |
| 259 | + vertical-align: top; |
| 260 | +} |
| 261 | + |
| 262 | +table.gallery td { |
| 263 | + vertical-align: top; |
| 264 | + padding: 1px; |
| 265 | + border: 1px solid #ccc; |
| 266 | +} |
| 267 | + |
216 | 268 | div.gallerybox { |
217 | | - border: 1px solid #cccccc; |
218 | | - background-color:#f9f9f9; |
219 | | - width: 150px; |
| 269 | + margin: 2px; |
220 | 270 | } |
221 | 271 | |
| 272 | +div.gallerybox div.thumb { |
| 273 | + text-align: center; |
| 274 | + border: 1px solid #ccc; |
| 275 | + margin: 2px; |
| 276 | +} |
| 277 | + |
222 | 278 | div.gallerytext { |
223 | | - overflow: visible; |
224 | | -} |
| 279 | + overflow: hidden; |
| 280 | + font-size: 94%; |
| 281 | + padding: 2px 4px; |
| 282 | +} |
225 | 283 | |
226 | 284 | /* |
227 | 285 | ** Diff rendering |