blob: 0f0b76389b999b669c708d75746d155e11bacb63 [file] [log] [blame]
Alexander Afanasyev7c6aeb02014-04-10 19:59:19 -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: 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 blockquote {
228 margin: 1em;
229}
230
231div.document ol {
232 margin: 1.5em;
233}
234
235
236/* Sidebar */
237
238div.sidebar {
239 width: 20%;
240 float: right;
241 font-size: .9em;
242}
243
244div.sidebar a, div.header a {
245 text-decoration: none;
246}
247
248div.sidebar a:hover, div.header a:hover {
249 text-decoration: none;
250}
251
252div.sidebar h3 {
253 color: #2e3436;
254 text-transform: uppercase;
255 font-size: 130%;
256 letter-spacing: .1em;
257}
258
259div.sidebar ul {
260 list-style-type: none;
261}
262
263div.sidebar li.toctree-l1 a {
264 display: block;
265 padding: 1px;
266 border: 1px solid #dddddd;
267 background-color: #eeeeec;
268 margin-bottom: .4em;
269 padding-left: 3px;
270 color: #2e3436;
271}
272
273div.sidebar li.toctree-l2 a {
274 background-color: transparent;
275 border: none;
276 margin-left: 1em;
277 border-bottom: 1px solid #dddddd;
278}
279
280div.sidebar li.toctree-l3 a {
281 background-color: transparent;
282 border: none;
283 margin-left: 2em;
284 border-bottom: 1px solid #dddddd;
285}
286
287div.sidebar li.toctree-l2:last-child a {
288 border-bottom: none;
289}
290
291div.sidebar li.toctree-l1.current a {
292 border-right: 5px solid {{ theme_headerlinkcolor }};
293}
294
295div.sidebar li.toctree-l1.current li.toctree-l2 a {
296 border-right: none;
297}
298
299div.sidebar input[type="text"] {
300 width: 170px;
301}
302
303div.sidebar input[type="submit"] {
304 width: 30px;
305}
306
307
308/* Footer */
309
310div.footer-wrapper {
311 background: {{ theme_footerbg }};
312 border-top: 4px solid #babdb6;
313 padding-top: 10px;
314 padding-bottom: 10px;
315 min-height: 80px;
316}
317
318div.footer, div.footer a {
319 color: #888a85;
320}
321
322div.footer .right {
323 text-align: right;
324}
325
326div.footer .left {
327 text-transform: uppercase;
328}
329
330
331/* Styles copied from basic theme */
332
333img.align-left, .figure.align-left, object.align-left {
334 clear: left;
335 float: left;
336 margin-right: 1em;
337}
338
339img.align-right, .figure.align-right, object.align-right {
340 clear: right;
341 float: right;
342 margin-left: 1em;
343}
344
345img.align-center, .figure.align-center, object.align-center {
346 display: block;
347 margin-left: auto;
348 margin-right: auto;
349}
350
351.align-left {
352 text-align: left;
353}
354
355.align-center {
356 text-align: center;
357}
358
359.align-right {
360 text-align: right;
361}
362
363/* -- search page ----------------------------------------------------------- */
364
365ul.search {
366 margin: 10px 0 0 20px;
367 padding: 0;
368}
369
370ul.search li {
371 padding: 5px 0 5px 20px;
372 background-image: url(file.png);
373 background-repeat: no-repeat;
374 background-position: 0 7px;
375}
376
377ul.search li a {
378 font-weight: bold;
379}
380
381ul.search li div.context {
382 color: #888;
383 margin: 2px 0 0 30px;
384 text-align: left;
385}
386
387ul.keywordmatches li.goodmatch a {
388 font-weight: bold;
389}
390
391/* -- index page ------------------------------------------------------------ */
392
393table.contentstable {
394 width: 90%;
395}
396
397table.contentstable p.biglink {
398 line-height: 150%;
399}
400
401a.biglink {
402 font-size: 1.3em;
403}
404
405span.linkdescr {
406 font-style: italic;
407 padding-top: 5px;
408 font-size: 90%;
409}
410
411/* -- general index --------------------------------------------------------- */
412
413table.indextable td {
414 text-align: left;
415 vertical-align: top;
416}
417
418table.indextable dl, table.indextable dd {
419 margin-top: 0;
420 margin-bottom: 0;
421}
422
423table.indextable tr.pcap {
424 height: 10px;
425}
426
427table.indextable tr.cap {
428 margin-top: 10px;
429 background-color: #f2f2f2;
430}
431
432img.toggler {
433 margin-right: 3px;
434 margin-top: 3px;
435 cursor: pointer;
436}
437
438/* -- viewcode extension ---------------------------------------------------- */
439
440.viewcode-link {
441 float: right;
442}
443
444.viewcode-back {
445 float: right;
446 font-family:: {{ theme_bodyfont }};
447}
448
449div.viewcode-block:target {
450 margin: -1px -3px;
451 padding: 0 3px;
452 background-color: #f4debf;
453 border-top: 1px solid #ac9;
454 border-bottom: 1px solid #ac9;
455}