1 |
wakaba |
1.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 |
|
|
.ja-translation { |
18 |
|
|
padding-left: 1em; |
19 |
|
|
} |
20 |
|
|
|
21 |
wakaba |
1.2 |
th.has-ja-translation, td.has-ja-translation { |
22 |
|
|
display: table-cell; |
23 |
|
|
width: auto; |
24 |
|
|
} |
25 |
|
|
|
26 |
|
|
th.has-ja-translation > .en-original, |
27 |
|
|
th.has-ja-translation > .ja-translation, |
28 |
|
|
td.has-ja-translation > .en-original, |
29 |
|
|
td.has-ja-translation > .ja-translation { |
30 |
|
|
display: block; |
31 |
|
|
padding: 0; |
32 |
|
|
width: auto; |
33 |
|
|
} |
34 |
|
|
|
35 |
wakaba |
1.3 |
p.note > span.en-original:before { |
36 |
|
|
content: "Note: "; |
37 |
|
|
} |
38 |
|
|
|
39 |
|
|
p.note > span.ja-translation:before { |
40 |
|
|
content: "注意: "; |
41 |
|
|
} |
42 |
|
|
|
43 |
|
|
p.warning > span.en-original:before { |
44 |
|
|
content: '\26A0 Warning! '; |
45 |
|
|
} |
46 |
|
|
|
47 |
wakaba |
1.4 |
p.warning > span.ja-translation:before { |
48 |
wakaba |
1.3 |
content: '\26A0 警告! '; |
49 |
|
|
} |
50 |
|
|
|
51 |
|
|
p.ja-translation-inserted { |
52 |
|
|
margin: 0; |
53 |
|
|
} |
54 |
|
|
|
55 |
wakaba |
1.1 |
/* |
56 |
|
|
Author: Wakaba <w@suika.fam.cx>. |
57 |
|
|
License: Public Domain. |
58 |
wakaba |
1.4 |
$Date: 2008/10/25 13:12:22 $ |
59 |
wakaba |
1.1 |
*/ |