~ubuntu-branches/ubuntu/natty/sphinx/natty

« back to all changes in this revision

Viewing changes to sphinx/themes/traditional/static/traditional.css

  • Committer: Bazaar Package Importer
  • Author(s): Mikhail Gusarov, Mikhail Gusarov, Piotr Ożarowski
  • Date: 2009-04-12 14:37:30 UTC
  • mfrom: (5.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090412143730-nb04j8o5cul2cquo
Tags: 0.6.1-2
[ Mikhail Gusarov ]
* Fix debian/README.source: s/dpatch/quilt/ (Closes: #523293).
* Add debian/rfind-invocation.patch, fixing breakage on python-werkzeug
  docs.

[ Piotr Ożarowski ]
* Install .mo files (Closes: #526027)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * Sphinx Doc Design -- traditional python.org style
 
3
 */
 
4
 
 
5
body {
 
6
    color: #000;
 
7
    margin: 0;
 
8
    padding: 0;
 
9
}
 
10
 
 
11
/* :::: LAYOUT :::: */
 
12
 
 
13
div.documentwrapper {
 
14
    float: left;
 
15
    width: 100%;
 
16
}
 
17
 
 
18
div.bodywrapper {
 
19
    margin: 0 230px 0 0;
 
20
}
 
21
 
 
22
div.body {
 
23
    background-color: white;
 
24
    padding: 0 20px 30px 20px;
 
25
}
 
26
 
 
27
div.sphinxsidebarwrapper {
 
28
    border: 1px solid #99ccff;
 
29
    padding: 10px;
 
30
    margin: 10px 15px 10px 0;
 
31
}
 
32
 
 
33
div.sphinxsidebar {
 
34
    float: right;
 
35
    margin-left: -100%;
 
36
    width: 230px;
 
37
}
 
38
 
 
39
div.clearer {
 
40
    clear: both;
 
41
}
 
42
 
 
43
div.footer {
 
44
    clear: both;
 
45
    width: 100%;
 
46
    background-color: #99ccff;
 
47
    padding: 9px 0 9px 0;
 
48
    text-align: center;
 
49
}
 
50
 
 
51
div.related {
 
52
    background-color: #99ccff;
 
53
    color: #333;
 
54
    width: 100%;
 
55
    height: 30px;
 
56
    line-height: 30px;
 
57
    border-bottom: 5px solid white;
 
58
}
 
59
 
 
60
div.related h3 {
 
61
    display: none;
 
62
}
 
63
 
 
64
div.related ul {
 
65
    margin: 0;
 
66
    padding: 0 0 0 10px;
 
67
    list-style: none;
 
68
}
 
69
 
 
70
div.related li {
 
71
    display: inline;
 
72
    font-weight: bold;
 
73
}
 
74
 
 
75
div.related li.right {
 
76
    float: right;
 
77
    margin-right: 5px;
 
78
}
 
79
 
 
80
/* ::: SIDEBAR :::: */
 
81
div.sphinxsidebar h3 {
 
82
    margin: 0;
 
83
}
 
84
 
 
85
div.sphinxsidebar h4 {
 
86
    margin: 5px 0 0 0;
 
87
}
 
88
 
 
89
div.sphinxsidebar p.topless {
 
90
    margin: 5px 10px 10px 10px;
 
91
}
 
92
 
 
93
div.sphinxsidebar ul {
 
94
    margin: 10px;
 
95
    margin-left: 15px;
 
96
    padding: 0;
 
97
}
 
98
 
 
99
div.sphinxsidebar ul ul {
 
100
    margin-top: 0;
 
101
    margin-bottom: 0;
 
102
}
 
103
 
 
104
div.sphinxsidebar form {
 
105
    margin-top: 10px;
 
106
}
 
107
 
 
108
 
 
109
/* :::: SEARCH :::: */
 
110
ul.search {
 
111
    margin: 10px 0 0 20px;
 
112
    padding: 0;
 
113
}
 
114
 
 
115
ul.search li {
 
116
    padding: 5px 0 5px 20px;
 
117
    background-image: url(file.png);
 
118
    background-repeat: no-repeat;
 
119
    background-position: 0 7px;
 
120
}
 
121
 
 
122
ul.search li a {
 
123
    font-weight: bold;
 
124
}
 
125
 
 
126
ul.search li div.context {
 
127
    color: #888;
 
128
    margin: 2px 0 0 30px;
 
129
    text-align: left;
 
130
}
 
131
 
 
132
ul.keywordmatches li.goodmatch a {
 
133
    font-weight: bold;
 
134
}
 
135
 
 
136
/* :::: COMMON FORM STYLES :::: */
 
137
 
 
138
div.actions {
 
139
    border-top: 1px solid #aaa;
 
140
    background-color: #ddd;
 
141
    margin: 10px 0 0 -20px;
 
142
    padding: 5px 0 5px 20px;
 
143
}
 
144
 
 
145
form dl {
 
146
    color: #333;
 
147
}
 
148
 
 
149
form dt {
 
150
    clear: both;
 
151
    float: left;
 
152
    min-width: 110px;
 
153
    margin-right: 10px;
 
154
    padding-top: 2px;
 
155
}
 
156
 
 
157
input#homepage {
 
158
    display: none;
 
159
}
 
160
 
 
161
div.error {
 
162
    margin: 5px 20px 0 0;
 
163
    padding: 5px;
 
164
    border: 1px solid #d00;
 
165
    /*border: 2px solid #05171e;
 
166
    background-color: #092835;
 
167
    color: white;*/
 
168
    font-weight: bold;
 
169
}
 
170
 
 
171
/* :::: INLINE COMMENTS :::: */
 
172
 
 
173
div.inlinecommentswrapper {
 
174
    float: right;
 
175
    max-width: 40%;
 
176
}
 
177
 
 
178
div.commentmarker {
 
179
    float: right;
 
180
    background-image: url(style/comment.png);
 
181
    background-repeat: no-repeat;
 
182
    width: 25px;
 
183
    height: 25px;
 
184
    text-align: center;
 
185
    padding-top: 3px;
 
186
}
 
187
 
 
188
div.nocommentmarker {
 
189
    float: right;
 
190
    background-image: url(style/nocomment.png);
 
191
    background-repeat: no-repeat;
 
192
    width: 25px;
 
193
    height: 25px;
 
194
}
 
195
 
 
196
div.inlinecomments {
 
197
    margin-left: 10px;
 
198
    margin-bottom: 5px;
 
199
    background-color: #eee;
 
200
    border: 1px solid #ccc;
 
201
    padding: 5px;
 
202
}
 
203
 
 
204
div.inlinecomment {
 
205
    border-top: 1px solid #ccc;
 
206
    padding-top: 5px;
 
207
    margin-top: 5px;
 
208
}
 
209
 
 
210
.inlinecomments p {
 
211
    margin: 5px 0 5px 0;
 
212
}
 
213
 
 
214
.inlinecomments .head {
 
215
    font-weight: bold;
 
216
}
 
217
 
 
218
.inlinecomments .meta {
 
219
    font-style: italic;
 
220
}
 
221
 
 
222
 
 
223
/* :::: COMMENTS :::: */
 
224
 
 
225
div#comments h3 {
 
226
    border-top: 1px solid #aaa;
 
227
    padding: 5px 20px 5px 20px;
 
228
    margin: 20px -20px 20px -20px;
 
229
    background-color: #ddd;
 
230
}
 
231
 
 
232
/*
 
233
div#comments {
 
234
    background-color: #ccc;
 
235
    margin: 40px -20px -30px -20px;
 
236
    padding: 0 0 1px 0;
 
237
}
 
238
 
 
239
div#comments h4 {
 
240
    margin: 30px 0 20px 0;
 
241
    background-color: #aaa;
 
242
    border-bottom: 1px solid #09232e;
 
243
    color: #333;
 
244
}
 
245
 
 
246
div#comments form {
 
247
    display: block;
 
248
    margin: 0 0 0 20px;
 
249
}
 
250
 
 
251
div#comments textarea {
 
252
    width: 98%;
 
253
    height: 160px;
 
254
}
 
255
 
 
256
div#comments div.help {
 
257
    margin: 20px 20px 10px 0;
 
258
    background-color: #ccc;
 
259
    color: #333;
 
260
}
 
261
 
 
262
div#comments div.help p {
 
263
    margin: 0;
 
264
    padding: 0 0 10px 0;
 
265
}
 
266
 
 
267
div#comments input, div#comments textarea {
 
268
    font-family: 'Bitstream Vera Sans', 'Arial', sans-serif;
 
269
    font-size: 13px;
 
270
    color: black;
 
271
    background-color: #aaa;
 
272
    border: 1px solid #092835;
 
273
}
 
274
 
 
275
div#comments input[type="reset"],
 
276
div#comments input[type="submit"] {
 
277
    cursor: pointer;
 
278
    font-weight: bold;
 
279
    padding: 2px;
 
280
    margin: 5px 5px 5px 0;
 
281
    background-color: #666;
 
282
    color: white;
 
283
}
 
284
 
 
285
div#comments div.comment {
 
286
    margin: 10px 10px 10px 20px;
 
287
    padding: 10px;
 
288
    border: 1px solid #0f3646;
 
289
    background-color: #aaa;
 
290
    color: #333;
 
291
}
 
292
 
 
293
div#comments div.comment p {
 
294
    margin: 5px 0 5px 0;
 
295
}
 
296
 
 
297
div#comments div.comment p.meta {
 
298
    font-style: italic;
 
299
    color: #444;
 
300
    text-align: right;
 
301
    margin: -5px 0 -5px 0;
 
302
}
 
303
 
 
304
div#comments div.comment h4 {
 
305
    margin: -10px -10px 5px -10px;
 
306
    padding: 3px;
 
307
    font-size: 15px;
 
308
    background-color: #888;
 
309
    color: white;
 
310
    border: 0;
 
311
}
 
312
 
 
313
div#comments div.comment pre,
 
314
div#comments div.comment tt {
 
315
    background-color: #ddd;
 
316
    color: #111;
 
317
    border: none;
 
318
}
 
319
 
 
320
div#comments div.comment a {
 
321
    color: #fff;
 
322
    text-decoration: underline;
 
323
}
 
324
 
 
325
div#comments div.comment blockquote {
 
326
    margin: 10px;
 
327
    padding: 10px;
 
328
    border-left: 1px solid #0f3646;
 
329
    /*border: 1px solid #0f3646;
 
330
    background-color: #071c25;*/
 
331
}
 
332
 
 
333
div#comments em.important {
 
334
    color: #d00;
 
335
    font-weight: bold;
 
336
    font-style: normal;
 
337
}*/
 
338
 
 
339
/* :::: SUGGEST CHANGES :::: */
 
340
div#suggest-changes-box input, div#suggest-changes-box textarea {
 
341
    border: 1px solid #ccc;
 
342
    background-color: white;
 
343
    color: black;
 
344
}
 
345
 
 
346
div#suggest-changes-box textarea {
 
347
    width: 99%;
 
348
    height: 400px;
 
349
}
 
350
 
 
351
 
 
352
/* :::: PREVIEW :::: */
 
353
div.preview {
 
354
    background-image: url(style/preview.png);
 
355
    padding: 0 20px 20px 20px;
 
356
    margin-bottom: 30px;
 
357
}
 
358
 
 
359
 
 
360
/* :::: INDEX PAGE :::: */
 
361
 
 
362
table.contentstable {
 
363
    width: 90%;
 
364
}
 
365
 
 
366
table.contentstable p.biglink {
 
367
    line-height: 150%;
 
368
}
 
369
 
 
370
a.biglink {
 
371
    font-size: 1.5em;
 
372
}
 
373
 
 
374
span.linkdescr {
 
375
    font-style: italic;
 
376
    padding-top: 5px;
 
377
}
 
378
 
 
379
/* :::: GENINDEX STYLES :::: */
 
380
 
 
381
table.indextable td {
 
382
    text-align: left;
 
383
    vertical-align: top;
 
384
}
 
385
 
 
386
table.indextable dl, table.indextable dd {
 
387
    margin-top: 0;
 
388
    margin-bottom: 0;
 
389
}
 
390
 
 
391
table.indextable tr.pcap {
 
392
    height: 10px;
 
393
}
 
394
 
 
395
table.indextable tr.cap {
 
396
    margin-top: 10px;
 
397
    background-color: #f2f2f2;
 
398
}
 
399
 
 
400
img.toggler {
 
401
    margin-right: 3px;
 
402
    margin-top: 3px;
 
403
    cursor: pointer;
 
404
}
 
405
 
 
406
/* :::: GLOBAL STYLES :::: */
 
407
 
 
408
p.subhead {
 
409
    font-weight: bold;
 
410
    margin-top: 20px;
 
411
}
 
412
 
 
413
a:link:active           { color: #ff0000; }
 
414
a:link:hover            { background-color: #bbeeff; }
 
415
a:visited:hover         { background-color: #bbeeff; }
 
416
a:visited               { color: #551a8b; }
 
417
a:link                  { color: #0000bb; }
 
418
 
 
419
div.body h1,
 
420
div.body h2,
 
421
div.body h3,
 
422
div.body h4,
 
423
div.body h5,
 
424
div.body h6 {
 
425
    font-family: avantgarde, sans-serif;
 
426
    font-weight: bold;
 
427
}
 
428
 
 
429
div.body h1 { font-size: 180%; }
 
430
div.body h2 { font-size: 150%; }
 
431
div.body h3 { font-size: 120%; }
 
432
div.body h4 { font-size: 120%; }
 
433
 
 
434
a.headerlink,
 
435
a.headerlink,
 
436
a.headerlink,
 
437
a.headerlink,
 
438
a.headerlink,
 
439
a.headerlink {
 
440
    color: #c60f0f;
 
441
    font-size: 0.8em;
 
442
    padding: 0 4px 0 4px;
 
443
    text-decoration: none;
 
444
    visibility: hidden;
 
445
}
 
446
 
 
447
*:hover > a.headerlink,
 
448
*:hover > a.headerlink,
 
449
*:hover > a.headerlink,
 
450
*:hover > a.headerlink,
 
451
*:hover > a.headerlink,
 
452
*:hover > a.headerlink {
 
453
    visibility: visible;
 
454
}
 
455
 
 
456
a.headerlink:hover,
 
457
a.headerlink:hover,
 
458
a.headerlink:hover,
 
459
a.headerlink:hover,
 
460
a.headerlink:hover,
 
461
a.headerlink:hover {
 
462
    background-color: #c60f0f;
 
463
    color: white;
 
464
}
 
465
 
 
466
div.body p, div.body dd, div.body li {
 
467
    text-align: justify;
 
468
}
 
469
 
 
470
div.body td {
 
471
    text-align: left;
 
472
}
 
473
 
 
474
ul.fakelist {
 
475
    list-style: none;
 
476
    margin: 10px 0 10px 20px;
 
477
    padding: 0;
 
478
}
 
479
 
 
480
/* "Footnotes" heading */
 
481
p.rubric {
 
482
    margin-top: 30px;
 
483
    font-weight: bold;
 
484
}
 
485
 
 
486
/* "Topics" */
 
487
 
 
488
div.topic {
 
489
    background-color: #eee;
 
490
    border: 1px solid #ccc;
 
491
    padding: 0 7px 0 7px;
 
492
    margin: 10px 0 10px 0;
 
493
}
 
494
 
 
495
p.topic-title {
 
496
    font-size: 1.1em;
 
497
    font-weight: bold;
 
498
    margin-top: 10px;
 
499
}
 
500
 
 
501
/* Admonitions */
 
502
 
 
503
div.admonition {
 
504
    margin-top: 10px;
 
505
    margin-bottom: 10px;
 
506
    padding: 7px;
 
507
}
 
508
 
 
509
div.admonition dt {
 
510
    font-weight: bold;
 
511
}
 
512
 
 
513
div.admonition dd {
 
514
    margin-bottom: 10px;
 
515
}
 
516
 
 
517
div.admonition dl {
 
518
    margin-bottom: 0;
 
519
}
 
520
 
 
521
div.admonition p {
 
522
    display: inline;
 
523
}
 
524
 
 
525
div.seealso {
 
526
    background-color: #ffc;
 
527
    border: 1px solid #ff6;
 
528
}
 
529
 
 
530
div.warning {
 
531
    background-color: #ffe4e4;
 
532
    border: 1px solid #f66;
 
533
}
 
534
 
 
535
div.note {
 
536
    background-color: #eee;
 
537
    border: 1px solid #ccc;
 
538
}
 
539
 
 
540
p.admonition-title {
 
541
    margin: 0px 10px 5px 0px;
 
542
    font-weight: bold;
 
543
    display: inline;
 
544
}
 
545
 
 
546
p.admonition-title:after {
 
547
    content: ":";
 
548
}
 
549
 
 
550
div.body p.centered {
 
551
    text-align: center;
 
552
    margin-top: 25px;
 
553
}
 
554
 
 
555
table.docutils {
 
556
    border: 0;
 
557
}
 
558
 
 
559
table.docutils td, table.docutils th {
 
560
    padding: 0 8px 2px 0;
 
561
    border-top: 0;
 
562
    border-left: 0;
 
563
    border-right: 0;
 
564
    border-bottom: 1px solid #aaa;
 
565
}
 
566
 
 
567
table.field-list td, table.field-list th {
 
568
    border: 0 !important;
 
569
}
 
570
 
 
571
table.footnote td, table.footnote th {
 
572
    border: 0 !important;
 
573
}
 
574
 
 
575
dl {
 
576
    margin-bottom: 15px;
 
577
    clear: both;
 
578
}
 
579
 
 
580
dd p {
 
581
    margin-top: 0px;
 
582
}
 
583
 
 
584
dd ul, dd table {
 
585
    margin-bottom: 10px;
 
586
}
 
587
 
 
588
dd {
 
589
    margin-top: 3px;
 
590
    margin-bottom: 10px;
 
591
    margin-left: 30px;
 
592
}
 
593
 
 
594
dl.glossary dt {
 
595
    font-weight: bold;
 
596
    font-size: 1.1em;
 
597
}
 
598
 
 
599
.refcount {
 
600
    color: #060;
 
601
}
 
602
 
 
603
th {
 
604
    text-align: left;
 
605
    padding-right: 5px;
 
606
}
 
607
 
 
608
pre {
 
609
    font-family: monospace;
 
610
    padding: 5px;
 
611
    color: #00008b;
 
612
    border-left: none;
 
613
    border-right: none;
 
614
}
 
615
 
 
616
tt {
 
617
    font-family: monospace;
 
618
    background-color: #ecf0f3;
 
619
    padding: 0 1px 0 1px;
 
620
}
 
621
 
 
622
tt.descname {
 
623
    background-color: transparent;
 
624
    font-weight: bold;
 
625
    font-size: 1.2em;
 
626
}
 
627
 
 
628
tt.descclassname {
 
629
    background-color: transparent;
 
630
}
 
631
 
 
632
tt.xref, a tt {
 
633
    background-color: transparent;
 
634
    font-weight: bold;
 
635
}
 
636
 
 
637
.footnote:target  { background-color: #ffa }
 
638
 
 
639
h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
 
640
    background-color: transparent;
 
641
}
 
642
 
 
643
.optional {
 
644
    font-size: 1.3em;
 
645
}
 
646
 
 
647
.versionmodified {
 
648
    font-style: italic;
 
649
}
 
650
 
 
651
form.comment {
 
652
    margin: 0;
 
653
    padding: 10px 30px 10px 30px;
 
654
    background-color: #eee;
 
655
}
 
656
 
 
657
form.comment h3 {
 
658
    background-color: #326591;
 
659
    color: white;
 
660
    margin: -10px -30px 10px -30px;
 
661
    padding: 5px;
 
662
    font-size: 1.4em;
 
663
}
 
664
 
 
665
form.comment input,
 
666
form.comment textarea {
 
667
    border: 1px solid #ccc;
 
668
    padding: 2px;
 
669
    font-family: sans-serif;
 
670
    font-size: 13px;
 
671
}
 
672
 
 
673
form.comment input[type="text"] {
 
674
    width: 240px;
 
675
}
 
676
 
 
677
form.comment textarea {
 
678
    width: 100%;
 
679
    height: 200px;
 
680
    margin-bottom: 10px;
 
681
}
 
682
 
 
683
/* :::: PRINT :::: */
 
684
@media print {
 
685
    div.documentwrapper {
 
686
        width: 100%;
 
687
    }
 
688
 
 
689
    div.body {
 
690
        margin: 0;
 
691
    }
 
692
 
 
693
    div.sphinxsidebar,
 
694
    div.related,
 
695
    div.footer,
 
696
    div#comments div.new-comment-box,
 
697
    #top-link {
 
698
        display: none;
 
699
    }
 
700
}