~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to documentation/static/basic.css

  • Committer: franku
  • Date: 2018-05-06 08:20:39 UTC
  • mto: This revision was merged to the branch mainline in revision 494.
  • Revision ID: somal@arcor.de-20180506082039-v8n40alffhi2ulct
This is an Attribute error

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * basic.css
3
 
 * ~~~~~~~~~
4
 
 *
5
 
 * Sphinx stylesheet -- basic theme.
6
 
 *
7
 
 * :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
8
 
 * :license: BSD, see LICENSE for details.
9
 
 *
10
 
 */
11
 
 
12
 
@import url("widelands.css");
13
 
 
14
 
/* -- main layout ----------------------------------------------------------- */
15
 
 
16
 
div.clearer {
17
 
    clear: both;
18
 
}
19
 
 
20
 
/* -- relbar ---------------------------------------------------------------- */
21
 
 
22
 
div.related {
23
 
    width: 100%;
24
 
    font-size: 90%;
25
 
}
26
 
 
27
 
div.related h3 {
28
 
    display: none;
29
 
}
30
 
 
31
 
div.related ul {
32
 
    margin: 0;
33
 
    padding: 0 0 0 10px;
34
 
    list-style: none;
35
 
}
36
 
 
37
 
div.related li {
38
 
    display: inline;
39
 
}
40
 
 
41
 
div.related li.right {
42
 
    float: right;
43
 
    margin-right: 5px;
44
 
}
45
 
 
46
 
/* -- sidebar --------------------------------------------------------------- */
47
 
 
48
 
div.sphinxsidebarwrapper {
49
 
    padding: 10px 5px 0 10px;
50
 
}
51
 
 
52
 
div.sphinxsidebar {
53
 
    float: left;
54
 
    width: 230px;
55
 
    margin-left: -100%;
56
 
    font-size: 90%;
57
 
    word-wrap: break-word;
58
 
    overflow-wrap : break-word;
59
 
}
60
 
 
61
 
div.sphinxsidebar ul {
62
 
    list-style: none;
63
 
}
64
 
 
65
 
div.sphinxsidebar ul ul,
66
 
div.sphinxsidebar ul.want-points {
67
 
    margin-left: 20px;
68
 
    list-style: square;
69
 
}
70
 
 
71
 
div.sphinxsidebar ul ul {
72
 
    margin-top: 0;
73
 
    margin-bottom: 0;
74
 
}
75
 
 
76
 
div.sphinxsidebar form {
77
 
    margin-top: 10px;
78
 
}
79
 
 
80
 
/*div.sphinxsidebar input {
81
 
    border: 1px solid #98dbcc;
82
 
    font-family: sans-serif;
83
 
    font-size: 1em;
84
 
}*/
85
 
 
86
 
div.sphinxsidebar #searchbox input[type="text"] {
87
 
    width: 170px;
88
 
}
89
 
 
90
 
img {
91
 
    border: 0;
92
 
    max-width: 100%;
93
 
}
94
 
 
95
 
/* -- search page ----------------------------------------------------------- */
96
 
 
97
 
ul.search {
98
 
    margin: 10px 0 0 20px;
99
 
    padding: 0;
100
 
}
101
 
 
102
 
ul.search li {
103
 
    padding: 5px 0 5px 20px;
104
 
    background-image: url(file.png);
105
 
    background-repeat: no-repeat;
106
 
    background-position: 0 7px;
107
 
}
108
 
 
109
 
ul.search li a {
110
 
    font-weight: bold;
111
 
}
112
 
 
113
 
ul.search li div.context {
114
 
    color: #888;
115
 
    margin: 2px 0 0 30px;
116
 
    text-align: left;
117
 
}
118
 
 
119
 
ul.keywordmatches li.goodmatch a {
120
 
    font-weight: bold;
121
 
}
122
 
 
123
 
/* -- index page ------------------------------------------------------------ */
124
 
 
125
 
table.contentstable {
126
 
    width: 90%;
127
 
    margin-left: auto;
128
 
    margin-right: auto;
129
 
}
130
 
 
131
 
table.contentstable p.biglink {
132
 
    line-height: 150%;
133
 
}
134
 
 
135
 
a.biglink {
136
 
    font-size: 1.3em;
137
 
}
138
 
 
139
 
span.linkdescr {
140
 
    font-style: italic;
141
 
    padding-top: 5px;
142
 
    font-size: 90%;
143
 
}
144
 
 
145
 
/* -- general index --------------------------------------------------------- */
146
 
 
147
 
table.indextable {
148
 
    width: 100%;
149
 
}
150
 
 
151
 
table.indextable td {
152
 
    text-align: left;
153
 
    vertical-align: top;
154
 
}
155
 
 
156
 
table.indextable ul {
157
 
    margin-top: 0;
158
 
    margin-bottom: 0;
159
 
    list-style-type: none;
160
 
}
161
 
 
162
 
table.indextable > tbody > tr > td > ul {
163
 
    padding-left: 0em;
164
 
}
165
 
 
166
 
table.indextable tr.pcap {
167
 
    height: 10px;
168
 
}
169
 
/*
170
 
table.indextable tr.cap {
171
 
    margin-top: 10px;
172
 
    background-color: #f2f2f2;
173
 
}*/
174
 
 
175
 
img.toggler {
176
 
    margin-right: 3px;
177
 
    margin-top: 3px;
178
 
    cursor: pointer;
179
 
}
180
 
 
181
 
div.modindex-jumpbox {
182
 
    border-top: 1px solid #ddd;
183
 
    border-bottom: 1px solid #ddd;
184
 
    margin: 1em 0 1em 0;
185
 
    padding: 0.4em;
186
 
}
187
 
 
188
 
div.genindex-jumpbox {
189
 
    border-top: 1px solid #ddd;
190
 
    border-bottom: 1px solid #ddd;
191
 
    margin: 1em 0 1em 0;
192
 
    padding: 0.4em;
193
 
}
194
 
 
195
 
/* -- domain module index --------------------------------------------------- */
196
 
 
197
 
table.modindextable td {
198
 
    padding: 2px;
199
 
    border-collapse: collapse;
200
 
}
201
 
 
202
 
/* -- general body styles --------------------------------------------------- */
203
 
 
204
 
div.body p, div.body dd, div.body li, div.body blockquote {
205
 
    -moz-hyphens: auto;
206
 
    -ms-hyphens: auto;
207
 
    -webkit-hyphens: auto;
208
 
    hyphens: auto;
209
 
}
210
 
 
211
 
a.headerlink {
212
 
    visibility: hidden;
213
 
}
214
 
 
215
 
h1:hover > a.headerlink,
216
 
h2:hover > a.headerlink,
217
 
h3:hover > a.headerlink,
218
 
h4:hover > a.headerlink,
219
 
h5:hover > a.headerlink,
220
 
h6:hover > a.headerlink,
221
 
dt:hover > a.headerlink,
222
 
caption:hover > a.headerlink,
223
 
p.caption:hover > a.headerlink,
224
 
div.code-block-caption:hover > a.headerlink {
225
 
    visibility: visible;
226
 
}
227
 
 
228
 
div.body p.caption {
229
 
    text-align: inherit;
230
 
}
231
 
 
232
 
div.body td {
233
 
    text-align: left;
234
 
}
235
 
 
236
 
.first {
237
 
    margin-top: 0 !important;
238
 
}
239
 
 
240
 
p.rubric {
241
 
    margin-top: 30px;
242
 
    font-weight: bold;
243
 
}
244
 
 
245
 
img.align-left, .figure.align-left, object.align-left {
246
 
    clear: left;
247
 
    float: left;
248
 
    margin-right: 1em;
249
 
}
250
 
 
251
 
img.align-right, .figure.align-right, object.align-right {
252
 
    clear: right;
253
 
    float: right;
254
 
    margin-left: 1em;
255
 
}
256
 
 
257
 
img.align-center, .figure.align-center, object.align-center {
258
 
  display: block;
259
 
  margin-left: auto;
260
 
  margin-right: auto;
261
 
}
262
 
 
263
 
.align-left {
264
 
    text-align: left;
265
 
}
266
 
 
267
 
.align-center {
268
 
    text-align: center;
269
 
}
270
 
 
271
 
.align-right {
272
 
    text-align: right;
273
 
}
274
 
 
275
 
/* -- sidebars -------------------------------------------------------------- */
276
 
 
277
 
div.sidebar {
278
 
    margin: 0 0 0.5em 1em;
279
 
    border: 1px solid #ddb;
280
 
    padding: 7px 7px 0 7px;
281
 
    background-color: #ffe;
282
 
    width: 40%;
283
 
    float: right;
284
 
}
285
 
 
286
 
p.sidebar-title {
287
 
    font-weight: bold;
288
 
}
289
 
 
290
 
/* -- topics ---------------------------------------------------------------- */
291
 
 
292
 
div.topic {
293
 
    border: 1px solid #ccc;
294
 
    padding: 7px 7px 0 7px;
295
 
    margin: 10px 0 10px 0;
296
 
}
297
 
 
298
 
p.topic-title {
299
 
    font-size: 1.1em;
300
 
    font-weight: bold;
301
 
    margin-top: 10px;
302
 
}
303
 
 
304
 
/* -- admonitions ----------------------------------------------------------- */
305
 
 
306
 
div.admonition {
307
 
    margin-top: 10px;
308
 
    margin-bottom: 10px;
309
 
    padding: 7px;
310
 
}
311
 
 
312
 
div.admonition dt {
313
 
    font-weight: bold;
314
 
}
315
 
 
316
 
div.admonition dl {
317
 
    margin-bottom: 0;
318
 
}
319
 
 
320
 
p.admonition-title {
321
 
    margin: 0px 10px 5px 0px;
322
 
    font-weight: bold;
323
 
}
324
 
 
325
 
div.body p.centered {
326
 
    text-align: center;
327
 
    margin-top: 25px;
328
 
}
329
 
 
330
 
/* -- tables ---------------------------------------------------------------- */
331
 
 
332
 
table.docutils {
333
 
    border: 0;
334
 
    border-collapse: collapse;
335
 
}
336
 
 
337
 
table caption span.caption-number {
338
 
    font-style: italic;
339
 
}
340
 
 
341
 
table caption span.caption-text {
342
 
}
343
 
 
344
 
table.docutils td, table.docutils th {
345
 
    padding: 1px 8px 1px 5px;
346
 
    border-top: 0;
347
 
    border-left: 0;
348
 
    border-right: 0;
349
 
    border-bottom: 1px solid #aaa;
350
 
}
351
 
 
352
 
table.footnote td, table.footnote th {
353
 
    border: 0 !important;
354
 
}
355
 
 
356
 
th {
357
 
    text-align: left;
358
 
    padding-right: 5px;
359
 
}
360
 
 
361
 
table.citation {
362
 
    border-left: solid 1px gray;
363
 
    margin-left: 1px;
364
 
}
365
 
 
366
 
table.citation td {
367
 
    border-bottom: none;
368
 
}
369
 
 
370
 
/* -- figures --------------------------------------------------------------- */
371
 
 
372
 
div.figure {
373
 
    margin: 0.5em;
374
 
    padding: 0.5em;
375
 
}
376
 
 
377
 
div.figure p.caption {
378
 
    padding: 0.3em;
379
 
}
380
 
 
381
 
div.figure p.caption span.caption-number {
382
 
    font-style: italic;
383
 
}
384
 
 
385
 
div.figure p.caption span.caption-text {
386
 
}
387
 
 
388
 
/* -- field list styles ----------------------------------------------------- */
389
 
 
390
 
table.field-list td, table.field-list th {
391
 
    border: 0 !important;
392
 
}
393
 
 
394
 
.field-list ul {
395
 
    margin: 0;
396
 
    padding-left: 1em;
397
 
}
398
 
 
399
 
.field-list p {
400
 
    margin: 0;
401
 
}
402
 
 
403
 
.field-name {
404
 
    -moz-hyphens: manual;
405
 
    -ms-hyphens: manual;
406
 
    -webkit-hyphens: manual;
407
 
    hyphens: manual;
408
 
}
409
 
 
410
 
/* -- other body styles ----------------------------------------------------- */
411
 
 
412
 
ol.arabic {
413
 
    list-style: decimal;
414
 
}
415
 
 
416
 
ol.loweralpha {
417
 
    list-style: lower-alpha;
418
 
}
419
 
 
420
 
ol.upperalpha {
421
 
    list-style: upper-alpha;
422
 
}
423
 
 
424
 
ol.lowerroman {
425
 
    list-style: lower-roman;
426
 
}
427
 
 
428
 
ol.upperroman {
429
 
    list-style: upper-roman;
430
 
}
431
 
 
432
 
dl {
433
 
    margin-bottom: 15px;
434
 
}
435
 
 
436
 
dd p {
437
 
    margin-top: 0px;
438
 
}
439
 
 
440
 
dd ul, dd table {
441
 
    margin-bottom: 10px;
442
 
}
443
 
 
444
 
dd {
445
 
    margin-top: 3px;
446
 
    margin-bottom: 10px;
447
 
    margin-left: 30px;
448
 
}
449
 
 
450
 
/*dt:target, span.highlighted {
451
 
    background-color: #fbe54e;
452
 
}*/
453
 
 
454
 
rect.highlighted {
455
 
   fill: #C8BE93;
456
 
}
457
 
 
458
 
dl.glossary dt {
459
 
    font-weight: bold;
460
 
    font-size: 1.1em;
461
 
}
462
 
 
463
 
.optional {
464
 
    font-size: 1.3em;
465
 
}
466
 
 
467
 
/*.sig-paren {
468
 
    font-size: larger;
469
 
}*/
470
 
 
471
 
.versionmodified {
472
 
    font-style: italic;
473
 
}
474
 
 
475
 
.system-message {
476
 
    background-color: #fda;
477
 
    padding: 5px;
478
 
    border: 3px solid red;
479
 
}
480
 
 
481
 
.footnote:target  {
482
 
    background-color: #ffa;
483
 
}
484
 
 
485
 
.line-block {
486
 
    display: block;
487
 
    margin-top: 1em;
488
 
    margin-bottom: 1em;
489
 
}
490
 
 
491
 
.line-block .line-block {
492
 
    margin-top: 0;
493
 
    margin-bottom: 0;
494
 
    margin-left: 1.5em;
495
 
}
496
 
 
497
 
.guilabel, .menuselection {
498
 
    font-family: sans-serif;
499
 
}
500
 
 
501
 
.accelerator {
502
 
    text-decoration: underline;
503
 
}
504
 
 
505
 
.classifier {
506
 
    font-style: oblique;
507
 
}
508
 
 
509
 
abbr, acronym {
510
 
    border-bottom: dotted 1px;
511
 
    cursor: help;
512
 
}
513
 
 
514
 
/* -- code displays --------------------------------------------------------- */
515
 
 
516
 
pre {
517
 
    overflow: auto;
518
 
    overflow-y: hidden;  /* fixes display issues on Chrome browsers */
519
 
}
520
 
 
521
 
span.pre {
522
 
    -moz-hyphens: none;
523
 
    -ms-hyphens: none;
524
 
    -webkit-hyphens: none;
525
 
    hyphens: none;
526
 
}
527
 
 
528
 
td.linenos pre {
529
 
    padding: 5px 0px;
530
 
    border: 0;
531
 
    background-color: transparent;
532
 
    color: #aaa;
533
 
}
534
 
 
535
 
table.highlighttable {
536
 
    margin-left: 0.5em;
537
 
}
538
 
 
539
 
table.highlighttable td {
540
 
    padding: 0 0.5em 0 0.5em;
541
 
}
542
 
 
543
 
div.code-block-caption {
544
 
    padding: 2px 5px;
545
 
    font-size: small;
546
 
}
547
 
 
548
 
div.code-block-caption code {
549
 
    background-color: transparent;
550
 
}
551
 
 
552
 
div.code-block-caption + div > div.highlight > pre {
553
 
    margin-top: 0;
554
 
}
555
 
 
556
 
div.code-block-caption span.caption-number {
557
 
    padding: 0.1em 0.3em;
558
 
    font-style: italic;
559
 
}
560
 
 
561
 
div.code-block-caption span.caption-text {
562
 
}
563
 
 
564
 
div.literal-block-wrapper {
565
 
    padding: 1em 1em 0;
566
 
}
567
 
 
568
 
div.literal-block-wrapper div.highlight {
569
 
    margin: 0;
570
 
}
571
 
 
572
 
code.descname {
573
 
    background-color: transparent;
574
 
    font-weight: bold;
575
 
    font-size: 1.2em;
576
 
}
577
 
 
578
 
code.descclassname {
579
 
    background-color: transparent;
580
 
}
581
 
 
582
 
code.xref, a code {
583
 
    background-color: transparent;
584
 
    font-weight: bold;
585
 
}
586
 
 
587
 
h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
588
 
    background-color: transparent;
589
 
}
590
 
 
591
 
.viewcode-link {
592
 
    float: right;
593
 
}
594
 
 
595
 
.viewcode-back {
596
 
    float: right;
597
 
    font-family: sans-serif;
598
 
}
599
 
 
600
 
div.viewcode-block:target {
601
 
    margin: -1px -10px;
602
 
    padding: 0 10px;
603
 
}
604
 
 
605
 
/* -- math display ---------------------------------------------------------- */
606
 
 
607
 
img.math {
608
 
    vertical-align: middle;
609
 
}
610
 
 
611
 
div.body div.math p {
612
 
    text-align: center;
613
 
}
614
 
 
615
 
span.eqno {
616
 
    float: right;
617
 
}
618
 
 
619
 
span.eqno a.headerlink {
620
 
    position: relative;
621
 
    left: 0px;
622
 
    z-index: 1;
623
 
}
624
 
 
625
 
div.math:hover a.headerlink {
626
 
    visibility: visible;
627
 
}
628
 
 
629
 
/* -- printout stylesheet --------------------------------------------------- */
630
 
 
631
 
@media print {
632
 
    div.document,
633
 
    div.documentwrapper,
634
 
    div.bodywrapper {
635
 
        margin: 0 !important;
636
 
        width: 100%;
637
 
    }
638
 
 
639
 
    div.sphinxsidebar,
640
 
    div.related,
641
 
    div.footer,
642
 
    #top-link {
643
 
        display: none;
644
 
    }
645
 
}