/[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.5 - (hide annotations) (download) (as text)
Sun Oct 26 08:44:19 2008 UTC (16 years ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +7 -1 lines
File MIME type: text/css
Dynamic update implemented

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 wakaba 1.5 .no-ja-translation .en-original {
18     display: inline;
19     width: auto;
20     padding: 0;
21     }
22    
23 wakaba 1.1 .ja-translation {
24     padding-left: 1em;
25     }
26    
27 wakaba 1.2 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 wakaba 1.3 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 wakaba 1.4 p.warning > span.ja-translation:before {
54 wakaba 1.3 content: '\26A0 警告! ';
55     }
56    
57     p.ja-translation-inserted {
58     margin: 0;
59     }
60    
61 wakaba 1.1 /*
62     Author: Wakaba <w@suika.fam.cx>.
63     License: Public Domain.
64 wakaba 1.5 $Date: 2008/10/25 15:12:01 $
65 wakaba 1.1 */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24