1 | /* |
---|
2 | * haiku.css_t |
---|
3 | * ~~~~~~~~~~~ |
---|
4 | * |
---|
5 | * Sphinx stylesheet -- haiku theme. |
---|
6 | * |
---|
7 | * Adapted from http://haiku-os.org/docs/Haiku-doc.css. |
---|
8 | * Original copyright message: |
---|
9 | * |
---|
10 | * Copyright 2008-2009, Haiku. All rights reserved. |
---|
11 | * Distributed under the terms of the MIT License. |
---|
12 | * |
---|
13 | * Authors: |
---|
14 | * Francois Revol <revol@free.fr> |
---|
15 | * Stephan Assmus <superstippi@gmx.de> |
---|
16 | * Braden Ewing <brewin@gmail.com> |
---|
17 | * Humdinger <humdingerb@gmail.com> |
---|
18 | * |
---|
19 | * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. |
---|
20 | * :license: BSD, see LICENSE for details. |
---|
21 | * |
---|
22 | */ |
---|
23 | |
---|
24 | @import url("basic.css"); |
---|
25 | |
---|
26 | html { |
---|
27 | margin: 0px; |
---|
28 | padding: 0px; |
---|
29 | background: #FFF url(bg-page.png) top left repeat-x; |
---|
30 | } |
---|
31 | |
---|
32 | body { |
---|
33 | line-height: 1.5; |
---|
34 | margin: auto; |
---|
35 | padding: 0px; |
---|
36 | font-family: "DejaVu Sans", Arial, Helvetica, sans-serif; |
---|
37 | min-width: 59em; |
---|
38 | max-width: 70em; |
---|
39 | color: #333333; |
---|
40 | } |
---|
41 | |
---|
42 | div.footer { |
---|
43 | padding: 8px; |
---|
44 | font-size: 11px; |
---|
45 | text-align: center; |
---|
46 | letter-spacing: 0.5px; |
---|
47 | } |
---|
48 | |
---|
49 | /* link colors and text decoration */ |
---|
50 | |
---|
51 | a:link { |
---|
52 | font-weight: bold; |
---|
53 | text-decoration: none; |
---|
54 | color: #dc3c01; |
---|
55 | } |
---|
56 | |
---|
57 | a:visited { |
---|
58 | font-weight: bold; |
---|
59 | text-decoration: none; |
---|
60 | color: #892601; |
---|
61 | } |
---|
62 | |
---|
63 | a:hover, a:active { |
---|
64 | text-decoration: underline; |
---|
65 | color: #ff4500; |
---|
66 | } |
---|
67 | |
---|
68 | /* Some headers act as anchors, don't give them a hover effect */ |
---|
69 | |
---|
70 | h1 a:hover, a:active { |
---|
71 | text-decoration: none; |
---|
72 | color: #0c3762; |
---|
73 | } |
---|
74 | |
---|
75 | h2 a:hover, a:active { |
---|
76 | text-decoration: none; |
---|
77 | color: #0c3762; |
---|
78 | } |
---|
79 | |
---|
80 | h3 a:hover, a:active { |
---|
81 | text-decoration: none; |
---|
82 | color: #0c3762; |
---|
83 | } |
---|
84 | |
---|
85 | h4 a:hover, a:active { |
---|
86 | text-decoration: none; |
---|
87 | color: #0c3762; |
---|
88 | } |
---|
89 | |
---|
90 | a.headerlink { |
---|
91 | color: #a7ce38; |
---|
92 | padding-left: 5px; |
---|
93 | } |
---|
94 | |
---|
95 | a.headerlink:hover { |
---|
96 | color: #a7ce38; |
---|
97 | } |
---|
98 | |
---|
99 | /* basic text elements */ |
---|
100 | |
---|
101 | div.content { |
---|
102 | margin-top: 20px; |
---|
103 | margin-left: 40px; |
---|
104 | margin-right: 40px; |
---|
105 | margin-bottom: 50px; |
---|
106 | font-size: 0.9em; |
---|
107 | } |
---|
108 | |
---|
109 | /* heading and navigation */ |
---|
110 | |
---|
111 | div.header { |
---|
112 | position: relative; |
---|
113 | left: 0px; |
---|
114 | top: 0px; |
---|
115 | height: 85px; |
---|
116 | /* background: #eeeeee; */ |
---|
117 | padding: 0 40px; |
---|
118 | } |
---|
119 | div.header h1 { |
---|
120 | font-size: 1.6em; |
---|
121 | font-weight: normal; |
---|
122 | letter-spacing: 1px; |
---|
123 | color: #0c3762; |
---|
124 | border: 0; |
---|
125 | margin: 0; |
---|
126 | padding-top: 15px; |
---|
127 | } |
---|
128 | div.header h1 a { |
---|
129 | font-weight: normal; |
---|
130 | color: #0c3762; |
---|
131 | } |
---|
132 | div.header h2 { |
---|
133 | font-size: 1.3em; |
---|
134 | font-weight: normal; |
---|
135 | letter-spacing: 1px; |
---|
136 | text-transform: uppercase; |
---|
137 | color: #aaa; |
---|
138 | border: 0; |
---|
139 | margin-top: -3px; |
---|
140 | padding: 0; |
---|
141 | } |
---|
142 | |
---|
143 | div.header img.rightlogo { |
---|
144 | float: right; |
---|
145 | } |
---|
146 | |
---|
147 | |
---|
148 | div.title { |
---|
149 | font-size: 1.3em; |
---|
150 | font-weight: bold; |
---|
151 | color: #0c3762; |
---|
152 | border-bottom: dotted thin #e0e0e0; |
---|
153 | margin-bottom: 25px; |
---|
154 | } |
---|
155 | div.topnav { |
---|
156 | /* background: #e0e0e0; */ |
---|
157 | } |
---|
158 | div.topnav p { |
---|
159 | margin-top: 0; |
---|
160 | margin-left: 40px; |
---|
161 | margin-right: 40px; |
---|
162 | margin-bottom: 0px; |
---|
163 | text-align: right; |
---|
164 | font-size: 0.8em; |
---|
165 | } |
---|
166 | div.bottomnav { |
---|
167 | background: #eeeeee; |
---|
168 | } |
---|
169 | div.bottomnav p { |
---|
170 | margin-right: 40px; |
---|
171 | text-align: right; |
---|
172 | font-size: 0.8em; |
---|
173 | } |
---|
174 | |
---|
175 | a.uplink { |
---|
176 | font-weight: normal; |
---|
177 | } |
---|
178 | |
---|
179 | |
---|
180 | /* contents box */ |
---|
181 | |
---|
182 | table.index { |
---|
183 | margin: 0px 0px 30px 30px; |
---|
184 | padding: 1px; |
---|
185 | border-width: 1px; |
---|
186 | border-style: dotted; |
---|
187 | border-color: #e0e0e0; |
---|
188 | } |
---|
189 | table.index tr.heading { |
---|
190 | background-color: #e0e0e0; |
---|
191 | text-align: center; |
---|
192 | font-weight: bold; |
---|
193 | font-size: 1.1em; |
---|
194 | } |
---|
195 | table.index tr.index { |
---|
196 | background-color: #eeeeee; |
---|
197 | } |
---|
198 | table.index td { |
---|
199 | padding: 5px 20px; |
---|
200 | } |
---|
201 | |
---|
202 | table.index a:link, table.index a:visited { |
---|
203 | font-weight: normal; |
---|
204 | text-decoration: none; |
---|
205 | color: #dc3c01; |
---|
206 | } |
---|
207 | table.index a:hover, table.index a:active { |
---|
208 | text-decoration: underline; |
---|
209 | color: #ff4500; |
---|
210 | } |
---|
211 | |
---|
212 | |
---|
213 | /* Haiku User Guide styles and layout */ |
---|
214 | |
---|
215 | /* Rounded corner boxes */ |
---|
216 | /* Common declarations */ |
---|
217 | div.admonition { |
---|
218 | -webkit-border-radius: 10px; |
---|
219 | -khtml-border-radius: 10px; |
---|
220 | -moz-border-radius: 10px; |
---|
221 | border-radius: 10px; |
---|
222 | border-style: dotted; |
---|
223 | border-width: thin; |
---|
224 | border-color: #dcdcdc; |
---|
225 | padding: 10px 15px 10px 15px; |
---|
226 | margin-bottom: 15px; |
---|
227 | margin-top: 15px; |
---|
228 | } |
---|
229 | div.note { |
---|
230 | padding: 10px 15px 10px 80px; |
---|
231 | background: #e4ffde url(alert_info_32.png) 15px 15px no-repeat; |
---|
232 | min-height: 42px; |
---|
233 | } |
---|
234 | div.warning { |
---|
235 | padding: 10px 15px 10px 80px; |
---|
236 | background: #fffbc6 url(alert_warning_32.png) 15px 15px no-repeat; |
---|
237 | min-height: 42px; |
---|
238 | } |
---|
239 | div.seealso { |
---|
240 | background: #e4ffde; |
---|
241 | } |
---|
242 | |
---|
243 | /* More layout and styles */ |
---|
244 | h1 { |
---|
245 | font-size: 1.3em; |
---|
246 | font-weight: bold; |
---|
247 | color: #0c3762; |
---|
248 | border-bottom: dotted thin #e0e0e0; |
---|
249 | margin-top: 30px; |
---|
250 | } |
---|
251 | |
---|
252 | h2 { |
---|
253 | font-size: 1.2em; |
---|
254 | font-weight: normal; |
---|
255 | color: #0c3762; |
---|
256 | border-bottom: dotted thin #e0e0e0; |
---|
257 | margin-top: 30px; |
---|
258 | } |
---|
259 | |
---|
260 | h3 { |
---|
261 | font-size: 1.1em; |
---|
262 | font-weight: normal; |
---|
263 | color: #0c3762; |
---|
264 | margin-top: 30px; |
---|
265 | } |
---|
266 | |
---|
267 | h4 { |
---|
268 | font-size: 1.0em; |
---|
269 | font-weight: normal; |
---|
270 | color: #0c3762; |
---|
271 | margin-top: 30px; |
---|
272 | } |
---|
273 | |
---|
274 | p { |
---|
275 | text-align: justify; |
---|
276 | } |
---|
277 | |
---|
278 | p.last { |
---|
279 | margin-bottom: 0; |
---|
280 | } |
---|
281 | |
---|
282 | ol { |
---|
283 | padding-left: 20px; |
---|
284 | } |
---|
285 | |
---|
286 | ul { |
---|
287 | padding-left: 5px; |
---|
288 | margin-top: 3px; |
---|
289 | } |
---|
290 | |
---|
291 | li { |
---|
292 | line-height: 1.3; |
---|
293 | } |
---|
294 | |
---|
295 | div.content ul > li { |
---|
296 | -moz-background-clip:border; |
---|
297 | -moz-background-inline-policy:continuous; |
---|
298 | -moz-background-origin:padding; |
---|
299 | background: transparent url(bullet_orange.png) no-repeat scroll left 0.45em; |
---|
300 | list-style-image: none; |
---|
301 | list-style-type: none; |
---|
302 | padding: 0 0 0 1.666em; |
---|
303 | margin-bottom: 3px; |
---|
304 | } |
---|
305 | |
---|
306 | td { |
---|
307 | vertical-align: top; |
---|
308 | } |
---|
309 | |
---|
310 | tt { |
---|
311 | background-color: #e2e2e2; |
---|
312 | font-size: 1.0em; |
---|
313 | font-family: monospace; |
---|
314 | } |
---|
315 | |
---|
316 | pre { |
---|
317 | border-color: #0c3762; |
---|
318 | border-style: dotted; |
---|
319 | border-width: thin; |
---|
320 | margin: 0 0 12px 0; |
---|
321 | padding: 0.8em; |
---|
322 | background-color: #f0f0f0; |
---|
323 | } |
---|
324 | |
---|
325 | hr { |
---|
326 | border-top: 1px solid #ccc; |
---|
327 | border-bottom: 0; |
---|
328 | border-right: 0; |
---|
329 | border-left: 0; |
---|
330 | margin-bottom: 10px; |
---|
331 | margin-top: 20px; |
---|
332 | } |
---|
333 | |
---|
334 | /* printer only pretty stuff */ |
---|
335 | @media print { |
---|
336 | .noprint { |
---|
337 | display: none; |
---|
338 | } |
---|
339 | /* for acronyms we want their definitions inlined at print time */ |
---|
340 | acronym[title]:after { |
---|
341 | font-size: small; |
---|
342 | content: " (" attr(title) ")"; |
---|
343 | font-style: italic; |
---|
344 | } |
---|
345 | /* and not have mozilla dotted underline */ |
---|
346 | acronym { |
---|
347 | border: none; |
---|
348 | } |
---|
349 | div.topnav, div.bottomnav, div.header, table.index { |
---|
350 | display: none; |
---|
351 | } |
---|
352 | div.content { |
---|
353 | margin: 0px; |
---|
354 | padding: 0px; |
---|
355 | } |
---|
356 | html { |
---|
357 | background: #FFF; |
---|
358 | } |
---|
359 | } |
---|
360 | |
---|
361 | .viewcode-back { |
---|
362 | font-family: "DejaVu Sans", Arial, Helvetica, sans-serif; |
---|
363 | } |
---|
364 | |
---|
365 | div.viewcode-block:target { |
---|
366 | background-color: #f4debf; |
---|
367 | border-top: 1px solid #ac9; |
---|
368 | border-bottom: 1px solid #ac9; |
---|
369 | margin: -1px -10px; |
---|
370 | padding: 0 12px; |
---|
371 | } |
---|