blob: 4f8b9bb661fc4d32b35a59cbcaf08b46bdc6cb24 [file] [log] [blame]
Alexander Afanasyev508269a2012-07-28 13:59:54 -07001/*
2 * default.css_t
3 * ~~~~~~~~~~~~~
4 *
5 * Sphinx stylesheet -- default theme.
6 *
7 * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
8 * :license: BSD, see LICENSE for details.
9 *
10 */
11
12@import url("basic.css");
13
14/* -- page layout ----------------------------------------------------------- */
15
16body {
17 font-family: {{ theme_bodyfont }};
18 font-size: 100%;
19 background-color: {{ theme_footerbgcolor }};
20 color: #000;
21 margin: 0;
22 padding: 0;
23}
24
25div.document {
26 background-color: {{ theme_sidebarbgcolor }};
27}
28
29div.documentwrapper {
30 float: left;
31 width: 100%;
32}
33
34div.bodywrapper {
35 margin: 0 0 0 {{ theme_sidebarwidth|toint }}px;
36}
37
38div.body {
39 background-color: {{ theme_bgcolor }};
40 color: {{ theme_textcolor }};
41 padding: 0 20px 30px 20px;
Alexander Afanasyev24810922019-02-10 22:06:43 -050042 max-width: unset;
Alexander Afanasyev508269a2012-07-28 13:59:54 -070043}
44
45{%- if theme_rightsidebar|tobool %}
46div.bodywrapper {
47 margin: 0 {{ theme_sidebarwidth|toint }}px 0 0;
48}
49{%- endif %}
50
51div.footer {
52 color: {{ theme_footertextcolor }};
53 width: 100%;
54 padding: 9px 0 9px 0;
55 text-align: center;
56 font-size: 75%;
57}
58
59div.footer a {
60 color: {{ theme_footertextcolor }};
61 text-decoration: underline;
62}
63
64div.related {
65 background-color: {{ theme_relbarbgcolor }};
66 line-height: 30px;
67 color: {{ theme_relbartextcolor }};
68}
69
70div.related a {
71 color: {{ theme_relbarlinkcolor }};
72}
73
74div.sphinxsidebar {
75 {%- if theme_stickysidebar|tobool %}
76 top: 30px;
77 bottom: 0;
78 margin: 0;
79 position: fixed;
80 overflow: auto;
81 height: auto;
82 {%- endif %}
83 {%- if theme_rightsidebar|tobool %}
84 float: right;
85 {%- if theme_stickysidebar|tobool %}
86 right: 0;
87 {%- endif %}
88 {%- endif %}
89}
90
91{%- if theme_stickysidebar|tobool %}
92/* this is nice, but it it leads to hidden headings when jumping
93 to an anchor */
94/*
95div.related {
96 position: fixed;
97}
98
99div.documentwrapper {
100 margin-top: 30px;
101}
102*/
103{%- endif %}
104
105div.sphinxsidebar h3 {
106 font-family: {{ theme_headfont }};
107 color: {{ theme_sidebartextcolor }};
108 font-size: 1.4em;
109 font-weight: normal;
110 margin: 0;
111 padding: 0;
112}
113
114div.sphinxsidebar h3 a {
115 color: {{ theme_sidebartextcolor }};
116}
117
118div.sphinxsidebar h4 {
119 font-family: {{ theme_headfont }};
120 color: {{ theme_sidebartextcolor }};
121 font-size: 1.3em;
122 font-weight: normal;
123 margin: 5px 0 0 0;
124 padding: 0;
125}
126
127div.sphinxsidebar p {
128 color: {{ theme_sidebartextcolor }};
129}
130
131div.sphinxsidebar p.topless {
132 margin: 5px 10px 10px 10px;
133}
134
135div.sphinxsidebar ul {
136 margin: 10px;
137 padding: 0;
138 color: {{ theme_sidebartextcolor }};
139}
140
141div.sphinxsidebar a {
142 color: {{ theme_sidebarlinkcolor }};
143}
144
145div.sphinxsidebar input {
146 border: 1px solid {{ theme_sidebarlinkcolor }};
147 font-family: sans-serif;
148 font-size: 1em;
149}
150
151{% if theme_collapsiblesidebar|tobool %}
152/* for collapsible sidebar */
153div#sidebarbutton {
154 background-color: {{ theme_sidebarbtncolor }};
155}
156{% endif %}
157
158/* -- hyperlink styles ------------------------------------------------------ */
159
160a {
161 color: {{ theme_linkcolor }};
162 text-decoration: none;
163}
164
165a:visited {
166 color: {{ theme_visitedlinkcolor }};
167 text-decoration: none;
168}
169
170a:hover {
171 text-decoration: underline;
172}
173
174{% if theme_externalrefs|tobool %}
175a.external {
176 text-decoration: none;
177 border-bottom: 1px dashed {{ theme_linkcolor }};
178}
179
180a.external:hover {
181 text-decoration: none;
182 border-bottom: none;
183}
184
185a.external:visited {
186 text-decoration: none;
187 border-bottom: 1px dashed {{ theme_visitedlinkcolor }};
188}
189{% endif %}
190
191/* -- body styles ----------------------------------------------------------- */
192
193div.body h1,
194div.body h2,
195div.body h3,
196div.body h4,
197div.body h5,
198div.body h6 {
199 font-family: {{ theme_headfont }};
200 background-color: {{ theme_headbgcolor }};
201 font-weight: normal;
202 color: {{ theme_headtextcolor }};
203 border-bottom: 1px solid #ccc;
204 margin: 20px -20px 10px -20px;
205 padding: 3px 0 3px 10px;
206}
207
208div.body h1 { margin-top: 0; font-size: 200%; }
209div.body h2 { font-size: 160%; }
210div.body h3 { font-size: 140%; }
211div.body h4 { font-size: 120%; }
212div.body h5 { font-size: 110%; }
213div.body h6 { font-size: 100%; }
214
215a.headerlink {
216 color: {{ theme_headlinkcolor }};
217 font-size: 0.8em;
218 padding: 0 4px 0 4px;
219 text-decoration: none;
220}
221
222a.headerlink:hover {
223 background-color: {{ theme_headlinkcolor }};
224 color: white;
225}
226
227div.body p, div.body dd, div.body li {
228 text-align: justify;
229 line-height: 130%;
230}
231
232div.admonition p.admonition-title + p {
233 display: inline;
234}
235
236div.admonition p {
237 margin-bottom: 5px;
238}
239
240div.admonition pre {
241 margin-bottom: 5px;
242}
243
244div.admonition ul, div.admonition ol {
245 margin-bottom: 5px;
246}
247
248div.note {
249 background-color: #eee;
250 border: 1px solid #ccc;
251}
252
253div.seealso {
254 background-color: #ffc;
255 border: 1px solid #ff6;
256}
257
258div.topic {
259 background-color: #eee;
260}
261
262div.warning {
263 background-color: #ffe4e4;
264 border: 1px solid #f66;
265}
266
267p.admonition-title {
268 display: inline;
269}
270
271p.admonition-title:after {
272 content: ":";
273}
274
275pre {
276 padding: 5px;
277 background-color: {{ theme_codebgcolor }};
278 color: {{ theme_codetextcolor }};
279 line-height: 120%;
280 border: 1px solid #ac9;
281 border-left: none;
282 border-right: none;
283}
284
285tt {
286 background-color: #ecf0f3;
287 padding: 0 1px 0 1px;
288 font-size: 0.95em;
289}
290
291th {
292 background-color: #ede;
293}
294
295.warning tt {
296 background: #efc2c2;
297}
298
299.note tt {
300 background: #d6d6d6;
301}
302
303.viewcode-back {
304 font-family: {{ theme_bodyfont }};
305}
306
307div.viewcode-block:target {
308 background-color: #f4debf;
309 border-top: 1px solid #ac9;
310 border-bottom: 1px solid #ac9;
311}