|
1 /* -*- c -*- |
|
2 System Documentation HTML presentation stylesheet. |
|
3 Copyright 2000 Symbian Ltd. |
|
4 */ |
|
5 |
|
6 |
|
7 /* Overall page styles */ |
|
8 |
|
9 body { |
|
10 background-color: white; |
|
11 color: black; |
|
12 } |
|
13 |
|
14 body, .Bodytext, p, td, th, ul, ol, li, dl, dt, dd, |
|
15 .Head1, .Head2, .Head3, h1, h2, h3, h4, h5, h6, .Author, |
|
16 .Abstract, .Contents1, .Contents2 { |
|
17 font-family: arial, lucida, helvetica, verdana, sans-serif; |
|
18 font-size: 10pt; |
|
19 } |
|
20 |
|
21 a:link { color: #0000cc; } |
|
22 a:visited { color: #663399; } |
|
23 a:active { color: #ff9900; } |
|
24 a:hover { color: #ff9900; } |
|
25 |
|
26 |
|
27 /* Areas in the navigation table */ |
|
28 |
|
29 .breadcrumbNav, |
|
30 .breadcrumbNav a:link, .breadcrumbNav a:visited { |
|
31 color: #006699; |
|
32 } |
|
33 .breadcrumbNav a:link, .breadcrumbNav a:visited { |
|
34 text-decoration: underline; |
|
35 } |
|
36 .breadcrumbNav { |
|
37 margin: 0.0em; |
|
38 padding: 0.0em; |
|
39 text-align: left; |
|
40 font-weight: bold; |
|
41 } |
|
42 .breadcrumbNav .separator { |
|
43 color: #ff9900; |
|
44 } |
|
45 |
|
46 .DocSetBox { |
|
47 background-image: none; |
|
48 background-color: #006699; /* Symbian Blue */ |
|
49 color: #aaccee; /* Lightish blue */ |
|
50 } |
|
51 |
|
52 .DocSetBox p { |
|
53 font-family: meta, arial, sans-serif; |
|
54 font-size: 12px; |
|
55 font-weight: bold; |
|
56 margin-left: 0.5em; |
|
57 } |
|
58 |
|
59 .LogoBox |
|
60 |
|
61 .DocSetBox p a:link, |
|
62 .DocSetBox p a:visited |
|
63 { |
|
64 color: white; |
|
65 text-decoration: none; |
|
66 } |
|
67 |
|
68 .ButtonBox { |
|
69 background-color: white; /* contrast with dark-blue image text */ |
|
70 color: black; /* for imageless people */ |
|
71 /* |
|
72 Background image must be defined separately in each file due to |
|
73 widespread lack of standards compliance in UAs. |
|
74 */ |
|
75 } |
|
76 |
|
77 .ButtonBox p, |
|
78 .DocSetBox p |
|
79 { |
|
80 margin-top: 0em; |
|
81 margin-bottom: 0em; |
|
82 padding-top: 1px; |
|
83 padding-bottom: 1px; |
|
84 } |
|
85 |
|
86 |
|
87 .copyrightStatement { |
|
88 font-size: 12px; |
|
89 } |
|
90 |
|
91 |
|
92 /* Ordinary items in the main area */ |
|
93 |
|
94 h1, h2, h3, h4, h5, h6 { |
|
95 font-family: arial, lucida, helvetica, verdana, sans-serif; |
|
96 font-weight: normal; |
|
97 font-style: normal; |
|
98 font-weight: bold; |
|
99 color: #333333; |
|
100 padding-left: 0.1em; |
|
101 } |
|
102 |
|
103 |
|
104 h1 { font-size: 180%; } |
|
105 h2 { font-size: 140%; } |
|
106 h3 { font-size: 120%; } |
|
107 h4 { font-size: 100%; padding-left: 0em; } |
|
108 h5 { font-size: 100%; padding-left: 0em; } |
|
109 h6 { font-size: 100%; padding-left: 0em; } |
|
110 |
|
111 .Title { text-align: left; font-weight: bold; font-size: 180%; } |
|
112 .Author { text-align: right; font-style: italic;} |
|
113 .Abstract { margin-left: 9%; margin-right: 2%; font-style: italic; font-size: 12pt; |
|
114 font-family: arial, lucida, helvetica, verdana, |
|
115 sans-serif; font-weight: normal;} |
|
116 .Contents1 {margin-left: 3%; margin-right: 2%;}; |
|
117 .Contents2 {margin-left: 9%; margin-right: 2%;}; |
|
118 .Head1 { margin-left: 0%; } |
|
119 .Head2 { margin-left: 3%; } |
|
120 .Head3 { margin-left: 6%; } |
|
121 .Bodytext { margin-left: 9%; margin-right: 2%; } |
|
122 |
|
123 code, pre, .CodeBlock, tt, kbd, samp { |
|
124 font-family: courier new, courier, lucida console, |
|
125 lucida typewriter, monospace; |
|
126 } |
|
127 |
|
128 |
|
129 /* Blocks of special information */ |
|
130 |
|
131 .Structure, .CodeBlock, .Prototype, .Instructions, .Process, .Concept, |
|
132 .Guideline, .DataDescription, .Classification, .Example |
|
133 { |
|
134 padding: 0.33em; |
|
135 border: solid white 1px; /* Netscape 4.x workaround. */ |
|
136 background-color: #dddddd; |
|
137 display: block; |
|
138 width: 100%; |
|
139 margin-right: 1%; |
|
140 } |
|
141 |
|
142 |
|
143 .CodeBlock, |
|
144 .Prototype |
|
145 { |
|
146 border: solid white 1px; |
|
147 background-color: #dddddd; |
|
148 } |
|
149 |
|
150 |
|
151 /* CodeBlocks in blue boxes want to be blue too. */ |
|
152 |
|
153 .Structure .CodeBlock, |
|
154 .Instructions .CodeBlock, |
|
155 .Process .CodeBlock, |
|
156 .Concept .CodeBlock, |
|
157 .Guideline .CodeBlock, |
|
158 .DataDescription .CodeBlock, |
|
159 .Classification .CodeBlock, |
|
160 .Example .CodeBlock |
|
161 { |
|
162 background-color: #cccccc; |
|
163 border: solid #dddddd 1px; |
|
164 } |
|
165 |
|
166 |
|
167 /* Tables. It would be nice to have the cell and border colours adapt |
|
168 to whatever the background colour is rather than just being grey. */ |
|
169 |
|
170 td.Cell { |
|
171 background-color: white; |
|
172 color: black; |
|
173 text-align: left; |
|
174 } |
|
175 |
|
176 th.Cell { |
|
177 background-color: #eeeeee; |
|
178 color: black; |
|
179 text-align: left; |
|
180 font-weight: bold; |
|
181 } |
|
182 |
|
183 .TableWrap, .ValueTableWrap { |
|
184 background-color: #aaaaaa; |
|
185 color: white; |
|
186 } |
|
187 |
|
188 /* Figures */ |
|
189 |
|
190 /* This was messing up IE5's tables... |
|
191 .Figure { |
|
192 margin-left: 5%; |
|
193 margin-right: 5%; |
|
194 } |
|
195 */ |
|
196 |
|
197 .Figure .Caption, .Figure .Image, .RelatedItems .Image { |
|
198 text-align: center; |
|
199 } |
|
200 |
|
201 .Caption { |
|
202 font-style: italic; |
|
203 } |
|
204 |
|
205 |
|
206 /* Other */ |
|
207 |
|
208 .unresolvedLink { |
|
209 color: #ff0000; |
|
210 background-color: #ffddbb; |
|
211 } |
|
212 |
|
213 |
|
214 /* Glossary layout */ |
|
215 |
|
216 /* |
|
217 .Glossary dd p, |
|
218 .Glossary dd ul, |
|
219 .Glossary dd ol |
|
220 { margin: 0.5em; } |
|
221 */ |
|
222 |
|
223 /* |
|
224 .Glossary dd, |
|
225 { |
|
226 margin-top: 1.0em; |
|
227 } |
|
228 */ |
|
229 |
|
230 .Glossary dt { margin-top: 1.5em; } |
|
231 |