]>
Commit | Line | Data |
---|---|---|
1a4d82fc JJ |
1 | /** |
2 | * Copyright 2013 The Rust Project Developers. See the COPYRIGHT | |
3 | * file at the top-level directory of this distribution and at | |
4 | * http://rust-lang.org/COPYRIGHT. | |
5 | * | |
6 | * Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or | |
7 | * http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | |
8 | * <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your | |
9 | * option. This file may not be copied, modified, or distributed | |
10 | * except according to those terms. | |
11 | */ | |
b039eaaf SL |
12 | |
13 | /* See FiraSans-LICENSE.txt for the Fira Sans license. */ | |
1a4d82fc JJ |
14 | @font-face { |
15 | font-family: 'Fira Sans'; | |
16 | font-style: normal; | |
17 | font-weight: 400; | |
18 | src: local('Fira Sans'), url("FiraSans-Regular.woff") format('woff'); | |
19 | } | |
20 | @font-face { | |
21 | font-family: 'Fira Sans'; | |
22 | font-style: normal; | |
23 | font-weight: 500; | |
24 | src: local('Fira Sans Medium'), url("FiraSans-Medium.woff") format('woff'); | |
25 | } | |
b039eaaf SL |
26 | |
27 | /* See SourceSerifPro-LICENSE.txt for the Source Serif Pro license and | |
28 | * Heuristica-LICENSE.txt for the Heuristica license. */ | |
1a4d82fc JJ |
29 | @font-face { |
30 | font-family: 'Source Serif Pro'; | |
31 | font-style: normal; | |
32 | font-weight: 400; | |
33 | src: local('Source Serif Pro'), url("SourceSerifPro-Regular.woff") format('woff'); | |
34 | } | |
35 | @font-face { | |
36 | font-family: 'Source Serif Pro'; | |
37 | font-style: italic; | |
38 | font-weight: 400; | |
39 | src: url("Heuristica-Italic.woff") format('woff'); | |
40 | } | |
41 | @font-face { | |
42 | font-family: 'Source Serif Pro'; | |
43 | font-style: normal; | |
44 | font-weight: 700; | |
45 | src: local('Source Serif Pro Bold'), url("SourceSerifPro-Bold.woff") format('woff'); | |
46 | } | |
b039eaaf SL |
47 | |
48 | /* See SourceCodePro-LICENSE.txt for the Source Code Pro license. */ | |
1a4d82fc JJ |
49 | @font-face { |
50 | font-family: 'Source Code Pro'; | |
51 | font-style: normal; | |
52 | font-weight: 400; | |
53 | src: local('Source Code Pro'), url("SourceCodePro-Regular.woff") format('woff'); | |
54 | } | |
55 | @font-face { | |
56 | font-family: 'Source Code Pro'; | |
57 | font-style: normal; | |
58 | font-weight: 600; | |
59 | src: local('Source Code Pro Semibold'), url("SourceCodePro-Semibold.woff") format('woff'); | |
60 | } | |
61 | ||
62 | @import "normalize.css"; | |
63 | ||
64 | * { | |
65 | -webkit-box-sizing: border-box; | |
66 | -moz-box-sizing: border-box; | |
67 | box-sizing: border-box; | |
68 | } | |
69 | ||
70 | /* General structure and fonts */ | |
71 | ||
72 | body { | |
73 | color: #333; | |
85aaf69f | 74 | font: 16px/1.4 "Source Serif Pro", Georgia, Times, "Times New Roman", serif; |
1a4d82fc JJ |
75 | margin: 0; |
76 | position: relative; | |
77 | padding: 10px 15px 20px 15px; | |
78 | ||
79 | -webkit-font-feature-settings: "kern", "liga"; | |
80 | -moz-font-feature-settings: "kern", "liga"; | |
81 | font-feature-settings: "kern", "liga"; | |
82 | } | |
83 | ||
84 | h1 { | |
85 | font-size: 1.5em; | |
86 | } | |
87 | h2 { | |
88 | font-size: 1.4em; | |
89 | } | |
90 | h3 { | |
91 | font-size: 1.3em; | |
92 | } | |
c34b1796 | 93 | h1, h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.type):not(.tymethod) { |
1a4d82fc JJ |
94 | color: black; |
95 | font-weight: 500; | |
96 | margin: 20px 0 15px 0; | |
97 | padding-bottom: 6px; | |
98 | } | |
99 | h1.fqn { | |
100 | border-bottom: 1px dashed #D5D5D5; | |
101 | margin-top: 0; | |
102 | } | |
c34b1796 | 103 | h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.type):not(.tymethod) { |
1a4d82fc JJ |
104 | border-bottom: 1px solid #DDDDDD; |
105 | } | |
106 | h3.impl, h3.method, h4.method, h3.type, h4.type { | |
107 | font-weight: 600; | |
108 | margin-top: 10px; | |
109 | margin-bottom: 10px; | |
110 | } | |
111 | h3.impl, h3.method, h3.type { | |
112 | margin-top: 15px; | |
113 | } | |
e9174d1e | 114 | h1, h2, h3, h4, .sidebar, a.source, .search-input, .content table :not(code)>a, .collapse-toggle { |
1a4d82fc JJ |
115 | font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; |
116 | } | |
117 | ||
118 | ol, ul { | |
119 | padding-left: 25px; | |
120 | } | |
121 | ul ul, ol ul, ul ol, ol ol { | |
122 | margin-bottom: 0; | |
123 | } | |
124 | ||
125 | p { | |
126 | margin: 0 0 .6em 0; | |
127 | } | |
128 | ||
129 | code, pre { | |
130 | font-family: "Source Code Pro", Menlo, Monaco, Consolas, "DejaVu Sans Mono", Inconsolata, monospace; | |
131 | white-space: pre-wrap; | |
132 | } | |
133 | .docblock code { | |
134 | background-color: #F5F5F5; | |
135 | border-radius: 3px; | |
136 | padding: 0 0.2em; | |
137 | } | |
c1a9b12d SL |
138 | .docblock pre code { |
139 | padding: 0; | |
140 | } | |
1a4d82fc JJ |
141 | pre { |
142 | background-color: #F5F5F5; | |
143 | padding: 14px; | |
144 | } | |
145 | ||
146 | .source pre { | |
147 | padding: 20px; | |
148 | } | |
149 | ||
150 | .content.source { | |
151 | margin-top: 50px; | |
152 | max-width: none; | |
153 | overflow: visible; | |
154 | margin-left: 0px; | |
155 | min-width: 70em; | |
156 | } | |
157 | ||
158 | nav.sub { | |
159 | font-size: 16px; | |
160 | text-transform: uppercase; | |
161 | } | |
162 | ||
163 | .sidebar { | |
164 | width: 200px; | |
165 | position: absolute; | |
166 | left: 0; | |
167 | top: 0; | |
168 | min-height: 100%; | |
169 | } | |
170 | ||
171 | .content, nav { max-width: 960px; } | |
172 | ||
173 | /* Everything else */ | |
174 | ||
c1a9b12d | 175 | .js-only, .hidden { display: none !important; } |
1a4d82fc JJ |
176 | |
177 | .sidebar { | |
178 | padding: 10px; | |
179 | } | |
180 | .sidebar img { | |
181 | margin: 20px auto; | |
182 | display: block; | |
183 | } | |
184 | ||
185 | .sidebar .location { | |
186 | font-size: 17px; | |
187 | margin: 30px 0 20px 0; | |
188 | background: #e1e1e1; | |
189 | text-align: center; | |
190 | color: #333; | |
191 | } | |
192 | ||
193 | .location a:first-child { font-weight: 500; } | |
194 | ||
195 | .block { | |
196 | padding: 0 10px; | |
197 | margin-bottom: 14px; | |
198 | } | |
e9174d1e | 199 | .block h2, .block h3 { |
1a4d82fc JJ |
200 | margin-top: 0; |
201 | margin-bottom: 8px; | |
202 | text-align: center; | |
203 | } | |
e9174d1e SL |
204 | .block ul, .block li { |
205 | margin: 0; | |
206 | padding: 0; | |
207 | list-style: none; | |
208 | } | |
1a4d82fc JJ |
209 | |
210 | .block a { | |
211 | display: block; | |
212 | text-overflow: ellipsis; | |
213 | overflow: hidden; | |
214 | line-height: 15px; | |
215 | padding: 7px 5px; | |
216 | font-size: 14px; | |
217 | font-weight: 300; | |
218 | transition: border 500ms ease-out; | |
219 | } | |
220 | ||
221 | .block a:hover { | |
222 | background: #F5F5F5; | |
223 | } | |
224 | ||
225 | .content { | |
226 | padding: 15px 0; | |
227 | } | |
228 | ||
229 | .content.source pre.rust { | |
230 | white-space: pre; | |
231 | overflow: auto; | |
232 | padding-left: 0; | |
233 | } | |
234 | .content pre.line-numbers { | |
235 | float: left; | |
236 | border: none; | |
237 | position: relative; | |
238 | ||
239 | -webkit-user-select: none; | |
240 | -moz-user-select: none; | |
241 | -ms-user-select: none; | |
242 | user-select: none; | |
243 | } | |
244 | .line-numbers span { color: #c67e2d; cursor: pointer; } | |
245 | .line-numbers .line-highlighted { | |
246 | background-color: #f6fdb0 !important; | |
247 | } | |
248 | ||
249 | .content .highlighted { | |
250 | color: #000 !important; | |
251 | background-color: #ccc; | |
252 | } | |
253 | .content .highlighted a, .content .highlighted span { color: #000 !important; } | |
254 | .content .highlighted.trait { background-color: #fece7e; } | |
255 | .content .highlighted.mod { background-color: #afc6e4; } | |
256 | .content .highlighted.enum { background-color: #b4d1b9; } | |
257 | .content .highlighted.struct { background-color: #e7b1a0; } | |
258 | .content .highlighted.fn { background-color: #c6afb3; } | |
259 | .content .highlighted.method { background-color: #c6afb3; } | |
260 | .content .highlighted.tymethod { background-color: #c6afb3; } | |
261 | .content .highlighted.type { background-color: #c6afb3; } | |
1a4d82fc | 262 | |
d9579d0f AL |
263 | .docblock.short p { |
264 | display: inline; | |
265 | } | |
266 | ||
1a4d82fc JJ |
267 | .docblock.short.nowrap { |
268 | display: block; | |
269 | overflow: hidden; | |
270 | white-space: nowrap; | |
271 | text-overflow: ellipsis; | |
272 | } | |
273 | ||
274 | .docblock.short p { | |
275 | overflow: hidden; | |
276 | text-overflow: ellipsis; | |
277 | margin: 0; | |
278 | } | |
279 | .docblock.short code { white-space: nowrap; } | |
280 | ||
281 | .docblock h1, .docblock h2, .docblock h3, .docblock h4, .docblock h5 { | |
282 | border-bottom: 1px solid #DDD; | |
283 | } | |
284 | ||
285 | .docblock h1 { font-size: 1.3em; } | |
286 | .docblock h2 { font-size: 1.15em; } | |
287 | .docblock h3, .docblock h4, .docblock h5 { font-size: 1em; } | |
288 | ||
289 | .content .out-of-band { | |
290 | font-size: 23px; | |
291 | width: 40%; | |
292 | margin: 0px; | |
293 | padding: 0px; | |
294 | text-align: right; | |
295 | display: inline-block; | |
296 | } | |
297 | ||
298 | .content .in-band { | |
299 | width: 60%; | |
300 | margin: 0px; | |
301 | padding: 0px; | |
302 | display: inline-block; | |
303 | } | |
304 | ||
305 | .content table { | |
306 | border-spacing: 0 5px; | |
307 | border-collapse: separate; | |
308 | } | |
309 | .content td { vertical-align: top; } | |
310 | .content td:first-child { padding-right: 20px; } | |
311 | .content td p:first-child { margin-top: 0; } | |
312 | .content td h1, .content td h2 { margin-left: 0; font-size: 1.1em; } | |
313 | ||
85aaf69f SL |
314 | .docblock table { |
315 | border: 1px solid #ddd; | |
316 | margin: .5em 0; | |
317 | border-collapse: collapse; | |
318 | width: 100%; | |
319 | } | |
320 | ||
321 | .docblock table td { | |
322 | padding: .5em; | |
323 | border-top: 1px dashed #ddd; | |
324 | border-bottom: 1px dashed #ddd; | |
325 | ||
326 | } | |
327 | ||
328 | .docblock table th { | |
329 | padding: .5em; | |
330 | text-align: left; | |
331 | border-top: 1px solid #ddd; | |
332 | border-bottom: 1px solid #ddd; | |
333 | } | |
334 | ||
1a4d82fc JJ |
335 | .content .item-list { |
336 | list-style-type: none; | |
337 | padding: 0; | |
338 | } | |
339 | ||
340 | .content .item-list li { margin-bottom: 3px; } | |
341 | ||
342 | .content .multi-column { | |
343 | -moz-column-count: 5; | |
344 | -moz-column-gap: 2.5em; | |
345 | -webkit-column-count: 5; | |
346 | -webkit-column-gap: 2.5em; | |
347 | column-count: 5; | |
348 | column-gap: 2.5em; | |
349 | } | |
350 | .content .multi-column li { width: 100%; display: inline-block; } | |
351 | ||
352 | .content .method { | |
353 | font-size: 1em; | |
354 | position: relative; | |
355 | } | |
62682a34 SL |
356 | /* Shift "where ..." part of method or fn definition down a line */ |
357 | .content .method .where, .content .fn .where { display: block; } | |
1a4d82fc | 358 | /* Bit of whitespace to indent it */ |
62682a34 | 359 | .content .method .where::before, .content .fn .where::before { content: ' '; } |
1a4d82fc | 360 | |
d9579d0f | 361 | .content .methods > div { margin-left: 40px; } |
1a4d82fc | 362 | |
d9579d0f AL |
363 | .content .impl-items .docblock, .content .impl-items .stability { |
364 | margin-left: 40px; | |
365 | } | |
62682a34 | 366 | .content .impl-items .method, .content .impl-items > .type { |
d9579d0f AL |
367 | margin-left: 20px; |
368 | } | |
1a4d82fc | 369 | |
e9174d1e SL |
370 | .content .stability code { |
371 | font-size: 90%; | |
372 | } | |
373 | ||
1a4d82fc JJ |
374 | nav { |
375 | border-bottom: 1px solid #e0e0e0; | |
376 | padding-bottom: 10px; | |
377 | margin-bottom: 10px; | |
378 | } | |
379 | nav.main { | |
380 | padding: 20px 0; | |
381 | text-align: center; | |
382 | } | |
383 | nav.main .current { | |
384 | border-top: 1px solid #000; | |
385 | border-bottom: 1px solid #000; | |
386 | } | |
387 | nav.main .separator { | |
388 | border: 1px solid #000; | |
389 | display: inline-block; | |
390 | height: 23px; | |
391 | margin: 0 20px; | |
392 | } | |
393 | nav.sum { text-align: right; } | |
394 | nav.sub form { display: inline; } | |
395 | ||
e9174d1e | 396 | nav.sub, .content { |
1a4d82fc JJ |
397 | margin-left: 230px; |
398 | } | |
399 | ||
400 | a { | |
401 | text-decoration: none; | |
402 | color: #000; | |
403 | background: transparent; | |
404 | } | |
c34b1796 | 405 | |
e9174d1e | 406 | .docblock a, .stability a { |
c34b1796 AL |
407 | color: #4e8bca; |
408 | } | |
409 | ||
e9174d1e | 410 | .docblock a:hover, .stability a { |
c34b1796 AL |
411 | text-decoration: underline; |
412 | } | |
1a4d82fc | 413 | |
d9579d0f | 414 | .content span.trait, .content a.trait, .block a.current.trait { color: #8866ff; } |
1a4d82fc JJ |
415 | .content span.mod, .content a.mod, block a.current.mod { color: #4d76ae; } |
416 | .content span.enum, .content a.enum, .block a.current.enum { color: #5e9766; } | |
417 | .content span.struct, .content a.struct, .block a.current.struct { color: #e53700; } | |
418 | .content span.fn, .content a.fn, .block a.current.fn { color: #8c6067; } | |
419 | .content span.method, .content a.method, .block a.current.method { color: #8c6067; } | |
420 | .content span.tymethod, .content a.tymethod, .block a.current.tymethod { color: #8c6067; } | |
1a4d82fc | 421 | .content .fnname { color: #8c6067; } |
e9174d1e | 422 | .block a.current.crate { font-weight: 500; } |
1a4d82fc JJ |
423 | |
424 | .search-input { | |
425 | width: 100%; | |
426 | /* Override Normalize.css: we have margins and do | |
427 | not want to overflow - the `moz` attribute is necessary | |
428 | until Firefox 29, too early to drop at this point */ | |
429 | -moz-box-sizing: border-box !important; | |
430 | box-sizing: border-box !important; | |
431 | outline: none; | |
432 | border: none; | |
433 | border-radius: 1px; | |
434 | color: #555; | |
435 | margin-top: 5px; | |
436 | padding: 10px 16px; | |
437 | font-size: 17px; | |
438 | box-shadow: 0 0 0 1px #e0e0e0, 0 0 0 2px transparent; | |
439 | transition: border-color 300ms ease; | |
440 | transition: border-radius 300ms ease-in-out; | |
441 | transition: box-shadow 300ms ease-in-out; | |
442 | } | |
443 | ||
444 | .search-input:focus { | |
445 | border-color: #66afe9; | |
446 | border-radius: 2px; | |
447 | border: 0; | |
448 | outline: 0; | |
449 | box-shadow: 0 0 8px #078dd8; | |
450 | } | |
451 | ||
452 | .search-results .desc { | |
453 | white-space: nowrap; | |
454 | text-overflow: ellipsis; | |
455 | overflow: hidden; | |
456 | display: block; | |
457 | } | |
458 | ||
459 | .search-results a { | |
460 | display: block; | |
461 | } | |
462 | ||
463 | .content .search-results td:first-child { padding-right: 0; } | |
464 | .content .search-results td:first-child a { padding-right: 10px; } | |
465 | ||
62682a34 SL |
466 | tr.result span.primitive::after { content: ' (primitive type)'; font-style: italic; } |
467 | ||
c1a9b12d SL |
468 | body.blur > :not(#help) { |
469 | filter: blur(8px); | |
470 | -webkit-filter: blur(8px); | |
471 | opacity: .7; | |
472 | } | |
473 | ||
1a4d82fc | 474 | #help { |
c1a9b12d SL |
475 | width: 100%; |
476 | height: 100vh; | |
477 | position: fixed; | |
478 | top: 0; | |
479 | left: 0; | |
480 | display: flex; | |
481 | justify-content: center; | |
482 | align-items: center; | |
483 | } | |
484 | #help > div { | |
485 | flex: 0 0 auto; | |
1a4d82fc | 486 | background: #e9e9e9; |
1a4d82fc | 487 | box-shadow: 0 0 6px rgba(0,0,0,.2); |
1a4d82fc JJ |
488 | width: 550px; |
489 | height: 300px; | |
490 | border: 1px solid #bfbfbf; | |
491 | } | |
1a4d82fc JJ |
492 | #help dt { |
493 | float: left; | |
c1a9b12d | 494 | border-radius: 4px; |
1a4d82fc JJ |
495 | border: 1px solid #bfbfbf; |
496 | background: #fff; | |
497 | width: 23px; | |
498 | text-align: center; | |
499 | clear: left; | |
500 | display: block; | |
501 | margin-top: -1px; | |
502 | } | |
503 | #help dd { margin: 5px 33px; } | |
504 | #help .infos { padding-left: 0; } | |
e9174d1e | 505 | #help h1, #help h2 { margin-top: 0; } |
c1a9b12d | 506 | #help > div div { |
1a4d82fc JJ |
507 | width: 50%; |
508 | float: left; | |
509 | padding: 20px; | |
510 | } | |
511 | ||
d9579d0f AL |
512 | em.stab.unstable { background: #FFF5D6; border-color: #FFC600; } |
513 | em.stab.deprecated { background: #F3DFFF; border-color: #7F0087; } | |
514 | em.stab { | |
515 | display: inline-block; | |
516 | border-width: 1px; | |
517 | border-style: solid; | |
518 | padding: 3px; | |
519 | margin-bottom: 5px; | |
520 | font-size: 90%; | |
521 | font-style: normal; | |
1a4d82fc | 522 | } |
d9579d0f AL |
523 | em.stab p { |
524 | display: inline; | |
1a4d82fc JJ |
525 | } |
526 | ||
d9579d0f AL |
527 | .module-item .stab { |
528 | border-width: 0; | |
529 | padding: 0; | |
530 | margin: 0; | |
531 | background: inherit !important; | |
1a4d82fc JJ |
532 | } |
533 | ||
d9579d0f AL |
534 | .module-item.unstable { |
535 | opacity: 0.65; | |
536 | } | |
1a4d82fc | 537 | |
c34b1796 AL |
538 | td.summary-column { |
539 | width: 100%; | |
540 | } | |
541 | ||
1a4d82fc JJ |
542 | .summary { |
543 | padding-right: 0px; | |
544 | } | |
1a4d82fc JJ |
545 | |
546 | :target { background: #FDFFD3; } | |
547 | .line-numbers :target { background-color: transparent; } | |
548 | ||
549 | /* Code highlighting */ | |
550 | pre.rust .kw { color: #8959A8; } | |
551 | pre.rust .kw-2, pre.rust .prelude-ty { color: #4271AE; } | |
552 | pre.rust .number, pre.rust .string { color: #718C00; } | |
553 | pre.rust .self, pre.rust .boolval, pre.rust .prelude-val, | |
554 | pre.rust .attribute, pre.rust .attribute .ident { color: #C82829; } | |
555 | pre.rust .comment { color: #8E908C; } | |
556 | pre.rust .doccomment { color: #4D4D4C; } | |
557 | pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; } | |
558 | pre.rust .lifetime { color: #B76514; } | |
559 | ||
560 | .rusttest { display: none; } | |
561 | pre.rust { position: relative; } | |
b039eaaf | 562 | a.test-arrow { |
1a4d82fc JJ |
563 | display: inline-block; |
564 | position: absolute; | |
b039eaaf SL |
565 | |
566 | background-color: #4e8bca; | |
567 | color: #f5f5f5; | |
568 | padding: 5px 10px 5px 10px; | |
569 | border-radius: 5px; | |
570 | font-size: 130%; | |
571 | top: 5px; | |
572 | right: 5px; | |
1a4d82fc JJ |
573 | } |
574 | ||
575 | .methods .section-header { | |
576 | /* Override parent class attributes. */ | |
577 | border-bottom: none !important; | |
578 | font-size: 1.1em !important; | |
579 | margin: 0 0 -5px; | |
580 | padding: 0; | |
581 | } | |
c34b1796 | 582 | |
1a4d82fc JJ |
583 | .section-header:hover a:after { |
584 | content: '\2002\00a7\2002'; | |
585 | } | |
586 | ||
c34b1796 AL |
587 | .section-header:hover a { |
588 | text-decoration: none; | |
589 | } | |
590 | ||
591 | .section-header a { | |
592 | color: inherit; | |
593 | } | |
594 | ||
1a4d82fc JJ |
595 | .collapse-toggle { |
596 | font-weight: 300; | |
597 | position: absolute; | |
d9579d0f | 598 | left: -23px; |
1a4d82fc | 599 | color: #999; |
d9579d0f | 600 | top: 0; |
1a4d82fc JJ |
601 | } |
602 | ||
603 | .toggle-wrapper > .collapse-toggle { | |
604 | left: -24px; | |
605 | margin-top: 0px; | |
606 | } | |
607 | ||
608 | .toggle-wrapper { | |
609 | position: relative; | |
610 | } | |
611 | ||
612 | .toggle-wrapper.collapsed { | |
613 | height: 1em; | |
614 | transition: height .2s; | |
615 | } | |
616 | ||
617 | .collapse-toggle > .inner { | |
618 | display: inline-block; | |
d9579d0f | 619 | width: 1.2ch; |
1a4d82fc JJ |
620 | text-align: center; |
621 | } | |
622 | ||
623 | .toggle-label { | |
624 | color: #999; | |
625 | } | |
626 | ||
627 | ||
628 | ||
629 | /* Media Queries */ | |
630 | ||
631 | @media (max-width: 700px) { | |
632 | body { | |
633 | padding-top: 0px; | |
634 | } | |
635 | ||
636 | .sidebar { | |
637 | height: 40px; | |
638 | min-height: 40px; | |
639 | width: 100%; | |
640 | margin: 0px; | |
641 | padding: 0px; | |
642 | position: static; | |
643 | } | |
644 | ||
645 | .sidebar .location { | |
646 | float: left; | |
647 | margin: 0px; | |
648 | padding: 5px; | |
649 | width: 60%; | |
650 | background: inherit; | |
651 | text-align: left; | |
652 | font-size: 24px; | |
653 | } | |
654 | ||
655 | .sidebar img { | |
656 | width: 35px; | |
657 | margin-top: 5px; | |
658 | margin-bottom: 0px; | |
659 | float: left; | |
660 | } | |
661 | ||
662 | nav.sub { | |
663 | margin: 0 auto; | |
664 | } | |
665 | ||
666 | .sidebar .block { | |
667 | display: none; | |
668 | } | |
669 | ||
670 | .content { | |
671 | margin-left: 0px; | |
672 | } | |
673 | ||
85aaf69f SL |
674 | .content .in-band { |
675 | width: 100%; | |
676 | } | |
677 | ||
678 | .content .out-of-band { | |
679 | display: none; | |
680 | } | |
681 | ||
1a4d82fc JJ |
682 | .toggle-wrapper > .collapse-toggle { |
683 | left: 0px; | |
684 | } | |
685 | ||
686 | .toggle-wrapper { | |
687 | height: 1.5em; | |
688 | } | |
689 | } | |
690 | ||
691 | @media print { | |
692 | nav.sub, .content .out-of-band, .collapse-toggle { | |
693 | display: none; | |
694 | } | |
695 | } |