1 |
/* Show both of English original text and Japanese translation text */ |
2 |
|
3 |
.has-ja-translation { |
4 |
display: table; |
5 |
width: 90%; |
6 |
} |
7 |
|
8 |
.en-original, .ja-translation { |
9 |
display: table-cell; |
10 |
width: 48%; |
11 |
} |
12 |
|
13 |
.en-original { |
14 |
padding-right: 2em; |
15 |
} |
16 |
|
17 |
.no-ja-translation .en-original { |
18 |
display: inline; |
19 |
width: auto; |
20 |
padding: 0; |
21 |
} |
22 |
|
23 |
.ja-translation { |
24 |
padding-left: 1em; |
25 |
} |
26 |
|
27 |
th.has-ja-translation, td.has-ja-translation { |
28 |
display: table-cell; |
29 |
width: auto; |
30 |
} |
31 |
|
32 |
th.has-ja-translation > .en-original, |
33 |
th.has-ja-translation > .ja-translation, |
34 |
td.has-ja-translation > .en-original, |
35 |
td.has-ja-translation > .ja-translation { |
36 |
display: block; |
37 |
padding: 0; |
38 |
width: auto; |
39 |
} |
40 |
|
41 |
p.note > span.en-original:before { |
42 |
content: "Note: "; |
43 |
} |
44 |
|
45 |
p.note > span.ja-translation:before { |
46 |
content: "注意: "; |
47 |
} |
48 |
|
49 |
p.warning > span.en-original:before { |
50 |
content: '\26A0 Warning! '; |
51 |
} |
52 |
|
53 |
p.warning > span.ja-translation:before { |
54 |
content: '\26A0 警告! '; |
55 |
} |
56 |
|
57 |
p.ja-translation-inserted { |
58 |
margin: 0; |
59 |
} |
60 |
|
61 |
/* |
62 |
Author: Wakaba <w@suika.fam.cx>. |
63 |
License: Public Domain. |
64 |
$Date: 2008/10/25 15:12:01 $ |
65 |
*/ |