VirtualBox

source: vbox/trunk/src/libs/dita-ot-1.8.5/css/domains.css@ 98878

最後變更 在這個檔案從98878是 98584,由 vboxsync 提交於 2 年 前

Docs: bugref:10302. Setting svn properties of DITA-OT library.

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette