1 | body {
|
2 | padding-top: 70px;
|
3 | }
|
4 |
|
5 |
|
6 |
|
7 | body::before {
|
8 | content: ' ';
|
9 | position: fixed;
|
10 | width: 100%;
|
11 | height: 100%;
|
12 | top: 0;
|
13 | left: 0;
|
14 | background-color: #f8f8f8;
|
15 | background: url(../img/grid.png) repeat-x;
|
16 | will-change: transform;
|
17 | z-index: -1;
|
18 | }
|
19 |
|
20 | body > .container {
|
21 | min-height: 400px;
|
22 | }
|
23 |
|
24 | ul.nav .main {
|
25 | font-weight: bold;
|
26 | }
|
27 |
|
28 | .col-md-3 {
|
29 | padding-left: 0;
|
30 | z-index: 1;
|
31 | }
|
32 |
|
33 | .col-md-9 {
|
34 | padding-bottom: 100px;
|
35 | }
|
36 |
|
37 | .source-links {
|
38 | float: right;
|
39 | }
|
40 |
|
41 | .col-md-9 img {
|
42 | max-width: 100%;
|
43 | display: inline-block;
|
44 | padding: 4px;
|
45 | line-height: 1.428571429;
|
46 | background-color: #fff;
|
47 | border: 1px solid #ddd;
|
48 | border-radius: 4px;
|
49 | margin: 20px auto 30px auto;
|
50 | }
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 | :target::before {
|
58 | content: "";
|
59 | display: block;
|
60 | margin-top: -75px;
|
61 | height: 75px;
|
62 | pointer-events: none;
|
63 | }
|
64 |
|
65 | h1 {
|
66 | color: #444;
|
67 | font-weight: 400;
|
68 | font-size: 42px;
|
69 | }
|
70 |
|
71 | h2, h3, h4, h5, h6 {
|
72 | color: #444;
|
73 | font-weight: 300;
|
74 | }
|
75 |
|
76 | hr {
|
77 | border-top: 1px solid #aaa;
|
78 | }
|
79 |
|
80 | pre, .rst-content tt {
|
81 | max-width: 100%;
|
82 | background: #fff;
|
83 | border: solid 1px #e1e4e5;
|
84 | color: #333;
|
85 | overflow-x: auto;
|
86 | }
|
87 |
|
88 | code.code-large, .rst-content tt.code-large {
|
89 | font-size: 90%;
|
90 | }
|
91 |
|
92 | code {
|
93 | padding: 2px 5px;
|
94 | background: #fff;
|
95 | border: solid 1px #e1e4e5;
|
96 | color: #333;
|
97 | white-space: pre-wrap;
|
98 | word-wrap: break-word;
|
99 | }
|
100 |
|
101 | pre code {
|
102 | background: transparent;
|
103 | border: none;
|
104 | white-space: pre;
|
105 | word-wrap: normal;
|
106 | font-family: monospace,serif;
|
107 | font-size: 12px;
|
108 | }
|
109 |
|
110 | kbd {
|
111 | padding: 2px 4px;
|
112 | font-size: 90%;
|
113 | color: #fff;
|
114 | background-color: #333;
|
115 | border-radius: 3px;
|
116 | -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
|
117 | box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
|
118 | }
|
119 |
|
120 | a code {
|
121 | color: #2FA4E7;
|
122 | }
|
123 |
|
124 | a:hover code, a:focus code {
|
125 | color: #157AB5;
|
126 | }
|
127 |
|
128 | footer {
|
129 | margin-top: 30px;
|
130 | margin-bottom: 10px;
|
131 | text-align: center;
|
132 | font-weight: 200;
|
133 | }
|
134 |
|
135 | .modal-dialog {
|
136 | margin-top: 60px;
|
137 | }
|
138 |
|
139 |
|
140 |
|
141 |
|
142 |
|
143 |
|
144 |
|
145 |
|
146 |
|
147 | .bs-sidebar.affix {
|
148 | position: static;
|
149 | }
|
150 |
|
151 | .bs-sidebar.well {
|
152 | padding: 0;
|
153 | max-height: 90%;
|
154 | overflow-y: auto;
|
155 | }
|
156 |
|
157 |
|
158 | .bs-sidenav {
|
159 | padding-top: 10px;
|
160 | padding-bottom: 10px;
|
161 | border-radius: 5px;
|
162 | }
|
163 |
|
164 |
|
165 | .bs-sidebar .nav > li > a {
|
166 | display: block;
|
167 | padding: 5px 20px;
|
168 | z-index: 1;
|
169 | }
|
170 | .bs-sidebar .nav > li > a:hover,
|
171 | .bs-sidebar .nav > li > a:focus {
|
172 | text-decoration: none;
|
173 | border-right: 1px solid;
|
174 | }
|
175 | .bs-sidebar .nav > .active > a,
|
176 | .bs-sidebar .nav > .active:hover > a,
|
177 | .bs-sidebar .nav > .active:focus > a {
|
178 | font-weight: bold;
|
179 | background-color: transparent;
|
180 | border-right: 1px solid;
|
181 | }
|
182 |
|
183 |
|
184 | .bs-sidebar .nav .nav {
|
185 | display: none;
|
186 | margin-bottom: 8px;
|
187 | }
|
188 | .bs-sidebar .nav .nav > li > a {
|
189 | padding-top: 3px;
|
190 | padding-bottom: 3px;
|
191 | padding-left: 30px;
|
192 | font-size: 90%;
|
193 | }
|
194 |
|
195 |
|
196 | @media (min-width: 992px) {
|
197 | |
198 |
|
199 | .col-md-9 {
|
200 | box-sizing: border-box;
|
201 | padding-left: 25%;
|
202 | width: 100%;
|
203 | }
|
204 | .bs-sidebar .nav > .active > ul {
|
205 | display: block;
|
206 | }
|
207 |
|
208 | .bs-sidebar.affix,
|
209 | .bs-sidebar.affix-bottom {
|
210 | width: 213px;
|
211 | }
|
212 | .bs-sidebar.affix {
|
213 | position: fixed;
|
214 | top: 80px;
|
215 | }
|
216 | .bs-sidebar.affix-bottom {
|
217 | position: absolute;
|
218 | }
|
219 | .bs-sidebar.affix-bottom .bs-sidenav,
|
220 | .bs-sidebar.affix .bs-sidenav {
|
221 | margin-top: 0;
|
222 | margin-bottom: 0;
|
223 | }
|
224 | }
|
225 | @media (min-width: 1200px) {
|
226 |
|
227 | .bs-sidebar.affix-bottom,
|
228 | .bs-sidebar.affix {
|
229 | width: 263px;
|
230 | }
|
231 | }
|
232 |
|
233 | .headerlink {
|
234 | font-family: FontAwesome;
|
235 | font-size: 14px;
|
236 | display: none;
|
237 | padding-left: .5em;
|
238 | }
|
239 |
|
240 | h1:hover .headerlink, h2:hover .headerlink, h3:hover .headerlink, h4:hover .headerlink, h5:hover .headerlink, h6:hover .headerlink{
|
241 | display:inline-block;
|
242 | }
|
243 |
|
244 |
|
245 |
|
246 | .admonition {
|
247 | padding: 15px;
|
248 | margin-bottom: 20px;
|
249 | border: 1px solid transparent;
|
250 | border-radius: 4px;
|
251 | text-align: left;
|
252 | }
|
253 |
|
254 | .admonition.note {
|
255 | color: #3a87ad;
|
256 | background-color: #d9edf7;
|
257 | border-color: #bce8f1;
|
258 | }
|
259 |
|
260 | .admonition.warning {
|
261 | color: #c09853;
|
262 | background-color: #fcf8e3;
|
263 | border-color: #fbeed5;
|
264 | }
|
265 |
|
266 | .admonition.danger {
|
267 | color: #b94a48;
|
268 | background-color: #f2dede;
|
269 | border-color: #eed3d7;
|
270 | }
|
271 |
|
272 | .admonition-title {
|
273 | font-weight: bold;
|
274 | text-align: left;
|
275 | }
|
276 |
|
277 |
|
278 | .dropdown-submenu {
|
279 | position: relative;
|
280 | }
|
281 |
|
282 | .dropdown-submenu>.dropdown-menu {
|
283 | top: 0;
|
284 | left: 100%;
|
285 | margin-top: -6px;
|
286 | margin-left: -1px;
|
287 | -webkit-border-radius: 0 6px 6px 6px;
|
288 | -moz-border-radius: 0 6px 6px;
|
289 | border-radius: 0 6px 6px 6px;
|
290 | }
|
291 |
|
292 | .dropdown-submenu:hover>.dropdown-menu {
|
293 | display: block;
|
294 | }
|
295 |
|
296 | .dropdown-submenu>a:after {
|
297 | display: block;
|
298 | content: " ";
|
299 | float: right;
|
300 | width: 0;
|
301 | height: 0;
|
302 | border-color: transparent;
|
303 | border-style: solid;
|
304 | border-width: 5px 0 5px 5px;
|
305 | border-left-color: #ccc;
|
306 | margin-top: 5px;
|
307 | margin-right: -10px;
|
308 | }
|
309 |
|
310 | .dropdown-submenu:hover>a:after {
|
311 | border-left-color: #fff;
|
312 | }
|
313 |
|
314 | .dropdown-submenu.pull-left {
|
315 | float: none;
|
316 | }
|
317 |
|
318 | .dropdown-submenu.pull-left>.dropdown-menu {
|
319 | left: -100%;
|
320 | margin-left: 10px;
|
321 | -webkit-border-radius: 6px 0 6px 6px;
|
322 | -moz-border-radius: 6px 0 6px 6px;
|
323 | border-radius: 6px 0 6px 6px;
|
324 | }
|