1 |
wakaba |
1.1 |
@charset 'iso-2022-jp'; |
2 |
|
|
@namespace s 'urn:x-suika-fam-cx:markup:slide:1'; |
3 |
|
|
@namespace h1 'http://www.w3.org/1999/xhtml'; |
4 |
|
|
@namespace h 'http://www.w3.org/2002/06/xhtml2'; |
5 |
|
|
|
6 |
|
|
/* Slideset (root element) */ |
7 |
|
|
s|slides { |
8 |
|
|
display: block; |
9 |
|
|
margin: 0; border-style: none; padding: 0; |
10 |
|
|
} |
11 |
|
|
|
12 |
|
|
/* A slide */ |
13 |
|
|
s|slide { |
14 |
|
|
display: block; |
15 |
|
|
padding: 1em; |
16 |
|
|
overflow: hidden; |
17 |
|
|
line-height: 1.0; |
18 |
|
|
font-family: sans-serif; |
19 |
|
|
} |
20 |
|
|
|
21 |
wakaba |
1.3 |
/* Container for non-note elements |
22 |
|
|
(Pseudo element always inserted by XBL code) */ |
23 |
|
|
s|slideBody { |
24 |
|
|
display: block; |
25 |
|
|
width: 100%; |
26 |
|
|
height: 100%; |
27 |
|
|
} |
28 |
|
|
|
29 |
|
|
/* Container for note elements |
30 |
|
|
(Pseudo element generated by XBL code, |
31 |
|
|
if at least one note is found) */ |
32 |
|
|
s|notes { |
33 |
|
|
display: none; |
34 |
|
|
} |
35 |
|
|
|
36 |
|
|
s|note { |
37 |
wakaba |
1.1 |
display: block; |
38 |
|
|
} |
39 |
wakaba |
1.3 |
|
40 |
wakaba |
1.1 |
/* Main heading (slide title) */ |
41 |
wakaba |
1.3 |
/* :x|xpath( (s:slide//h:h)[position() = 1] ) */ |
42 |
wakaba |
1.1 |
h|h:first-child { |
43 |
|
|
text-align: center; |
44 |
|
|
font-size: 200%; |
45 |
|
|
} |
46 |
|
|
|
47 |
|
|
h|li[class~="so-that"] { |
48 |
wakaba |
1.3 |
list-style: none; |
49 |
wakaba |
1.1 |
} |
50 |
wakaba |
1.3 |
|
51 |
wakaba |
1.1 |
h|li[class~="so-that"]:before { |
52 |
|
|
content: "$B"*(B"; |
53 |
|
|
} |
54 |
|
|
|
55 |
|
|
s|fig { |
56 |
|
|
display: block; |
57 |
|
|
} |
58 |
|
|
|
59 |
|
|
s|fig > *:first-node { |
60 |
|
|
display: block; |
61 |
|
|
margin-left: auto; |
62 |
|
|
margin-right: auto; |
63 |
|
|
border: 3px groove black; |
64 |
|
|
padding: 2px; |
65 |
|
|
} |
66 |
|
|
|
67 |
|
|
s|fig s|caption { |
68 |
|
|
display: block; |
69 |
|
|
text-align: center; |
70 |
|
|
font-weight: bolder; |
71 |
|
|
} |
72 |
|
|
|
73 |
|
|
s|seqNo[name] { |
74 |
|
|
display: inline; |
75 |
|
|
-moz-binding: url(slide-xbl.xml#seqNo); |
76 |
|
|
} |
77 |
|
|
s|seqNo[name]:before { |
78 |
wakaba |
1.4 |
content: "(" attr(s|seq-no) ")"; |
79 |
wakaba |
1.1 |
} |
80 |
wakaba |
1.4 |
s|seqNo:not([s|seq-no]):before { |
81 |
wakaba |
1.1 |
content: "(n)"; |
82 |
|
|
} |
83 |
|
|
s|ref[to] { |
84 |
|
|
-moz-binding: url(slide-xbl.xml#refTo); |
85 |
|
|
} |
86 |
|
|
|
87 |
|
|
[xml|space="preserve"] { |
88 |
|
|
white-space: pre; |
89 |
|
|
font-family: monospace; |
90 |
|
|
} |