|
a |
|
b/docs/_static/css/overwrite.css |
|
|
1 |
/* |
|
|
2 |
Furo CSS variables |
|
|
3 |
https://github.com/pradyunsg/furo/blob/main/src/furo/assets/styles/variables/_index.scss |
|
|
4 |
https://github.com/pradyunsg/furo/blob/main/src/furo/theme/partials/_head_css_variables.html |
|
|
5 |
https://github.com/streamlink/streamlink/blob/17a4088c38709123c0bcab4a150549bd16d19e07/docs/_static/styles/custom.css |
|
|
6 |
*/ |
|
|
7 |
|
|
|
8 |
/* for the sphinx design cards */ |
|
|
9 |
body { |
|
|
10 |
--sd-color-shadow: dimgrey; |
|
|
11 |
} |
|
|
12 |
|
|
|
13 |
dt:target, |
|
|
14 |
span.highlighted { |
|
|
15 |
background-color: #f0f0f0; |
|
|
16 |
} |
|
|
17 |
|
|
|
18 |
dl.citation > dt { |
|
|
19 |
float: left; |
|
|
20 |
margin-right: 15px; |
|
|
21 |
font-weight: bold; |
|
|
22 |
} |
|
|
23 |
|
|
|
24 |
/* Parameters normalize size and captialized, */ |
|
|
25 |
dl .field-list dt { |
|
|
26 |
font-size: var(--font-size--normal) !important; |
|
|
27 |
text-transform: none !important; |
|
|
28 |
} |
|
|
29 |
|
|
|
30 |
/* examples and headings in classes */ |
|
|
31 |
p.rubric { |
|
|
32 |
font-size: var(--font-size--normal); |
|
|
33 |
text-transform: none; |
|
|
34 |
font-weight: 500; |
|
|
35 |
} |
|
|
36 |
|
|
|
37 |
/* adapted from https://github.com/dask/dask-sphinx-theme/blob/main/dask_sphinx_theme/static/css/nbsphinx.css */ |
|
|
38 |
|
|
|
39 |
.nbinput .prompt, |
|
|
40 |
.nboutput .prompt { |
|
|
41 |
display: none; |
|
|
42 |
} |
|
|
43 |
.nboutput .stderr { |
|
|
44 |
display: none; |
|
|
45 |
} |
|
|
46 |
|
|
|
47 |
div.nblast.container { |
|
|
48 |
padding-bottom: 10px !important; |
|
|
49 |
padding-right: 0px; |
|
|
50 |
padding-left: 0px; |
|
|
51 |
} |
|
|
52 |
|
|
|
53 |
div.nbinput.container { |
|
|
54 |
padding-top: 10px !important; |
|
|
55 |
padding-right: 0px; |
|
|
56 |
padding-left: 0px; |
|
|
57 |
} |
|
|
58 |
|
|
|
59 |
div.nbinput.container div.input_area div[class*="highlight"] > pre { |
|
|
60 |
padding: 10px !important; |
|
|
61 |
margin: 0; |
|
|
62 |
} |
|
|
63 |
|
|
|
64 |
p.topic-title { |
|
|
65 |
margin-top: 0; |
|
|
66 |
} |
|
|
67 |
|
|
|
68 |
/* so that api methods are small in sidebar */ |
|
|
69 |
li.toctree-l3 { |
|
|
70 |
font-size: 81.25% !important; |
|
|
71 |
} |
|
|
72 |
li.toctree-l4 { |
|
|
73 |
font-size: 75% !important; |
|
|
74 |
} |
|
|
75 |
|
|
|
76 |
.sidebar-logo { |
|
|
77 |
max-width: 80px; |
|
|
78 |
height: auto; |
|
|
79 |
} |
|
|
80 |
|
|
|
81 |
#furo-main-content img[alt="ehrapy logo"] { |
|
|
82 |
max-width: 300px; |
|
|
83 |
height: auto; |
|
|
84 |
} |