Debian Codegraph @

jupyter_sphinx_theme/jupyter/static/bootstrap-sphinx.css_t

raw
1 /*
2 * bootstrap-sphinx.css
3 * ~~~~~~~~~~~~~~~~~~~~
4 *
5 * Sphinx stylesheet -- Bootstrap theme.
6 */
7
8 .navbar-inverse .brand {
9 color: #FFF;
10 }
11
12 /*
13 * Reset navbar styles from overrides in:
14 * https://bitbucket.org/birkenfeld/sphinx/commits/78d8ebf76b630ab4073a7328af9d91e8123b8d96
15 */
16 .navbar .container {
17 padding-top: 0;
18 }
19
20 .page-top {
21 top: 0px;
22 }
23
24 {% if theme_navbar_fixed_top|tobool %}
25
26 {% if theme_bootstrap_version == "2" %}
27 @media (min-width: 980px) {
28 {% endif %}
29
30 body {
31 {% if theme_bootswatch_theme and theme_bootswatch_theme != "\"\"" %}
32 padding-top: 60px;
33 {% else %}
34 padding-top: 40px;
35 {% endif %}
36 }
37 .page-top {
38 {% if theme_bootswatch_theme and theme_bootswatch_theme != "\"\"" %}
39 top: 60px;
40 {% else %}
41 top: 40px;
42 {% endif %}
43 }
44
45 {% if theme_bootstrap_version == "2" %}
46 }
47 {% endif %}
48
49 .navbar-inner {
50 padding-left: 12px !important;
51 padding-right: 12px !important;
52 }
53 {% else %}
54 {% if theme_bootstrap_version == "2" %}
55 @media (min-width: 980px) {
56 .navbar .container {
57 width: 940px;
58 }
59 }
60 {% endif %}
61 {% endif %}
62
63 table {
64 border: 0;
65 }
66
67 .highlighttable .code pre {
68 font-size: 12px;
69 }
70
71 .highlighttable .linenos pre {
72 word-break: normal;
73 font-size: 12px;
74 }
75
76 div.highlight {
77 background: none;
78 }
79
80 a.footnote-reference {
81 vertical-align: super;
82 font-size: 75%;
83 }
84
85 table.footnote td.label {
86 font-size: 100%;
87 display: block;
88 line-height: normal;
89 background: inherit;
90 }
91
92 table.footnote {
93 width: auto;
94 margin-bottom: 0px;
95 }
96
97 table.field-list {
98 width: auto;
99 }
100
101 .footer {
102 width: 100%;
103 border-top: 1px solid #ccc;
104 padding-top: 10px;
105 }
106
107 .bs-sidenav form, .bs-sidenav #sourcelink {
108 padding: 5px 25px;
109 }
110
111 {% if theme_bootstrap_version == "3" %}
112
113 /* The code below is based on the bootstrap website sidebar */
114
115 .bs-sidenav.affix {
116 position: static;
117 }
118
119 /* First level of nav */
120 .bs-sidenav {
121 margin-top: 30px;
122 margin-bottom: 30px;
123 padding-top: 10px;
124 padding-bottom: 10px;
125 text-shadow: 0 1px 0 #fff;
126 background-color: #f7f5fa;
127 border-radius: 5px;
128 }
129
130 /* All levels of nav */
131 .bs-sidenav .nav > li > a {
132 display: block;
133 color: #716b7a;
134 padding: 5px 25px;
135 }
136 .bs-sidenav .nav > li > a:hover,
137 .bs-sidenav .nav > li > a:focus {
138 text-decoration: none;
139 background-color: #e5e3e9;
140 border-right: 1px solid #dbd8e0;
141 }
142 .bs-sidenav .nav > .active > a,
143 .bs-sidenav .nav > .active:hover > a,
144 .bs-sidenav .nav > .active:focus > a {
145 font-weight: bold;
146 color: #563d7c;
147 background-color: transparent;
148 border-right: 1px solid #563d7c;
149 }
150
151 .bs-sidenav .nav .nav > li > a {
152 padding-top: 3px;
153 padding-bottom: 3px;
154 padding-left: 30px;
155 font-size: 90%;
156 }
157
158 .bs-sidenav .nav .nav .nav > li > a {
159 padding-top: 3px;
160 padding-bottom: 3px;
161 padding-left: 40px;
162 font-size: 90%;
163 }
164
165 .bs-sidenav .nav .nav .nav .nav > li > a {
166 padding-top: 3px;
167 padding-bottom: 3px;
168 padding-left: 50px;
169 font-size: 90%;
170 }
171
172 /* Show and affix the side nav when space allows it */
173 @media screen and (min-width: 992px) {
174 .bs-sidenav .nav > .active > ul {
175 display: block;
176 }
177 /* Widen the fixed sidenav */
178 .bs-sidenav.affix,
179 .bs-sidenav.affix-bottom {
180 width: 213px;
181 }
182 .bs-sidenav.affix {
183 position: fixed; /* Undo the static from mobile first approach */
184 }
185 .bs-sidenav.affix-bottom {
186 position: absolute; /* Undo the static from mobile first approach */
187 }
188 .bs-sidenav.affix-bottom .bs-sidenav,
189 .bs-sidenav.affix .bs-sidenav {
190 margin-top: 0;
191 margin-bottom: 0;
192 }
193 }
194 @media screen and (min-width: 1200px) {
195 /* Widen the fixed sidenav again */
196 .bs-sidenav.affix-bottom,
197 .bs-sidenav.affix {
198 width: 263px;
199 }
200 }
201
202
203 {% else %}
204
205 .bs-sidenav {
206 width: 228px;
207 margin: 30px 0 0;
208 padding: 10px 0 0 5px;
209 }
210
211 .bs-sidenav ul{
212 list-style-type: none;
213 padding-left: 25px;
214 margin-left: 0; /* bootstrap 2 compatability. */
215 }
216
217 @media (min-width: 1200px) {
218 .bs-sidenav {
219 width: 258px;
220 }
221 }
222
223 /* Desktop
224 ------------------------- */
225 @media (max-width: 980px) {
226 .bs-sidenav {
227 width: 218px;
228 margin-top: 30px;
229 margin-right: 0;
230 }
231 }
232
233 /* Tablet to desktop
234 ------------------------- */
235 @media (min-width: 768px) and (max-width: 979px) {
236 .bs-sidenav {
237 width: 166px;
238 margin-top: 20px;
239 }
240 }
241
242 /* Tablet
243 ------------------------- */
244 @media (max-width: 767px) {
245 .navbar-version {
246 padding-left: 5px;
247 }
248 .bs-sidenav {
249 width: auto;
250 margin-bottom: 20px;
251 }
252 .bs-sidenav.affix {
253 position: static;
254 top: 0;
255 }
256 }
257 {% endif %}
258
259 p.caption {
260 padding-left: 0.75em;
261 margin-bottom: 0em;
262 }
263 p.caption:not(:first-child) {
264 padding-top: 0.75em;
265 }
266 .toctree-l1 a.reference:before {
267 padding-right: 0.5em !important;
268 }