|
1 /* $Id$ */ |
|
2 |
|
3 publidoc:before { |
|
4 display: block; |
|
5 background-color: #993333; |
|
6 padding: 3ex 1ex 3ex 1ex; |
|
7 color: silver; |
|
8 font-family: sans-serif; |
|
9 font-size: 100%; |
|
10 font-weight: bold; |
|
11 content: " id = " text-field(attribute, id, columns, 10, color, white, font-size, 120%) |
|
12 " " icon(diamond) " type = " label(attribute, type, color, white, font-size, 120%) |
|
13 set-attribute-button(attribute, type, icon, icon(pop-sw)) |
|
14 " " icon(diamond) " media = " label(attribute, media, color, white, font-size, 120%) |
|
15 set-attribute-button(attribute, media, icon, icon(pop-sw)) |
|
16 " " icon(diamond) " lang = " label(attribute, "xml:lang", color, white, font-size, 120%) |
|
17 set-attribute-button(attribute, "xml:lang", icon, icon(pop-sw)); |
|
18 } |
|
19 |
|
20 publidoc { |
|
21 color: black; |
|
22 background-color: white; |
|
23 font-family: sans-serif; |
|
24 font-size: 120%; |
|
25 } |
|
26 |
|
27 /* ======= Head level ======= */ |
|
28 |
|
29 /* head { */ |
|
30 /* display: block; */ |
|
31 /* } */ |
|
32 |
|
33 /* ====== Section level ===== */ |
|
34 |
|
35 section:before { |
|
36 display: block; |
|
37 margin: 2ex 10px 0 1ex; |
|
38 background-color: silver; |
|
39 color: gray; |
|
40 font-family: sans-serif; |
|
41 font-weight: bold; |
|
42 content: row(cell(content(" " insert-before-button() collapser()), width, 90%), |
|
43 cell(content(insert-after-button() " "), width, 10%, text-align, right)); |
|
44 } |
|
45 |
|
46 section { |
|
47 display: block; |
|
48 collapsible: yes; |
|
49 collapsed: no; |
|
50 } |
|
51 |
|
52 /* ======= Block level ====== */ |
|
53 |
|
54 p { |
|
55 display: block; |
|
56 } |