forked from falconry/falcon
/
custom.css
370 lines (295 loc) · 6.44 KB
/
custom.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
body {
font-family: Oxygen, 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro', serif;
font-size: 17.5px;
}
.field-name {
/* Fix for https://github.com/bitprophet/alabaster/issues/95 */
-moz-hyphens: manual;
-ms-hyphens: manual;
-webkit-hyphens: manual;
hyphens: manual;
width: 110px; /* Prevent "Return type:" from wrapping. */
}
a {
text-decoration: none;
}
h1 a:hover, h2 a:hover, h3 a:hover {
text-decoration: none;
border: none;
}
div.document {
/* max body width + 60px padding + 220px sidebar */
max-width: calc(760px + 60px + 220px);
}
div.footer {
text-align: center;
}
div.footer a:hover {
border-bottom: none;
}
dd ul, dd table {
margin-bottom: 1.4em;
}
table.field-list th, table.field-list td {
padding-top: 1em;
}
table.field-list tbody tr:first-child th, table.field-list tbody tr:first-child td {
padding-top: 0;
}
code.docutils.literal {
background-color: rgba(0, 0, 0, 0.06);
padding: 2px 5px 1px 5px;
font-size: 0.88em;
}
code.xref.docutils.literal {
background-color: transparent;
padding: 0;
font-size: 0.9em;
}
div.viewcode-block:target {
background: inherit;
background-color: #dadada;
border-radius: 5px;
padding: 5px;
}
a:hover, div.sphinxsidebar a:hover, a.reference:hover, a.reference.internal:hover code {
color: #f0ad4e;
border-bottom: 1px solid #f0ad4e;
}
a, div.sphinxsidebar a, a.reference, a code.literal {
color: #c77c11;
border: none;
}
.highlight pre span {
line-height: 1.5em;
}
.field-body cite {
font-style: normal;
font-weight: bold;
}
/* Hide theme's default logo section */
.logo a {
display: none;
}
#logo {
position: relative;
left: -13px;
}
#logo a,
#logo a:hover {
border-bottom: none;
}
#logo img {
margin: 0;
padding: 0;
}
#gh-buttons {
margin-top: 2em;
}
#dev-warning {
background-color: #fdfbe8;
border: 1px solid #ccc;
padding: 10px;
margin-bottom: 1em;
}
div.warning {
background-color: #fdfbe8;
border: 1px solid #ccc;
}
div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6,
div.sphinxsidebar h3 {
font-family: Oxygen, 'goudy old style', serif;
font-weight: bold;
color: #444;
}
div.sphinxsidebar h3 {
margin: 1.5em 0 0 0;
}
div.sphinxsidebar h4 {
font-family: Oxygen, Garamond, Georgia, serif;
}
div.sphinxsidebar ul {
margin-top: 5px;
}
div.sphinxsidebarwrapper {
padding-top: 0;
}
div.admonition p.admonition-title {
display: block;
line-height: 1.4em;
font-family: Oxygen, Garamond, Georgia, serif;
}
div.admonition .last.highlight-default {
display: inline-block;
font-size: smaller;
}
pre {
/*background-color: #212529;*/
padding: 1.25em 30px;
}
.sphinx-tabs div.node,
.sphinx-tabs div.admonition,
.sphinx-tabs div.highlight
{
margin-left: -8px;
margin-right: -8px;
}
.highlight pre {
font-size: 14px;
}
/* NOTE(kgriffs): Make sure that characters in plain text blocks line up correctly. */
.highlight-none .highlight pre {
line-height: 1em;
font-family: monospace;
}
/* Fix drifting to the left in some parameters lists. */
.field-body li .highlight pre {
float: right;
}
div input[type="text"] {
padding: 5px;
margin: 0 0 0.5em 0;
font-family: Oxygen, Garamond, Georgia, serif;
}
div input[type="submit"] {
font-size: 14px;
width: 72px;
height: 27px;
font-weight: 600;
font-family: Oxygen, Garamond, Georgia, serif;
border: 1px solid #d5d5d5;
border-radius: 3px;
padding: 0 10px;
color: #333;
background-color: #eee;
background-image: linear-gradient(to bottom,#fcfcfc,#eee);
}
div input[type="submit"]:hover {
background-color: #ddd;
background-image: linear-gradient(to bottom,#eee,#ddd);
border-color: #ccc;
}
div input[type="submit"]:active, #searchbox input[type="submit"]:active {
background-color: #dcdcdc;
background-image: none;
border-color: #b5b5b5;
box-shadow: inset 0 2px 4px rgba(0,0,0,.15);
}
div input[type="submit"]:focus {
outline: none;
}
input[type=text]:focus {
outline: 1px solid #999;
}
#sidebarSupportFalcon a:hover, #sidebarSupportFalcon a:focus {
text-decoration: none;
border: none;
outline: none;
}
dl.field-list > dt {
word-break: normal;
padding-left: 0;
hyphens: none;
margin-top: 0.2em;
}
dl.field-list > dd {
margin-top: 0.2em;
}
dl.field-list ul {
list-style: none;
}
dl.field-list ul li {
list-style: none;
padding-bottom: 0.5em;
}
dl.field-list.simple dd ul {
padding-left: 0;
}
dl.field-list.simple dd ul li p:not(:first-child) {
margin-top: 0.4em;
}
dl.attribute > dd > p {
margin: 0 0 1em 0;
}
/* NOTE(kgriffs): Fix spacing issue with embedded Note blocks, and make
things generally more readable by spacing the paragraphs. */
.field-list p {
margin-bottom: 1em;
}
dl.function, dl.method, dl.attribute, dl.class {
padding-top: 1em;
}
div.body div.section > ul.simple > li > dl.simple > dd > ul {
margin: 0;
}
div.body div.toctree-wrapper.compound > ul > li.toctree-l1 > ul {
margin-top: 0;
}
div.contents.local.topic {
background: none;
border: none;
}
div.contents.local.topic > ul > li > p {
margin-bottom: 0;
}
div.contents.local.topic > ul > li > ul {
margin-top: 0;
}
[role="tablist"] {
border-color: #eee;
}
.sphinx-tabs-panel {
border-color: #eee;
padding: 4px 1rem;
}
.sphinx-tabs-tab {
top: 2px;
border-color: #eee;
color: #c77c11;
}
.sphinx-tabs-tab[aria-selected="true"] {
border-color: #eee;
}
.sphinx-tabs-tab[aria-selected="false"]:hover {
color: #f0ad4e;
text-decoration: underline;
}
.sphinx-tabs-tab:focus {
z-index: 0;
}
.sphinx-tabs-panel .highlight-python {
margin: 4px 0;
}
div.note, pre {
background-color: rgb(245,245,245);
}
div.note div.highlight > pre, div.admonition div.highlight > pre {
border: none;
}
div.note, div.admonition {
/* Match tab radius */
border-radius: .285714rem;
border-color: #eee;
padding-bottom: 1em;
}
div.ui.bottom.attached.sphinx-tab.tab {
/* Match tab radius */
border-bottom-left-radius: .285714rem;
border-bottom-right-radius: .285714rem;
}
div.highlight > pre {
border: 1px solid #eee;
border-radius: .285714rem;
}
.sphinx-tab pre {
border: none !important;
}
/* TODO: remove once alabaster is updated */
span.descname, span.descclassname {
font-size: 0.95em;
}