##// END OF EJS Templates
Add some spacing below h3 headers in HTML docs
Thomas Kluyver -
Show More
@@ -1,534 +1,534
1 1 /**
2 2 * Alternate Sphinx design
3 3 * Originally created by Armin Ronacher for Werkzeug, adapted by Georg Brandl.
4 4 */
5 5
6 6 body {
7 7 font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif;
8 8 font-size: 14px;
9 9 letter-spacing: -0.01em;
10 10 line-height: 150%;
11 11 text-align: center;
12 12 /*background-color: #AFC1C4; */
13 13 background-color: #BFD1D4;
14 14 color: black;
15 15 padding: 0;
16 16 border: 1px solid #aaa;
17 17
18 18 margin: 0px 80px 0px 80px;
19 19 min-width: 740px;
20 20 }
21 21
22 22 a {
23 23 color: #CA7900;
24 24 text-decoration: none;
25 25 }
26 26
27 27 a:hover {
28 28 color: #2491CF;
29 29 }
30 30
31 31 pre {
32 32 font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
33 33 font-size: 0.95em;
34 34 letter-spacing: 0.015em;
35 35 padding: 0.5em;
36 36 border: 1px solid #ccc;
37 37 background-color: #f8f8f8;
38 38 }
39 39
40 40 td.linenos pre {
41 41 padding: 0.5em 0;
42 42 border: 0;
43 43 background-color: transparent;
44 44 color: #aaa;
45 45 }
46 46
47 47 table.highlighttable {
48 48 margin-left: 0.5em;
49 49 }
50 50
51 51 table.highlighttable td {
52 52 padding: 0 0.5em 0 0.5em;
53 53 }
54 54
55 55 cite, code, tt {
56 56 font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
57 57 font-size: 0.95em;
58 58 letter-spacing: 0.01em;
59 59 }
60 60
61 61 hr {
62 62 border: 1px solid #abc;
63 63 margin: 2em;
64 64 }
65 65
66 66 tt {
67 67 background-color: #f2f2f2;
68 68 border-bottom: 1px solid #ddd;
69 69 color: #333;
70 70 }
71 71
72 72 tt.descname {
73 73 background-color: transparent;
74 74 font-weight: bold;
75 75 font-size: 1.2em;
76 76 border: 0;
77 77 }
78 78
79 79 tt.descclassname {
80 80 background-color: transparent;
81 81 border: 0;
82 82 }
83 83
84 84 tt.xref {
85 85 background-color: transparent;
86 86 font-weight: bold;
87 87 border: 0;
88 88 }
89 89
90 90 a tt {
91 91 background-color: transparent;
92 92 font-weight: bold;
93 93 border: 0;
94 94 color: #CA7900;
95 95 }
96 96
97 97 a tt:hover {
98 98 color: #2491CF;
99 99 }
100 100
101 101 dl {
102 102 margin-bottom: 15px;
103 103 }
104 104
105 105 dd p {
106 106 margin-top: 0px;
107 107 }
108 108
109 109 dd ul, dd table {
110 110 margin-bottom: 10px;
111 111 }
112 112
113 113 dd {
114 114 margin-top: 3px;
115 115 margin-bottom: 10px;
116 116 margin-left: 30px;
117 117 }
118 118
119 119 .refcount {
120 120 color: #060;
121 121 }
122 122
123 123 dt {
124 124 font-weight: bold;
125 125 padding-left: 0.5em;
126 126 }
127 127
128 128 dt:target,
129 129 .highlight {
130 130 background-color: #fbe54e;
131 131 }
132 132
133 133 dl.class, dl.function {
134 134 border-top: 2px solid #888;
135 135 }
136 136
137 137 dl.method, dl.attribute {
138 138 border-top: 1px solid #aaa;
139 139 }
140 140
141 141 dl.glossary dt {
142 142 font-weight: bold;
143 143 font-size: 1.1em;
144 144 }
145 145
146 146 pre {
147 147 line-height: 120%;
148 148 }
149 149
150 150 pre a {
151 151 color: inherit;
152 152 text-decoration: underline;
153 153 }
154 154
155 155 .first {
156 156 margin-top: 0 !important;
157 157 }
158 158
159 159 div.document {
160 160 background-color: white;
161 161 text-align: left;
162 162 background-image: url(contents.png);
163 163 background-repeat: repeat-x;
164 164 }
165 165
166 166 /*
167 167 div.documentwrapper {
168 168 width: 100%;
169 169 }
170 170 */
171 171
172 172 div.clearer {
173 173 clear: both;
174 174 }
175 175
176 176 div.related h3 {
177 177 display: none;
178 178 }
179 179
180 180 div.related ul {
181 181 background-image: url(navigation.png);
182 182 height: 2em;
183 183 list-style: none;
184 184 border-top: 1px solid #ddd;
185 185 border-bottom: 1px solid #ddd;
186 186 margin: 0;
187 187 padding-left: 10px;
188 188 }
189 189
190 190 div.related ul li {
191 191 margin: 0;
192 192 padding: 0;
193 193 height: 2em;
194 194 float: left;
195 195 }
196 196
197 197 div.related ul li.right {
198 198 float: right;
199 199 margin-right: 5px;
200 200 }
201 201
202 202 div.related ul li a {
203 203 margin: 0;
204 204 padding: 0 5px 0 5px;
205 205 line-height: 1.75em;
206 206 color: #EE9816;
207 207 }
208 208
209 209 div.related ul li a:hover {
210 210 color: #3CA8E7;
211 211 }
212 212
213 213 div.body {
214 214 margin: 0;
215 215 padding: 0.5em 20px 20px 20px;
216 216 }
217 217
218 218 div.bodywrapper {
219 219 margin: 0 240px 0 0;
220 220 border-right: 1px solid #ccc;
221 221 }
222 222
223 223 div.body a {
224 224 text-decoration: underline;
225 225 }
226 226
227 227 div.sphinxsidebar {
228 228 margin: 0;
229 229 padding: 0.5em 15px 15px 0;
230 230 width: 210px;
231 231 float: right;
232 232 text-align: left;
233 233 /* margin-left: -100%; */
234 234 }
235 235
236 236 div.sphinxsidebar h4, div.sphinxsidebar h3 {
237 237 margin: 1em 0 0.5em 0;
238 238 font-size: 0.9em;
239 239 padding: 0.1em 0 0.1em 0.5em;
240 240 color: white;
241 241 border: 1px solid #86989B;
242 242 background-color: #AFC1C4;
243 243 }
244 244
245 245 div.sphinxsidebar ul {
246 246 padding-left: 1.5em;
247 247 margin-top: 7px;
248 248 list-style: none;
249 249 padding: 0;
250 250 line-height: 130%;
251 251 }
252 252
253 253 div.sphinxsidebar ul ul {
254 254 list-style: square;
255 255 margin-left: 20px;
256 256 }
257 257
258 258 p {
259 259 margin: 0.8em 0 0.5em 0;
260 260 }
261 261
262 262 p.rubric {
263 263 font-weight: bold;
264 264 }
265 265
266 266 h1 {
267 267 margin: 0;
268 268 padding: 0.7em 0 0.3em 0;
269 269 font-size: 1.5em;
270 270 color: #11557C;
271 271 }
272 272
273 273 h2 {
274 274 margin: 1.3em 0 0.2em 0;
275 275 font-size: 1.35em;
276 276 padding: 0;
277 277 }
278 278
279 279 h3 {
280 margin: 1em 0 -0.3em 0;
280 margin: 1em 0 0.2em 0;
281 281 font-size: 1.2em;
282 282 }
283 283
284 284 h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
285 285 color: black!important;
286 286 }
287 287
288 288 h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor {
289 289 display: none;
290 290 margin: 0 0 0 0.3em;
291 291 padding: 0 0.2em 0 0.2em;
292 292 color: #aaa!important;
293 293 }
294 294
295 295 h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor,
296 296 h5:hover a.anchor, h6:hover a.anchor {
297 297 display: inline;
298 298 }
299 299
300 300 h1 a.anchor:hover, h2 a.anchor:hover, h3 a.anchor:hover, h4 a.anchor:hover,
301 301 h5 a.anchor:hover, h6 a.anchor:hover {
302 302 color: #777;
303 303 background-color: #eee;
304 304 }
305 305
306 306 table {
307 307 border-collapse: collapse;
308 308 margin: 0 -0.5em 0 -0.5em;
309 309 }
310 310
311 311 table td, table th {
312 312 padding: 0.2em 0.5em 0.2em 0.5em;
313 313 }
314 314
315 315 div.footer {
316 316 background-color: #E3EFF1;
317 317 color: #86989B;
318 318 padding: 3px 8px 3px 0;
319 319 clear: both;
320 320 font-size: 0.8em;
321 321 text-align: right;
322 322 }
323 323
324 324 div.footer a {
325 325 color: #86989B;
326 326 text-decoration: underline;
327 327 }
328 328
329 329 div.pagination {
330 330 margin-top: 2em;
331 331 padding-top: 0.5em;
332 332 border-top: 1px solid black;
333 333 text-align: center;
334 334 }
335 335
336 336 div.sphinxsidebar ul.toc {
337 337 margin: 1em 0 1em 0;
338 338 padding: 0 0 0 0.5em;
339 339 list-style: none;
340 340 }
341 341
342 342 div.sphinxsidebar ul.toc li {
343 343 margin: 0.5em 0 0.5em 0;
344 344 font-size: 0.9em;
345 345 line-height: 130%;
346 346 }
347 347
348 348 div.sphinxsidebar ul.toc li p {
349 349 margin: 0;
350 350 padding: 0;
351 351 }
352 352
353 353 div.sphinxsidebar ul.toc ul {
354 354 margin: 0.2em 0 0.2em 0;
355 355 padding: 0 0 0 1.8em;
356 356 }
357 357
358 358 div.sphinxsidebar ul.toc ul li {
359 359 padding: 0;
360 360 }
361 361
362 362 div.admonition, div.warning {
363 363 font-size: 0.9em;
364 364 margin: 1em 0 0 0;
365 365 border: 1px solid #86989B;
366 366 background-color: #f7f7f7;
367 367 }
368 368
369 369 div.admonition p, div.warning p {
370 370 margin: 0.5em 1em 0.5em 1em;
371 371 padding: 0;
372 372 }
373 373
374 374 div.admonition pre, div.warning pre {
375 375 margin: 0.4em 1em 0.4em 1em;
376 376 }
377 377
378 378 div.admonition p.admonition-title,
379 379 div.warning p.admonition-title {
380 380 margin: 0;
381 381 padding: 0.1em 0 0.1em 0.5em;
382 382 color: white;
383 383 border-bottom: 1px solid #86989B;
384 384 font-weight: bold;
385 385 background-color: #AFC1C4;
386 386 }
387 387
388 388 div.warning {
389 389 border: 1px solid #940000;
390 390 }
391 391
392 392 div.warning p.admonition-title {
393 393 background-color: #CF0000;
394 394 border-bottom-color: #940000;
395 395 }
396 396
397 397 div.admonition ul, div.admonition ol,
398 398 div.warning ul, div.warning ol {
399 399 margin: 0.1em 0.5em 0.5em 3em;
400 400 padding: 0;
401 401 }
402 402
403 403 div.versioninfo {
404 404 margin: 1em 0 0 0;
405 405 border: 1px solid #ccc;
406 406 background-color: #DDEAF0;
407 407 padding: 8px;
408 408 line-height: 1.3em;
409 409 font-size: 0.9em;
410 410 }
411 411
412 412
413 413 a.headerlink {
414 414 color: #c60f0f!important;
415 415 font-size: 1em;
416 416 margin-left: 6px;
417 417 padding: 0 4px 0 4px;
418 418 text-decoration: none!important;
419 419 visibility: hidden;
420 420 }
421 421
422 422 h1:hover > a.headerlink,
423 423 h2:hover > a.headerlink,
424 424 h3:hover > a.headerlink,
425 425 h4:hover > a.headerlink,
426 426 h5:hover > a.headerlink,
427 427 h6:hover > a.headerlink,
428 428 dt:hover > a.headerlink {
429 429 visibility: visible;
430 430 }
431 431
432 432 a.headerlink:hover {
433 433 background-color: #ccc;
434 434 color: white!important;
435 435 }
436 436
437 437 table.indextable td {
438 438 text-align: left;
439 439 vertical-align: top;
440 440 }
441 441
442 442 table.indextable dl, table.indextable dd {
443 443 margin-top: 0;
444 444 margin-bottom: 0;
445 445 }
446 446
447 447 table.indextable tr.pcap {
448 448 height: 10px;
449 449 }
450 450
451 451 table.indextable tr.cap {
452 452 margin-top: 10px;
453 453 background-color: #f2f2f2;
454 454 }
455 455
456 456 img.toggler {
457 457 margin-right: 3px;
458 458 margin-top: 3px;
459 459 cursor: pointer;
460 460 }
461 461
462 462 img.inheritance {
463 463 border: 0px
464 464 }
465 465
466 466 form.pfform {
467 467 margin: 10px 0 20px 0;
468 468 }
469 469
470 470 table.contentstable {
471 471 width: 90%;
472 472 }
473 473
474 474 table.contentstable p.biglink {
475 475 line-height: 150%;
476 476 }
477 477
478 478 a.biglink {
479 479 font-size: 1.3em;
480 480 }
481 481
482 482 span.linkdescr {
483 483 font-style: italic;
484 484 padding-top: 5px;
485 485 font-size: 90%;
486 486 }
487 487
488 488 .search input[name=q] {
489 489 max-width: 100%;
490 490 box-sizing: border-box;
491 491 -moz-box-sizing: border-box;
492 492 }
493 493
494 494 ul.search {
495 495 margin: 10px 0 0 20px;
496 496 padding: 0;
497 497 }
498 498
499 499 ul.search li {
500 500 padding: 5px 0 5px 20px;
501 501 background-image: url(file.png);
502 502 background-repeat: no-repeat;
503 503 background-position: 0 7px;
504 504 }
505 505
506 506 ul.search li a {
507 507 font-weight: bold;
508 508 }
509 509
510 510 ul.search li div.context {
511 511 color: #888;
512 512 margin: 2px 0 0 30px;
513 513 text-align: left;
514 514 }
515 515
516 516 ul.keywordmatches li.goodmatch a {
517 517 font-weight: bold;
518 518 }
519 519 div.figure {
520 520 text-align: center;
521 521 }
522 522
523 523 div.versionchanged {
524 524 margin-left: 30px;
525 525 margin-right: 30px;
526 526 }
527 527
528 528 span.versionmodified {
529 529 font-style: italic;
530 530 }
531 531
532 532 pre {
533 533 white-space: pre-wrap;
534 } No newline at end of file
534 }
General Comments 0
You need to be logged in to leave comments. Login now