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 | /* programming domain (pr-d) generic class support */
|
---|
12 |
|
---|
13 | /* ph classed */
|
---|
14 | codeph, var, synph, oper, delim, sep, repsep {
|
---|
15 | display: inline;
|
---|
16 | }
|
---|
17 |
|
---|
18 | var {
|
---|
19 | font-style: italic;
|
---|
20 | }
|
---|
21 |
|
---|
22 | var[importance="optional"]:before {
|
---|
23 | content: " [";
|
---|
24 | }
|
---|
25 |
|
---|
26 | var[importance="optional"]:after {
|
---|
27 | content: "] ";
|
---|
28 | }
|
---|
29 |
|
---|
30 | var:before, sep:before, delim:before, groupseq:before, groupcomp:before {
|
---|
31 | content: " ";
|
---|
32 | }
|
---|
33 |
|
---|
34 | var:after, sep:after, delim:after, groupseq:after, groupcomp:after {
|
---|
35 | content: " ";
|
---|
36 | }
|
---|
37 |
|
---|
38 |
|
---|
39 | /* keyword classed */
|
---|
40 | option, parmname, apiname, kwd {
|
---|
41 | display: inline;
|
---|
42 | }
|
---|
43 |
|
---|
44 | apiname {
|
---|
45 | font-family: monospace;
|
---|
46 | }
|
---|
47 |
|
---|
48 | xapiname:before {
|
---|
49 | content: "<";
|
---|
50 | }
|
---|
51 |
|
---|
52 | xapiname:after {
|
---|
53 | content: ">";
|
---|
54 | }
|
---|
55 |
|
---|
56 |
|
---|
57 | /* pre classed */
|
---|
58 | codeblock {
|
---|
59 | display: block;
|
---|
60 | white-space: pre;
|
---|
61 | margin-bottom: 6pt;
|
---|
62 | font-family: monospace;
|
---|
63 | }
|
---|
64 |
|
---|
65 | /* dl classed */
|
---|
66 | parml:before {
|
---|
67 | font-weight: bold;
|
---|
68 | font-size: 10pt;
|
---|
69 | }
|
---|
70 |
|
---|
71 | parml {
|
---|
72 | display: table;
|
---|
73 | }
|
---|
74 |
|
---|
75 | /* dlentry classed */
|
---|
76 | plentry {
|
---|
77 | display: table-row;
|
---|
78 | }
|
---|
79 |
|
---|
80 | /* dt classed */
|
---|
81 | pt {
|
---|
82 | display: table-cell;
|
---|
83 | font-weight: bold;
|
---|
84 | }
|
---|
85 |
|
---|
86 | /* dd classed */
|
---|
87 | pd {
|
---|
88 | display: table-cell;
|
---|
89 | }
|
---|
90 |
|
---|
91 |
|
---|
92 |
|
---|
93 | /* fn classed */
|
---|
94 | synnote:before {
|
---|
95 | color: purple;
|
---|
96 | font-weight: bold;
|
---|
97 | content: " [Syntax note: ";
|
---|
98 | }
|
---|
99 |
|
---|
100 | synnote:after {
|
---|
101 | color: purple;
|
---|
102 | font-weight: bold;
|
---|
103 | content: "] ";
|
---|
104 | }
|
---|
105 |
|
---|
106 | synnote {
|
---|
107 | color: purple;
|
---|
108 | font-weight: bold;
|
---|
109 | }
|
---|
110 |
|
---|
111 |
|
---|
112 |
|
---|
113 | /* xref classed */
|
---|
114 | fragref, synnoteref {
|
---|
115 | text-decoration: underline;
|
---|
116 | color: red;
|
---|
117 | }
|
---|
118 |
|
---|
119 | fragref[href], synnoteref[href] {
|
---|
120 | text-decoration: underline;
|
---|
121 | color: blue;
|
---|
122 | }
|
---|
123 |
|
---|
124 |
|
---|
125 | /* fig classed */
|
---|
126 | syntaxdiagram {
|
---|
127 | display: block;
|
---|
128 | margin-bottom: 12pt;
|
---|
129 | }
|
---|
130 |
|
---|
131 |
|
---|
132 | /* figgroup classed */
|
---|
133 | synblk, groupseq, groupchoice, groupcomp, fragment {
|
---|
134 | display: inline;
|
---|
135 | }
|
---|
136 |
|
---|
137 | groupchoice>*:after {
|
---|
138 | content: " | ";
|
---|
139 | }
|
---|
140 |
|
---|
141 | groupchoice:before {
|
---|
142 | content: " { ";
|
---|
143 | }
|
---|
144 |
|
---|
145 | groupchoice:after {
|
---|
146 | content: " } ";
|
---|
147 | }
|
---|
148 |
|
---|
149 | /* contextual items */
|
---|
150 | groupcomp>title {
|
---|
151 | display: inline;
|
---|
152 | color: purple;
|
---|
153 | }
|
---|
154 |
|
---|
155 | syntaxdiagram>title, fragment>title {
|
---|
156 | display: block;
|
---|
157 | font-weight: bold;
|
---|
158 | font-size: 12pt;
|
---|
159 | margin-top: 6pt;
|
---|
160 | margin-bottom: 12pt;
|
---|
161 | }
|
---|
162 |
|
---|
163 | syntaxdiagram>title:after, fragment>title:after {
|
---|
164 | content: ": ";
|
---|
165 | }
|
---|
166 |
|
---|
167 |
|
---|
168 | /* software domain (sw-d) generic class support */
|
---|
169 |
|
---|
170 | /* ph classed */
|
---|
171 | msgph, filepath, userinput, systemoutput {
|
---|
172 | }
|
---|
173 |
|
---|
174 | /* pre classed */
|
---|
175 | msgblock {
|
---|
176 | display: block;
|
---|
177 | white-space: pre;
|
---|
178 | margin-bottom: 6pt;
|
---|
179 | font-family: monospace;
|
---|
180 | }
|
---|
181 |
|
---|
182 | /* keyword classed */
|
---|
183 | msgnum, cmdname, varname {
|
---|
184 | display: inline;
|
---|
185 | }
|
---|
186 |
|
---|
187 | varname {
|
---|
188 | font-style: italic;
|
---|
189 | }
|
---|
190 |
|
---|
191 |
|
---|
192 |
|
---|
193 | /* user interface domain (ui-d) generic class support */
|
---|
194 |
|
---|
195 | /* ph classed */
|
---|
196 | uicontrol, menucascade {
|
---|
197 | display: inline;
|
---|
198 | }
|
---|
199 |
|
---|
200 | /* keyword classed */
|
---|
201 | wintitle {
|
---|
202 | display: inline;
|
---|
203 | font-weight: bold;
|
---|
204 | }
|
---|
205 |
|
---|
206 | shortcut {
|
---|
207 | display: inline;
|
---|
208 | text-decoration: underline;
|
---|
209 | }
|
---|
210 |
|
---|
211 | screen {
|
---|
212 | display: block;
|
---|
213 | background-color: #404040;
|
---|
214 | color: lime;
|
---|
215 | white-space: pre;
|
---|
216 | font-family: monospace, "Courier New";
|
---|
217 | font-weight: bold;
|
---|
218 | font-size: 9pt;
|
---|
219 | margin-bottom: 6pt;
|
---|
220 | padding: 4pt;
|
---|
221 | }
|
---|
222 |
|
---|
223 | /* need to add contexts for menucascade */
|
---|
224 |
|
---|
225 |
|
---|
226 | /* highlight domain (hi-d) generic class support */
|
---|
227 |
|
---|
228 | /* all ph classed */
|
---|
229 | b, i, tt, u, sup, sub {
|
---|
230 | display: inline;
|
---|
231 | }
|
---|
232 |
|
---|
233 | b {
|
---|
234 | font-weight: bold;
|
---|
235 | }
|
---|
236 |
|
---|
237 | i {
|
---|
238 | font-style: italic;
|
---|
239 | }
|
---|
240 |
|
---|
241 | tt {
|
---|
242 | font-family: monospace;
|
---|
243 | }
|
---|
244 |
|
---|
245 | u {
|
---|
246 | text-decoration: underline;
|
---|
247 | }
|
---|
248 |
|
---|
249 | sup {
|
---|
250 | vertical-align: super;
|
---|
251 | font-size: smaller;
|
---|
252 | }
|
---|
253 |
|
---|
254 | sub {
|
---|
255 | vertical-align: sub;
|
---|
256 | font-size: smaller;
|
---|
257 | }
|
---|
258 |
|
---|