blob: eed397388b9fa5e828516a13616e6d63e2e600b4 [file] [log] [blame]
Alexander Afanasyevbd5b67a2014-09-02 16:06:21 -07001* {
2 margin: 0px;
3 padding: 0px;
4}
5
6html { font-size: 62.5%; }
7
8body {
9 font-family: {{ theme_bodyfont }};
10 background-color: {{ theme_bgcolor }};
11 color: #777;
12 border-top: 4px solid #fd7800;
13}
14
15body { background: white; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1; color: #222222; position: relative; -webkit-font-smoothing: antialiased; }
16
17/* Page layout */
18
19div.header, div.content, div.footer {
20 width: 90%;
21 margin-left: auto;
22 margin-right: auto;
23}
24
25div.header-wrapper {
26 background: {{ theme_headerbg }};
27 border-bottom: 3px solid #2e3436;
28}
29
30
31/* Default body styles */
32a {
33 color: {{ theme_linkcolor }};
34}
35
36div.bodywrapper a, div.footer a {
37 text-decoration: none;
38}
39
40.clearer {
41 clear: both;
42}
43
44.left {
45 float: left;
46}
47
48.right {
49 float: right;
50}
51
52.line-block {
53 display: block;
54 margin-top: 1em;
55 margin-bottom: 1em;
56}
57
58.line-block .line-block {
59 margin-top: 0;
60 margin-bottom: 0;
61 margin-left: 1.5em;
62}
63
64h1, h2, h3, h4 {
65 font-family: {{ theme_headerfont }};
66 font-weight: normal;
67 color: {{ theme_headercolor2 }};
68 margin-bottom: .8em;
69}
70
71h1 {
72 color: {{ theme_headercolor1 }};
73}
74
75h2 {
76 padding-bottom: .5em;
77 border-bottom: 1px solid {{ theme_headercolor2 }};
78}
79
80a.headerlink {
81 visibility: hidden;
82 color: #dddddd;
83 padding-left: .3em;
84}
85
86h1:hover > a.headerlink,
87h2:hover > a.headerlink,
88h3:hover > a.headerlink,
89h4:hover > a.headerlink,
90h5:hover > a.headerlink,
91h6:hover > a.headerlink,
92dt:hover > a.headerlink {
93 visibility: visible;
94}
95
96img {
97 border: 0;
98}
99
100div.admonition {
101 margin-top: 10px;
102 margin-bottom: 10px;
103 padding: 2px 7px 1px 7px;
104 border-left: 0.2em solid black;
105}
106
107p.admonition-title {
108 margin: 0px 10px 5px 0px;
109 font-weight: bold;
110}
111
112dt:target, .highlighted {
113 background-color: #fbe54e;
114}
115
116/* Header */
117
118div.header {
119 padding-top: 10px;
120 padding-bottom: 10px;
121}
122
123div.header .headertitle {
124 font-family: {{ theme_headerfont }};
125 font-weight: normal;
126 font-size: 180%;
127 letter-spacing: .08em;
128 margin-bottom: .8em;
129}
130
131div.header .headertitle a {
132 color: white;
133}
134
135div.header div.rel {
136 margin-top: 1em;
137}
138
139div.header div.rel a {
140 color: {{ theme_headerlinkcolor }};
141 letter-spacing: .1em;
142 text-transform: uppercase;
143}
144
145p.logo {
146 float: right;
147}
148
149img.logo {
150 border: 0;
151}
152
153
154/* Content */
155div.content-wrapper {
156 background-color: white;
157 padding-top: 20px;
158 padding-bottom: 20px;
159}
160
161div.document {
162 width: 70%;
163 float: left;
164}
165
166div.body {
167 padding-right: 2em;
168 text-align: left;
169}
170
171div.document h1 {
172 line-height: 120%;
173}
174
175div.document ul {
176 margin-left: 1.5em;
177 list-style-type: square;
178}
179
180div.document dd {
181 margin-left: 1.2em;
182 margin-top: .4em;
183 margin-bottom: 1em;
184}
185
186div.document .section {
187 margin-top: 1.7em;
188}
189div.document .section:first-child {
190 margin-top: 0px;
191}
192
193div.document div.highlight {
194 padding: 3px;
195 background-color: #eeeeec;
196 border-top: 2px solid #dddddd;
197 border-bottom: 2px solid #dddddd;
198 margin-bottom: .8em;
199}
200
201div.document h2 {
202 margin-top: .7em;
203}
204
205div.document p {
206 margin-bottom: .5em;
207}
208
209div.document li.toctree-l1 {
210 margin-bottom: 1em;
211}
212
213div.document .descname {
214 font-weight: bold;
215}
216
217div.document .docutils.literal {
218 background-color: #eeeeec;
219 padding: 1px;
220}
221
222div.document .docutils.xref.literal {
223 background-color: transparent;
224 padding: 0px;
225}
226
227div.document ol {
228 margin: 1.5em;
229}
230
231
232/* Sidebar */
233
234div.sidebar {
235 width: 20%;
236 float: right;
237 font-size: .9em;
238}
239
240div.sidebar a, div.header a {
241 text-decoration: none;
242}
243
244div.sidebar a:hover, div.header a:hover {
245 text-decoration: none;
246}
247
248div.sidebar h3 {
249 color: #2e3436;
250 text-transform: uppercase;
251 font-size: 130%;
252 letter-spacing: .1em;
253}
254
255div.sidebar ul {
256 list-style-type: none;
257}
258
259div.sidebar li.toctree-l1 a {
260 display: block;
261 padding: 1px;
262 border: 1px solid #dddddd;
263 background-color: #eeeeec;
264 margin-bottom: .4em;
265 padding-left: 3px;
266 color: #2e3436;
267}
268
269div.sidebar li.toctree-l2 a {
270 background-color: transparent;
271 border: none;
272 margin-left: 1em;
273 border-bottom: 1px solid #dddddd;
274}
275
276div.sidebar li.toctree-l3 a {
277 background-color: transparent;
278 border: none;
279 margin-left: 2em;
280 border-bottom: 1px solid #dddddd;
281}
282
283div.sidebar li.toctree-l2:last-child a {
284 border-bottom: none;
285}
286
287div.sidebar li.toctree-l1.current a {
288 border-right: 5px solid {{ theme_headerlinkcolor }};
289}
290
291div.sidebar li.toctree-l1.current li.toctree-l2 a {
292 border-right: none;
293}
294
295div.sidebar input[type="text"] {
296 width: 170px;
297}
298
299div.sidebar input[type="submit"] {
300 width: 30px;
301}
302
303
304/* Footer */
305
306div.footer-wrapper {
307 background: {{ theme_footerbg }};
308 border-top: 4px solid #babdb6;
309 padding-top: 10px;
310 padding-bottom: 10px;
311 min-height: 80px;
312}
313
314div.footer, div.footer a {
315 color: #888a85;
316}
317
318div.footer .right {
319 text-align: right;
320}
321
322div.footer .left {
323 text-transform: uppercase;
324}
325
326
327/* Styles copied from basic theme */
328
329img.align-left, .figure.align-left, object.align-left {
330 clear: left;
331 float: left;
332 margin-right: 1em;
333}
334
335img.align-right, .figure.align-right, object.align-right {
336 clear: right;
337 float: right;
338 margin-left: 1em;
339}
340
341img.align-center, .figure.align-center, object.align-center {
342 display: block;
343 margin-left: auto;
344 margin-right: auto;
345}
346
347.align-left {
348 text-align: left;
349}
350
351.align-center {
352 text-align: center;
353}
354
355.align-right {
356 text-align: right;
357}
358
359/* -- search page ----------------------------------------------------------- */
360
361ul.search {
362 margin: 10px 0 0 20px;
363 padding: 0;
364}
365
366ul.search li {
367 padding: 5px 0 5px 20px;
368 background-image: url(file.png);
369 background-repeat: no-repeat;
370 background-position: 0 7px;
371}
372
373ul.search li a {
374 font-weight: bold;
375}
376
377ul.search li div.context {
378 color: #888;
379 margin: 2px 0 0 30px;
380 text-align: left;
381}
382
383ul.keywordmatches li.goodmatch a {
384 font-weight: bold;
385}
386
387/* -- index page ------------------------------------------------------------ */
388
389table.contentstable {
390 width: 90%;
391}
392
393table.contentstable p.biglink {
394 line-height: 150%;
395}
396
397a.biglink {
398 font-size: 1.3em;
399}
400
401span.linkdescr {
402 font-style: italic;
403 padding-top: 5px;
404 font-size: 90%;
405}
406
407/* -- general index --------------------------------------------------------- */
408
409table.indextable td {
410 text-align: left;
411 vertical-align: top;
412}
413
414table.indextable dl, table.indextable dd {
415 margin-top: 0;
416 margin-bottom: 0;
417}
418
419table.indextable tr.pcap {
420 height: 10px;
421}
422
423table.indextable tr.cap {
424 margin-top: 10px;
425 background-color: #f2f2f2;
426}
427
428img.toggler {
429 margin-right: 3px;
430 margin-top: 3px;
431 cursor: pointer;
432}
433
434/* -- viewcode extension ---------------------------------------------------- */
435
436.viewcode-link {
437 float: right;
438}
439
440.viewcode-back {
441 float: right;
442 font-family:: {{ theme_bodyfont }};
443}
444
445div.viewcode-block:target {
446 margin: -1px -3px;
447 padding: 0 3px;
448 background-color: #f4debf;
449 border-top: 1px solid #ac9;
450 border-bottom: 1px solid #ac9;
451}
452
453td.linenos pre {
454 padding: 5px 0px;
455 border: 0;
456 background-color: transparent;
457 color: #aaa;
458 margin-top: -10pt;
459}