1 | /*
|
---|
2 | | This file is part of the DITA Open Toolkit project hosted on
|
---|
3 | | Sourceforge.net. See the accompanying license.txt file for
|
---|
4 | | applicable licenses.
|
---|
5 | */
|
---|
6 |
|
---|
7 | /*
|
---|
8 | | (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved.
|
---|
9 | */
|
---|
10 |
|
---|
11 |
|
---|
12 | @import url(topic.css);
|
---|
13 |
|
---|
14 | /* following are editor-specific overrides of standard topic properties */
|
---|
15 |
|
---|
16 |
|
---|
17 | /* list item support */
|
---|
18 |
|
---|
19 | ul {
|
---|
20 | margin-left: 2ex;
|
---|
21 | margin-top: 1.33ex;
|
---|
22 | margin-bottom: 1.33ex;
|
---|
23 | }
|
---|
24 | ul > li {
|
---|
25 | margin-left: 2.5ex;
|
---|
26 | }
|
---|
27 | ul > li:before {
|
---|
28 | display: marker;
|
---|
29 | content: disc;
|
---|
30 | }
|
---|
31 | ul > li ul > li:before {
|
---|
32 | display: marker;
|
---|
33 | content: square;
|
---|
34 | }
|
---|
35 | ul > li ul > li ul > li:before {
|
---|
36 | display: marker;
|
---|
37 | content: icon(diamond);
|
---|
38 | }
|
---|
39 | ul > li ul > li ul > li ul > li:before {
|
---|
40 | display: marker;
|
---|
41 | content: circle;
|
---|
42 | }
|
---|
43 |
|
---|
44 | ol {
|
---|
45 | margin-left: 2ex;
|
---|
46 | margin-top: 1.33ex;
|
---|
47 | margin-bottom: 1.33ex;
|
---|
48 | }
|
---|
49 | ol > li {
|
---|
50 | margin-left: 6ex;
|
---|
51 | }
|
---|
52 | ol > li:before {
|
---|
53 | display: marker;
|
---|
54 | content: counter(n, decimal);
|
---|
55 | font-weight: bold;
|
---|
56 | }
|
---|
57 | ol[style~=lower-alpha] > li:before {
|
---|
58 | display: marker;
|
---|
59 | content: counter(n, lower-alpha);
|
---|
60 | }
|
---|
61 | ol[style~=upper-alpha] > li:before {
|
---|
62 | display: marker;
|
---|
63 | content: counter(n, upper-alpha);
|
---|
64 | }
|
---|
65 | ol[style~=lower-roman] > li:before {
|
---|
66 | display: marker;
|
---|
67 | content: counter(n, lower-roman);
|
---|
68 | }
|
---|
69 | ol[style~=upper-roman] > li:before {
|
---|
70 | display: marker;
|
---|
71 | content: counter(n, upper-roman);
|
---|
72 | }
|
---|
73 |
|
---|
74 | ol ul, ul ol, ul ul, ol ol {
|
---|
75 | margin-top: 0;
|
---|
76 | margin-bottom: 0;
|
---|
77 | }
|
---|
78 |
|
---|
79 |
|
---|
80 | /* image support */
|
---|
81 |
|
---|
82 | image, image[placement="inline"] {
|
---|
83 | display: inline;
|
---|
84 | content: image(attr(href),-400,-200);
|
---|
85 | }
|
---|
86 |
|
---|
87 | image[placement="break"] {
|
---|
88 | display: block;
|
---|
89 | content: image(attr(href),-400,-200);
|
---|
90 | }
|
---|