/[suikacvs]/markup/html/html5/spec-ja/both-en-ja-style.css
Suika

Contents of /markup/html/html5/spec-ja/both-en-ja-style.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download) (as text)
Sat Oct 25 13:12:22 2008 UTC (16 years ago) by wakaba
Branch: MAIN
Changes since 1.2: +21 -1 lines
File MIME type: text/css
make

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     p.warning:before {
48     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.3 $Date: 2008/10/25 09:27:05 $
59 wakaba 1.1 */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24