patrick@67
|
1 |
@charset "UTF-8";
|
patrick@67
|
2 |
|
patrick@59
|
3 |
/* $Id$ */
|
patrick@59
|
4 |
|
patrick@71
|
5 |
@import url(xxe-config:common/css/cals_table.imp);
|
patrick@71
|
6 |
|
patrick@60
|
7 |
*::comment { display: none; }
|
patrick@60
|
8 |
|
patrick@61
|
9 |
publidoc {
|
patrick@63
|
10 |
display: block;
|
patrick@61
|
11 |
font-family: sans-serif;
|
patrick@61
|
12 |
padding: 0;
|
patrick@61
|
13 |
}
|
patrick@60
|
14 |
|
patrick@60
|
15 |
|
patrick@60
|
16 |
/* Head level ============================================================== */
|
patrick@60
|
17 |
|
patrick@61
|
18 |
head {
|
patrick@63
|
19 |
display: block;
|
patrick@61
|
20 |
margin-bottom: .5em;
|
patrick@62
|
21 |
background-color: #fafafa;
|
patrick@111
|
22 |
padding: .2em .5em 0 .5em;
|
patrick@61
|
23 |
border: 1px solid #bbbbbb;
|
patrick@61
|
24 |
border-radius: 0.2em;
|
patrick@59
|
25 |
}
|
patrick@59
|
26 |
|
patrick@60
|
27 |
head > *:before {
|
Patrick@139
|
28 |
display: marker;
|
Patrick@139
|
29 |
color: #7f7f7f;
|
Patrick@139
|
30 |
content: element-label() " :";
|
patrick@60
|
31 |
}
|
patrick@60
|
32 |
head > title:before { display: none; }
|
patrick@127
|
33 |
head > shorttitle:before { display: none; }
|
patrick@63
|
34 |
head > subtitle:before { display: none; }
|
patrick@62
|
35 |
head > identifier[type="uri"]:before { content: insert-before-button() " URI :"; }
|
patrick@62
|
36 |
head > identifier[type="ean"]:before { content: insert-before-button() " EAN :"; }
|
patrick@61
|
37 |
head > copyright:before { content: insert-before-button() " Copyright :"; }
|
patrick@67
|
38 |
head > contributors:before { content: insert-before-button() " Contributeurs :"; }
|
patrick@60
|
39 |
head > date:before { content: insert-before-button() " Date :"; }
|
patrick@60
|
40 |
head > place:before { content: insert-before-button() " Lieu :"; }
|
patrick@60
|
41 |
head > source:before { content: insert-before-button() " Source :"; }
|
patrick@60
|
42 |
head > keywordset:before { content: insert-before-button() " Mots clés :"; }
|
patrick@61
|
43 |
head > subjectset:before { content: insert-before-button() " Thèmes :"; }
|
patrick@61
|
44 |
head > abstract:before { content: insert-before-button() " Résumé :"; }
|
patrick@61
|
45 |
head > cover:before { content: insert-before-button() " Couverture :"; }
|
patrick@61
|
46 |
head > annotation:before { content: insert-before-button() " Annotation :"; }
|
patrick@111
|
47 |
head > audio:before { content: insert-before-button() " Audio :"; }
|
patrick@59
|
48 |
|
patrick@60
|
49 |
head > * {
|
Patrick@139
|
50 |
display: block;
|
Patrick@139
|
51 |
margin: 0 0 .8em 7.5em;
|
patrick@60
|
52 |
}
|
patrick@67
|
53 |
|
patrick@67
|
54 |
head > *:after {
|
patrick@67
|
55 |
color: #7f7f7f;
|
patrick@67
|
56 |
content: " " insert-after-button();
|
patrick@67
|
57 |
}
|
patrick@67
|
58 |
|
patrick@127
|
59 |
/* title, shortitle & subtitle ~~~~~ */
|
patrick@127
|
60 |
|
patrick@127
|
61 |
head > title, head > shorttitle {
|
patrick@127
|
62 |
font-weight: bold;
|
patrick@127
|
63 |
font-size: 120%;
|
patrick@127
|
64 |
margin: 0 0 .2em 0;
|
patrick@127
|
65 |
}
|
patrick@67
|
66 |
|
patrick@60
|
67 |
head > title {
|
patrick@60
|
68 |
color: #004080;
|
patrick@61
|
69 |
}
|
patrick@127
|
70 |
|
patrick@63
|
71 |
head > subtitle {
|
patrick@63
|
72 |
font-weight: bold;
|
patrick@63
|
73 |
color: #004080;
|
patrick@63
|
74 |
margin: 0 0 .2em 0;
|
patrick@60
|
75 |
}
|
patrick@60
|
76 |
|
patrick@67
|
77 |
/* contributors ~~~~~~~~~~~~~~~~~~~~ */
|
patrick@67
|
78 |
|
patrick@67
|
79 |
contributor:before {
|
patrick@67
|
80 |
display: marker;
|
patrick@67
|
81 |
content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
|
patrick@67
|
82 |
insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
|
patrick@60
|
83 |
}
|
patrick@67
|
84 |
contributor {
|
patrick@67
|
85 |
display: block;
|
patrick@67
|
86 |
margin: 0 0 .2em 24px;
|
patrick@62
|
87 |
}
|
patrick@60
|
88 |
|
patrick@67
|
89 |
firstname:after, secondname:after, lastname:after, label:after,
|
patrick@67
|
90 |
address:after {
|
patrick@65
|
91 |
content: insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
|
patrick@65
|
92 |
}
|
patrick@65
|
93 |
|
patrick@67
|
94 |
contributor > link[uri]:after {
|
patrick@67
|
95 |
content: " ‣ " text-field(attribute, uri, color, black, font-size, 80%) "]"
|
patrick@67
|
96 |
insert-after-button(icon, icon(right-half-disc));
|
patrick@67
|
97 |
}
|
patrick@67
|
98 |
contributor > link[idref]:after {
|
patrick@67
|
99 |
content: " ‣ " label(attribute, idref, color, black)
|
patrick@67
|
100 |
set-attribute-button(attribute, idref) "]"
|
patrick@67
|
101 |
insert-after-button(icon, icon(right-half-disc));
|
patrick@65
|
102 |
}
|
patrick@65
|
103 |
|
patrick@68
|
104 |
contributor role {
|
patrick@67
|
105 |
color: #7f7f7f;
|
patrick@68
|
106 |
content: " rôle : " combo-box(element, role, font-size, 75%,
|
patrick@67
|
107 |
labels, "auteur\A illustrateur\A éditeur"
|
patrick@68
|
108 |
values, "author\A illustrator\A publisher", color, black)
|
patrick@68
|
109 |
insert-same-after-button(icon, icon(right-half-disc));
|
patrick@65
|
110 |
}
|
patrick@65
|
111 |
|
patrick@67
|
112 |
/* source ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@67
|
113 |
|
patrick@65
|
114 |
head source[type="book"] {
|
patrick@65
|
115 |
display: none;
|
patrick@65
|
116 |
}
|
patrick@65
|
117 |
|
patrick@67
|
118 |
/* keyword & subject ~~~~~~~~~~~~~~~ */
|
patrick@67
|
119 |
|
patrick@65
|
120 |
head keyword:after {
|
patrick@65
|
121 |
content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc))
|
patrick@65
|
122 |
" ";
|
patrick@65
|
123 |
}
|
patrick@65
|
124 |
|
patrick@65
|
125 |
head subject:before {
|
patrick@65
|
126 |
color: #7F7f7f;
|
patrick@65
|
127 |
content: "ID = " text-field(attribute, id, columns, 10, color, black, font-size, 75%);
|
patrick@65
|
128 |
}
|
patrick@65
|
129 |
head subject:after {
|
patrick@65
|
130 |
content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc));
|
patrick@65
|
131 |
}
|
patrick@65
|
132 |
|
patrick@67
|
133 |
/* annotation ~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@67
|
134 |
|
patrick@67
|
135 |
head > annotation:after { content: ""; }
|
patrick@67
|
136 |
|
patrick@67
|
137 |
|
patrick@60
|
138 |
/* Division level ========================================================== */
|
patrick@60
|
139 |
|
patrick@61
|
140 |
division:before {
|
patrick@63
|
141 |
display: block;
|
patrick@61
|
142 |
color: #7f7f7f;
|
patrick@61
|
143 |
content: collapser() " " insert-before-button() insert-after-button()
|
patrick@61
|
144 |
" Division"
|
patrick@61
|
145 |
}
|
patrick@61
|
146 |
|
patrick@61
|
147 |
division {
|
patrick@61
|
148 |
display: block;
|
patrick@61
|
149 |
border: 1px dotted #7f7f7f;
|
patrick@61
|
150 |
padding: 5px;
|
patrick@61
|
151 |
margin-bottom: .5em;
|
patrick@61
|
152 |
collapsible: yes;
|
patrick@61
|
153 |
not-collapsible-head: 1;
|
patrick@61
|
154 |
}
|
patrick@61
|
155 |
division:last-child {
|
patrick@61
|
156 |
margin-bottom: 0;
|
patrick@61
|
157 |
}
|
patrick@61
|
158 |
|
patrick@61
|
159 |
division > head {
|
patrick@62
|
160 |
background-color: #ffffee;
|
patrick@61
|
161 |
padding: .3em .5em .3em .5em;
|
patrick@61
|
162 |
border-radius: 0.5em;
|
patrick@61
|
163 |
}
|
patrick@61
|
164 |
|
patrick@61
|
165 |
|
patrick@60
|
166 |
/* Component level ========================================================= */
|
patrick@60
|
167 |
|
patrick@61
|
168 |
topic:before {
|
patrick@61
|
169 |
display: block;
|
patrick@61
|
170 |
color: #7f7f7f;
|
patrick@61
|
171 |
background-color: #ddddcc;
|
patrick@63
|
172 |
border: 1px solid #aeaea0;
|
patrick@61
|
173 |
font-weight: bold;
|
patrick@61
|
174 |
padding: .5em 5px .5em 5px;
|
patrick@61
|
175 |
content: collapser() " " insert-before-button() insert-after-button()
|
patrick@61
|
176 |
" " add-attribute-button() " Topic";
|
patrick@61
|
177 |
}
|
Patrick@139
|
178 |
topic[id]:before {
|
patrick@61
|
179 |
content: collapser() " " insert-before-button() insert-after-button()
|
patrick@62
|
180 |
" " add-attribute-button() " Topic"
|
Patrick@139
|
181 |
" – ID = " text-field(attribute, "id", columns, 15, color, black);
|
patrick@61
|
182 |
}
|
patrick@61
|
183 |
topic[type]:before {
|
patrick@61
|
184 |
content: collapser() " " insert-before-button() insert-after-button()
|
patrick@62
|
185 |
" " add-attribute-button() " Topic"
|
patrick@62
|
186 |
" – Type = " text-field(attribute, type, columns, 10, color, black);
|
patrick@61
|
187 |
}
|
Patrick@139
|
188 |
topic[id][type]:before {
|
patrick@61
|
189 |
content: collapser() " " insert-before-button() insert-after-button()
|
patrick@62
|
190 |
" Topic"
|
Patrick@139
|
191 |
" – ID = " text-field(attribute, "id", columns, 15, color, black)
|
patrick@62
|
192 |
" – Type = " text-field(attribute, type, columns, 10, color, black);
|
patrick@61
|
193 |
}
|
patrick@61
|
194 |
|
patrick@61
|
195 |
topic {
|
patrick@63
|
196 |
display: block;
|
patrick@63
|
197 |
border: 1px solid #aeaea0;
|
patrick@61
|
198 |
margin-bottom: .5em;
|
patrick@61
|
199 |
padding: 5px;
|
patrick@61
|
200 |
collapsible: yes;
|
patrick@61
|
201 |
}
|
patrick@61
|
202 |
topic:last-child {
|
patrick@61
|
203 |
margin-bottom: 0;
|
patrick@61
|
204 |
}
|
patrick@61
|
205 |
|
patrick@61
|
206 |
topic > head {
|
patrick@62
|
207 |
background-color: #ffffee;
|
patrick@61
|
208 |
padding: .3em .5em .3em .5em;
|
patrick@61
|
209 |
border-radius: 0.5em;
|
patrick@61
|
210 |
}
|
patrick@61
|
211 |
|
patrick@61
|
212 |
|
patrick@61
|
213 |
/* Top level =============================================================== */
|
patrick@61
|
214 |
|
patrick@61
|
215 |
publidoc > *:before {
|
patrick@61
|
216 |
display: block;
|
patrick@61
|
217 |
color: #bbbbbb;
|
patrick@62
|
218 |
background: #993333 url('top.png') repeat-x top left;
|
patrick@61
|
219 |
font-weight: bold;
|
patrick@62
|
220 |
padding: 1.2em 5px 1em 5px;
|
patrick@61
|
221 |
}
|
patrick@61
|
222 |
publidoc > document:before {
|
patrick@67
|
223 |
content: add-attribute-button() " Document"
|
patrick@117
|
224 |
" – ID = " text-field(attribute, "id", columns, 15, color, white);
|
patrick@67
|
225 |
}
|
patrick@117
|
226 |
publidoc > document[id][xml|lang]:before {
|
patrick@67
|
227 |
content: "Document"
|
patrick@117
|
228 |
" – ID = " text-field(attribute, "id", columns, 15, color, white)
|
patrick@67
|
229 |
" – Langue principale = " combo-box(attribute, "xml:lang", font-size, 75%,
|
patrick@125
|
230 |
values, "en\A fr\A es", color, white);
|
patrick@61
|
231 |
}
|
patrick@117
|
232 |
publidoc > topic[id]:before {
|
patrick@67
|
233 |
content: add-attribute-button() " Topic"
|
patrick@117
|
234 |
" – ID = " text-field(attribute, "id", columns, 15, color, white);
|
patrick@61
|
235 |
}
|
Patrick@139
|
236 |
publidoc > topic[id][type]:before {
|
patrick@67
|
237 |
content: add-attribute-button() " Topic"
|
patrick@117
|
238 |
" – ID = " text-field(attribute, "id", columns, 15, color, white)
|
patrick@62
|
239 |
" – Type = " text-field(attribute, type, columns, 10, color, white);
|
patrick@61
|
240 |
}
|
patrick@117
|
241 |
publidoc > topic[id][xml|lang]:before {
|
patrick@67
|
242 |
content: add-attribute-button() " Topic"
|
patrick@117
|
243 |
" – ID = " text-field(attribute, "id", columns, 15, color, white)
|
patrick@70
|
244 |
" – Langue principale = " combo-box(attribute, "xml:lang", font-size, 75%,
|
patrick@125
|
245 |
values, "en\A fr\A es", color, white);
|
patrick@67
|
246 |
}
|
patrick@117
|
247 |
publidoc > topic[id][type][xml|lang]:before {
|
patrick@67
|
248 |
content: "Topic"
|
patrick@117
|
249 |
" – ID = " text-field(attribute, "id", columns, 15, color, white)
|
patrick@67
|
250 |
" – Type = " text-field(attribute, type, columns, 10, color, white)
|
patrick@70
|
251 |
" – Langue principale = " combo-box(attribute, "xml:lang", font-size, 75%,
|
patrick@125
|
252 |
values, "en\A fr\A es", color, white);
|
patrick@67
|
253 |
}
|
patrick@61
|
254 |
|
patrick@61
|
255 |
publidoc > * {
|
patrick@63
|
256 |
display: block;
|
patrick@61
|
257 |
margin: 5px;
|
patrick@62
|
258 |
padding: 0;
|
patrick@61
|
259 |
border: 0;
|
patrick@61
|
260 |
}
|
patrick@61
|
261 |
|
patrick@61
|
262 |
publidoc > * > head {
|
patrick@62
|
263 |
background-color: #ffffee;
|
patrick@61
|
264 |
padding: .3em .5em .3em .5em;
|
patrick@61
|
265 |
border-radius: 0.5em;
|
patrick@61
|
266 |
}
|
patrick@61
|
267 |
|
patrick@63
|
268 |
publidoc > * > head > title {
|
patrick@63
|
269 |
font-size: 140%;
|
patrick@111
|
270 |
margin: .1em 0 .1em 0;
|
patrick@63
|
271 |
}
|
patrick@63
|
272 |
|
patrick@61
|
273 |
|
patrick@60
|
274 |
/* Section level =========================================================== */
|
patrick@60
|
275 |
|
patrick@62
|
276 |
section:before {
|
patrick@63
|
277 |
display: block;
|
patrick@62
|
278 |
color: #7f7f7f;
|
patrick@64
|
279 |
text-align: left;
|
patrick@64
|
280 |
font-style: normal;
|
patrick@64
|
281 |
font-size: 75%;
|
patrick@63
|
282 |
padding-bottom: 3px;
|
patrick@63
|
283 |
content: insert-before-button() add-attribute-button(icon, icon(plus-box));
|
patrick@62
|
284 |
}
|
patrick@62
|
285 |
section[type]:before {
|
patrick@64
|
286 |
content: insert-before-button() add-attribute-button(icon, icon(plus-box))
|
patrick@64
|
287 |
" Type = " text-field(attribute, type, columns, 5, color, black);
|
patrick@64
|
288 |
}
|
patrick@64
|
289 |
section[xml|lang]:before {
|
patrick@64
|
290 |
content: insert-before-button() add-attribute-button(icon, icon(plus-box))
|
patrick@64
|
291 |
" Langue = " text-field(attribute, "xml:lang", columns, 2, color, black);
|
patrick@64
|
292 |
}
|
patrick@64
|
293 |
section[type][xml|lang]:before {
|
patrick@63
|
294 |
content: insert-before-button()
|
patrick@64
|
295 |
" Type = " text-field(attribute, type, columns, 5, color, black)
|
patrick@64
|
296 |
" – Langue = " text-field(attribute, "xml:lang", columns, 2, color, black);
|
patrick@62
|
297 |
}
|
patrick@63
|
298 |
section section:before {
|
patrick@63
|
299 |
margin-left: 1em;
|
patrick@63
|
300 |
}
|
patrick@62
|
301 |
|
Patrick@139
|
302 |
header, section, footer {
|
patrick@61
|
303 |
display: block;
|
patrick@61
|
304 |
}
|
patrick@62
|
305 |
section[type="box"] {
|
patrick@63
|
306 |
margin-bottom: .5em;
|
patrick@62
|
307 |
padding: 5px;
|
patrick@62
|
308 |
background-color: #e8f0f7;
|
patrick@62
|
309 |
border-radius: 0.2em;
|
patrick@62
|
310 |
}
|
patrick@63
|
311 |
section[type="ex"] { font-style: italic; }
|
patrick@62
|
312 |
section[type="sign"] { text-align: right; }
|
patrick@62
|
313 |
|
Patrick@139
|
314 |
header, footer {
|
Patrick@139
|
315 |
background-color: #fafafa;
|
Patrick@139
|
316 |
}
|
Patrick@139
|
317 |
|
patrick@62
|
318 |
section section {
|
patrick@63
|
319 |
margin-left: 1em;
|
patrick@62
|
320 |
}
|
patrick@62
|
321 |
|
patrick@62
|
322 |
section:after {
|
patrick@62
|
323 |
color: #7f7f7f;
|
patrick@62
|
324 |
content: insert-after-button();
|
patrick@61
|
325 |
}
|
patrick@64
|
326 |
section section:after {
|
patrick@64
|
327 |
margin-left: 1em;
|
patrick@64
|
328 |
}
|
patrick@61
|
329 |
|
patrick@59
|
330 |
|
patrick@60
|
331 |
/* Block level ============================================================= */
|
patrick@59
|
332 |
|
patrick@62
|
333 |
p:before, speech:before, list:before,
|
patrick@62
|
334 |
blockquote:before, table:before, media:before {
|
patrick@63
|
335 |
display: marker;
|
patrick@72
|
336 |
color: #7f7f7f;
|
patrick@72
|
337 |
content: insert-before-button(icon, icon(left-half-disc))
|
patrick@72
|
338 |
insert-after-button(icon, icon(right-half-disc));
|
patrick@62
|
339 |
}
|
patrick@62
|
340 |
|
patrick@62
|
341 |
p, speech, list, blockquote, table, media {
|
patrick@61
|
342 |
display: block;
|
patrick@62
|
343 |
margin-left: 24px;
|
patrick@63
|
344 |
font-size: 115%;
|
patrick@62
|
345 |
font-family: serif;
|
patrick@61
|
346 |
}
|
patrick@61
|
347 |
|
patrick@67
|
348 |
/* speech ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@65
|
349 |
|
patrick@65
|
350 |
speaker {
|
patrick@65
|
351 |
font-weight: bold;
|
patrick@65
|
352 |
}
|
patrick@65
|
353 |
|
patrick@65
|
354 |
stage:before, stage:after {
|
patrick@65
|
355 |
color: #7f7f7f;
|
patrick@65
|
356 |
content: "(";
|
patrick@65
|
357 |
}
|
patrick@65
|
358 |
stage:before {
|
patrick@65
|
359 |
content: " (";
|
patrick@65
|
360 |
}
|
patrick@65
|
361 |
stage {
|
patrick@65
|
362 |
font-style: italic;
|
patrick@65
|
363 |
}
|
patrick@65
|
364 |
stage:after {
|
patrick@65
|
365 |
content: ")";
|
patrick@65
|
366 |
}
|
patrick@65
|
367 |
|
patrick@63
|
368 |
/* list ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@61
|
369 |
|
patrick@72
|
370 |
list:before {
|
patrick@72
|
371 |
content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
|
patrick@72
|
372 |
insert-after-button(color, #7f7f7f, icon, icon(right-half-disc))
|
patrick@72
|
373 |
command-button(command, "putAttribute", parameter, "type ordered", icon, icon(convert));
|
patrick@72
|
374 |
}
|
patrick@72
|
375 |
list[type="ordered"]:before {
|
patrick@72
|
376 |
content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
|
patrick@72
|
377 |
insert-after-button(color, #7f7f7f, icon, icon(right-half-disc))
|
patrick@72
|
378 |
command-button(command, "removeAttribute", parameter, "type", icon, icon(convert));
|
patrick@72
|
379 |
}
|
patrick@72
|
380 |
list[type="glossary"]:before {
|
patrick@72
|
381 |
content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
|
patrick@72
|
382 |
insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
|
patrick@72
|
383 |
}
|
patrick@72
|
384 |
|
patrick@61
|
385 |
list {
|
patrick@72
|
386 |
margin: .3em 0 .3em 36px;
|
patrick@72
|
387 |
}
|
patrick@72
|
388 |
list[type="glossary"] {
|
patrick@62
|
389 |
margin: .3em 0 .3em 24px;
|
patrick@61
|
390 |
}
|
patrick@61
|
391 |
|
patrick@63
|
392 |
list > head {
|
patrick@63
|
393 |
font-size: 75%;
|
patrick@63
|
394 |
}
|
patrick@63
|
395 |
|
patrick@61
|
396 |
item {
|
patrick@61
|
397 |
display: list-item;
|
patrick@61
|
398 |
}
|
patrick@61
|
399 |
list[type="ordered"] > item {
|
patrick@61
|
400 |
list-style-type: decimal;
|
patrick@72
|
401 |
list-style-position: inside;
|
patrick@61
|
402 |
}
|
patrick@61
|
403 |
|
patrick@63
|
404 |
item:after {
|
patrick@63
|
405 |
content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc));
|
patrick@63
|
406 |
}
|
patrick@63
|
407 |
|
patrick@72
|
408 |
list:not([type="glossary"]) > item > p:before {
|
patrick@72
|
409 |
color: #7f7f7f;
|
patrick@72
|
410 |
content: insert-same-before-button(icon, icon(left-half-disc))
|
patrick@72
|
411 |
insert-same-after-button(icon, icon(right-half-disc));
|
patrick@72
|
412 |
}
|
patrick@72
|
413 |
list:not([type="glossary"]) > item > p {
|
patrick@72
|
414 |
display: inline;
|
patrick@72
|
415 |
}
|
patrick@72
|
416 |
list:not([type="glossary"]) > item > p:after {
|
patrick@72
|
417 |
color: #7f7f7f;
|
patrick@72
|
418 |
content: "\A";
|
patrick@72
|
419 |
}
|
patrick@72
|
420 |
|
patrick@61
|
421 |
list[type="glossary"] > item > label {
|
patrick@61
|
422 |
font-weight: bold;
|
patrick@61
|
423 |
}
|
patrick@61
|
424 |
|
patrick@63
|
425 |
/* blockquote ~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@62
|
426 |
|
patrick@72
|
427 |
blockquote { color: #004080; }
|
patrick@72
|
428 |
|
patrick@62
|
429 |
attribution { font-style: italic; }
|
patrick@62
|
430 |
|
patrick@64
|
431 |
/* media ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@64
|
432 |
|
patrick@68
|
433 |
media {
|
patrick@108
|
434 |
margin-top: .5em;
|
patrick@108
|
435 |
margin-bottom: 1em;
|
patrick@108
|
436 |
padding: 10px;
|
patrick@108
|
437 |
border: 1px dashed #7f7f7f;
|
patrick@108
|
438 |
}
|
patrick@108
|
439 |
|
patrick@124
|
440 |
media image, media audio, media video {
|
patrick@108
|
441 |
display: block;
|
patrick@108
|
442 |
font-family: sans-serif;
|
patrick@108
|
443 |
}
|
patrick@111
|
444 |
|
patrick@111
|
445 |
media caption {
|
patrick@111
|
446 |
display: block;
|
patrick@111
|
447 |
}
|
patrick@111
|
448 |
media caption:after {
|
patrick@111
|
449 |
content: insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
|
patrick@68
|
450 |
}
|
patrick@68
|
451 |
|
patrick@111
|
452 |
/* image ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@111
|
453 |
|
patrick@111
|
454 |
cover image {
|
patrick@111
|
455 |
content: concatenate("image('Images/", attr(id), ".png', -480, -360, smooth)");
|
patrick@111
|
456 |
}
|
patrick@111
|
457 |
|
patrick@111
|
458 |
p image {
|
patrick@111
|
459 |
content: concatenate("image('Images/", attr(id), ".png', -64, -48, smooth)");
|
patrick@108
|
460 |
vertical-align: middle;
|
patrick@108
|
461 |
}
|
patrick@111
|
462 |
|
patrick@111
|
463 |
media image:before {
|
patrick@111
|
464 |
display: block;
|
patrick@111
|
465 |
text-align: left;
|
patrick@111
|
466 |
content: concatenate("image('Images/", attr(id), ".png', -480, -360, smooth)")
|
patrick@111
|
467 |
insert-button(color, #7f7f7f, icon, icon(pop-down))
|
patrick@111
|
468 |
insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
|
patrick@111
|
469 |
}
|
patrick@111
|
470 |
media image[type="thumbnail"]:before {
|
patrick@111
|
471 |
content: concatenate("image('Images/", attr(id), ".png', -128, -96, smooth)")
|
patrick@111
|
472 |
insert-button(color, #7f7f7f, icon, icon(pop-down))
|
patrick@111
|
473 |
insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
|
patrick@108
|
474 |
}
|
patrick@108
|
475 |
|
patrick@111
|
476 |
media image {
|
patrick@111
|
477 |
margin-bottom: .8em;
|
patrick@111
|
478 |
}
|
patrick@111
|
479 |
|
patrick@111
|
480 |
image > copyright {
|
patrick@111
|
481 |
display: block;
|
patrick@111
|
482 |
font-size: 75%;
|
patrick@68
|
483 |
font-style: italic;
|
patrick@68
|
484 |
}
|
patrick@111
|
485 |
|
patrick@122
|
486 |
/* Hotspot */
|
patrick@122
|
487 |
|
patrick@122
|
488 |
hotspot {
|
patrick@122
|
489 |
display: block;
|
patrick@122
|
490 |
padding: .5em;
|
patrick@122
|
491 |
background-color: #ffefd8;
|
patrick@122
|
492 |
border-radius: 1.5em;
|
patrick@122
|
493 |
}
|
patrick@122
|
494 |
|
patrick@122
|
495 |
/* Tooltip */
|
patrick@122
|
496 |
|
patrick@122
|
497 |
tooltip image:before {
|
patrick@122
|
498 |
content: "";
|
patrick@122
|
499 |
}
|
patrick@122
|
500 |
tooltip > image {
|
patrick@122
|
501 |
content: concatenate("image('Images/", attr(id), ".png', -128, -96, smooth)");
|
patrick@122
|
502 |
}
|
patrick@122
|
503 |
|
patrick@111
|
504 |
tooltip {
|
patrick@111
|
505 |
display: block;
|
patrick@111
|
506 |
padding: .5em;
|
patrick@111
|
507 |
background-color: #eaffe9;
|
patrick@111
|
508 |
border-radius: 1.5em;
|
patrick@111
|
509 |
}
|
patrick@111
|
510 |
tooltip > p {
|
patrick@111
|
511 |
font-family: sans-serif;
|
patrick@111
|
512 |
font-size: 85%;
|
patrick@111
|
513 |
}
|
patrick@111
|
514 |
|
patrick@111
|
515 |
/* audio ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@111
|
516 |
|
patrick@111
|
517 |
audio {
|
patrick@111
|
518 |
content: text-field(attribute, id, color, black, font-size, 75%)
|
patrick@111
|
519 |
" type : " label(attribute, type, color, black) " "
|
patrick@111
|
520 |
set-attribute-button(attribute, type, icon, icon(pop-sw), color, black);
|
patrick@111
|
521 |
}
|
patrick@111
|
522 |
media audio {
|
patrick@111
|
523 |
content: "Audio : " text-field(attribute, id, color, black)
|
patrick@111
|
524 |
" type : " label(attribute, type, color, black) " "
|
patrick@111
|
525 |
set-attribute-button(attribute, type, icon, icon(pop-sw), color, black);
|
patrick@108
|
526 |
}
|
patrick@68
|
527 |
|
patrick@64
|
528 |
|
patrick@124
|
529 |
/* video ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@124
|
530 |
|
patrick@124
|
531 |
video {
|
patrick@124
|
532 |
content: text-field(attribute, id, color, black, font-size, 75%);
|
patrick@124
|
533 |
}
|
patrick@124
|
534 |
media video {
|
patrick@124
|
535 |
content: "Video : " text-field(attribute, id, color, black);
|
patrick@124
|
536 |
}
|
patrick@124
|
537 |
|
patrick@124
|
538 |
|
patrick@60
|
539 |
/* Inline level ============================================================ */
|
patrick@59
|
540 |
|
patrick@63
|
541 |
/* sup, sub, var ~~~~~~~~~~~~~~~~~~~ */
|
patrick@62
|
542 |
|
patrick@63
|
543 |
sup { font-family: sans-serif; vertical-align: super; font-size: 75%; }
|
patrick@63
|
544 |
sub { font-family: sans-serif; vertical-align: sub; font-size: 75%; }
|
patrick@63
|
545 |
var { font-family: sans-serif; font-style: italic; }
|
patrick@63
|
546 |
|
patrick@65
|
547 |
/* date ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@65
|
548 |
|
patrick@65
|
549 |
date[value]:after {
|
patrick@65
|
550 |
color: #7f7f7f;
|
patrick@65
|
551 |
content: " (" date-picker(attribute, value, columns, 7, color, black, font-size, 75%) ")";
|
patrick@65
|
552 |
}
|
patrick@65
|
553 |
head > date[value]:after {
|
patrick@65
|
554 |
color: #7f7f7f;
|
patrick@65
|
555 |
content: " (" date-picker(attribute, value, columns, 7, color, black, font-size, 75%)
|
patrick@65
|
556 |
") " insert-after-button();
|
patrick@65
|
557 |
}
|
patrick@65
|
558 |
|
patrick@70
|
559 |
/* name ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@70
|
560 |
|
patrick@70
|
561 |
name { font-family: sans-serif; color: #004080; }
|
patrick@70
|
562 |
|
patrick@63
|
563 |
/* note ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@63
|
564 |
|
patrick@63
|
565 |
note:before { font-size: 75%; content: "(Note : "; }
|
patrick@63
|
566 |
note { font-family: sans-serif; color: #004080; font-size: 75%; }
|
patrick@63
|
567 |
note:after { font-size: 75%; content: ")"; }
|
patrick@62
|
568 |
note p { display:inline; }
|
patrick@62
|
569 |
|
patrick@90
|
570 |
/* foreign ~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@90
|
571 |
|
patrick@90
|
572 |
foreign { font-family: sans-serif; font-style: italic; }
|
patrick@90
|
573 |
|
patrick@63
|
574 |
/* highlight ~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@63
|
575 |
|
patrick@62
|
576 |
highlight { font-weight: bold; }
|
patrick@63
|
577 |
|
patrick@89
|
578 |
/* mentioned ~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@89
|
579 |
|
patrick@89
|
580 |
mentioned { font-style: italic; }
|
patrick@89
|
581 |
|
patrick@68
|
582 |
/* term ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@68
|
583 |
|
patrick@89
|
584 |
term { font-family: sans-serif; }
|
patrick@68
|
585 |
|
patrick@63
|
586 |
/* link ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@63
|
587 |
|
patrick@63
|
588 |
link:before {
|
patrick@63
|
589 |
color: #7f7f7f;
|
patrick@63
|
590 |
font-family: sans-serif;
|
patrick@63
|
591 |
content: "["
|
patrick@63
|
592 |
}
|
patrick@63
|
593 |
|
patrick@63
|
594 |
media link {
|
patrick@63
|
595 |
display: block;
|
patrick@63
|
596 |
}
|
patrick@63
|
597 |
|
patrick@63
|
598 |
link:after {
|
patrick@63
|
599 |
color: #7f7f7f;
|
patrick@63
|
600 |
font-family: sans-serif;
|
patrick@63
|
601 |
}
|
patrick@63
|
602 |
link[uri]:after {
|
patrick@63
|
603 |
content: " ‣ " text-field(attribute, uri, color, black, font-size, 80%) "]";
|
patrick@63
|
604 |
}
|
patrick@63
|
605 |
link[idref]:after {
|
patrick@63
|
606 |
content: " ‣ " label(attribute, idref, color, black)
|
patrick@63
|
607 |
set-attribute-button(attribute, idref) "]";
|
patrick@63
|
608 |
}
|
patrick@63
|
609 |
|
patrick@106
|
610 |
/* smil ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
patrick@106
|
611 |
|
patrick@106
|
612 |
smil {
|
patrick@106
|
613 |
background-color: #ffffc0;
|
patrick@111
|
614 |
|
patrick@106
|
615 |
}
|