]>
git.proxmox.com Git - rustc.git/blob - src/doc/reference/src/theme/book.css
3 font-family: "Open Sans", sans-serif
;
25 .header + .header h5 {
30 border-collapse: collapse
;
48 -webkit-box-sizing: border-box
;
49 -moz-box-sizing: border-box
;
50 box-sizing: border-box
;
51 -webkit-overflow-scrolling: touch
;
52 -webkit-transition: left
0.5s;
53 -moz-transition: left
0.5s;
54 -o-transition: left
0.5s;
55 -ms-transition: left
0.5s;
56 transition: left
0.5s;
58 @media only screen and
(max-width: 1060px) {
66 .sidebar-hidden .sidebar {
69 .sidebar-visible .sidebar {
73 list-style: none outside none
;
79 text-decoration: none
;
82 text-decoration: none
;
90 list-style: none outside none
;
95 -o-text-overflow: ellipsis
;
96 text-overflow: ellipsis
;
107 -webkit-box-sizing: border-box
;
108 -moz-box-sizing: border-box
;
109 box-sizing: border-box
;
110 -webkit-overflow-scrolling: touch
;
112 -webkit-transition: left
0.5s;
113 -moz-transition: left
0.5s;
114 -o-transition: left
0.5s;
115 -ms-transition: left
0.5s;
116 transition: left
0.5s;
118 @media only screen and
(max-width: 1060px) {
124 .sidebar-hidden .page-wrapper {
127 .sidebar-visible .page-wrapper {
143 padding-bottom: 50px;
146 text-decoration: none
;
149 text-decoration: underline
;
163 -webkit-transition: color
0.5s;
164 -moz-transition: color
0.5s;
165 -o-transition: color
0.5s;
166 -ms-transition: color
0.5s;
167 transition: color
0.5s;
172 .menu-bar .left-buttons {
175 .menu-bar .right-buttons {
179 display: inline-block
;
191 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
192 filter: alpha
(opacity
=0);
193 -webkit-transition: opacity
0.5s ease-in-out
;
194 -moz-transition: opacity
0.5s ease-in-out
;
195 -o-transition: opacity
0.5s ease-in-out
;
196 -ms-transition: opacity
0.5s ease-in-out
;
197 transition: opacity
0.5s ease-in-out
;
199 .menu-bar:hover .menu-title {
207 text-decoration: none
;
209 top: 50px /* Height of menu-bar */;
214 display: -webkit-box
;
216 display: -webkit-flex
;
217 display: -ms-flexbox
;
220 -webkit-box-pack: center
;
221 -moz-box-pack: center
;
223 -ms-flex-pack: center
;
224 -webkit-justify-content: center
;
225 justify-content: center
;
226 -ms-flex-line-pack: center
;
227 -webkit-align-content: center
;
228 align-content: center
;
229 -webkit-box-orient: vertical
;
230 -moz-box-orient: vertical
;
231 -o-box-orient: vertical
;
232 -webkit-flex-direction: column
;
233 -ms-flex-direction: column
;
234 flex-direction: column
;
235 -webkit-transition: color
0.5s;
236 -moz-transition: color
0.5s;
237 -o-transition: color
0.5s;
238 -ms-transition: color
0.5s;
239 transition: color
0.5s;
241 .mobile-nav-chapters {
244 .nav-chapters:hover {
245 text-decoration: none
;
257 -webkit-border-radius: 4px;
261 .theme-popup .theme {
267 .theme-popup .theme:hover:first-child {
268 border-top-left-radius: inherit
;
269 border-top-right-radius: inherit
;
271 .theme-popup .theme:hover:last-child {
272 border-bottom-left-radius: inherit
;
273 border-bottom-right-radius: inherit
;
276 @media only screen and
(max-width: 1250px) {
280 .mobile-nav-chapters {
283 text-decoration: none
;
286 -webkit-box-pack: center
;
287 -moz-box-pack: center
;
289 -ms-flex-pack: center
;
290 -webkit-justify-content: center
;
291 justify-content: center
;
292 -ms-flex-line-pack: center
;
293 -webkit-align-content: center
;
294 align-content: center
;
296 display: inline-block
;
298 -webkit-border-radius: 5px;
310 background-color: #fff;
313 .light
.content
.header:link
,
314 .light .content .header:visited {
318 .light
.content
.header:link:hover
,
319 .light .content .header:visited:hover {
320 text-decoration: none
;
323 background-color: #fafafa;
329 .light .chapter li a {
332 .light
.chapter li
.active
,
333 .light .chapter li a:hover {
334 /* Animate color change */
337 .light .chapter .spacer {
338 background-color: #f4f4f4;
341 .light
.menu-bar:visited
,
342 .light
.nav-chapters
,
343 .light
.nav-chapters:visited
,
344 .light
.mobile-nav-chapters
,
345 .light .mobile-nav-chapters:visited {
348 .light
.menu-bar
i:hover
,
349 .light
.nav-chapters:hover
,
350 .light .mobile-nav-chapters i:hover {
353 .light .mobile-nav-chapters i:hover {
356 .light .mobile-nav-chapters {
357 background-color: #fafafa;
359 .light
.content
a:link
,
363 .light .theme-popup {
366 border: 1px solid
#ccc;
368 .light .theme-popup .theme:hover {
369 background-color: #e6e6e6;
371 .light .theme-popup .default {
378 background-color: #f2f7f9;
379 border-top: 0.1em solid
#e1edf1;
380 border-bottom: 0.1em solid
#e1edf1;
383 border-color: #f2f2f2;
385 .light table tbody tr:nth-child(2n) {
391 .light table thead td {
394 .light table thead tr {
395 border: 1px #ccc solid
;
397 .light :not(pre) > .hljs {
398 display: inline-block
;
399 vertical-align: middle
;
400 padding: 0.1em 0.3em;
401 -webkit-border-radius: 3px;
407 .light pre > .buttons {
414 .light pre > .buttons :hover {
417 .light pre > .buttons i {
420 .light pre > .result {
425 background-color: #141617;
428 .coal
.content
.header:link
,
429 .coal .content .header:visited {
433 .coal
.content
.header:link:hover
,
434 .coal .content .header:visited:hover {
435 text-decoration: none
;
438 background-color: #292c2f;
444 .coal .chapter li a {
447 .coal
.chapter li
.active
,
448 .coal .chapter li a:hover {
449 /* Animate color change */
452 .coal .chapter .spacer {
453 background-color: #393939;
456 .coal
.menu-bar:visited
,
458 .coal
.nav-chapters:visited
,
459 .coal
.mobile-nav-chapters
,
460 .coal .mobile-nav-chapters:visited {
463 .coal
.menu-bar
i:hover
,
464 .coal
.nav-chapters:hover
,
465 .coal .mobile-nav-chapters i:hover {
468 .coal .mobile-nav-chapters i:hover {
471 .coal .mobile-nav-chapters {
472 background-color: #292c2f;
474 .coal
.content
a:link
,
481 border: 1px solid
#43484d;
483 .coal .theme-popup .theme:hover {
484 background-color: #1f2124;
486 .coal .theme-popup .default {
493 background-color: #242637;
494 border-top: 0.1em solid
#2c2f44;
495 border-bottom: 0.1em solid
#2c2f44;
498 border-color: #1f2223;
500 .coal table tbody tr:nth-child(2n) {
506 .coal table thead td {
509 .coal table thead tr {
510 border: 1px #3f4649 solid
;
512 .coal :not(pre) > .hljs {
513 display: inline-block
;
514 vertical-align: middle
;
515 padding: 0.1em 0.3em;
516 -webkit-border-radius: 3px;
522 .coal pre > .buttons {
529 .coal pre > .buttons :hover {
532 .coal pre > .buttons i {
535 .coal pre > .result {
540 background-color: #161923;
543 .navy
.content
.header:link
,
544 .navy .content .header:visited {
548 .navy
.content
.header:link:hover
,
549 .navy .content .header:visited:hover {
550 text-decoration: none
;
553 background-color: #282d3f;
559 .navy .chapter li a {
562 .navy
.chapter li
.active
,
563 .navy .chapter li a:hover {
564 /* Animate color change */
567 .navy .chapter .spacer {
568 background-color: #2d334f;
571 .navy
.menu-bar:visited
,
573 .navy
.nav-chapters:visited
,
574 .navy
.mobile-nav-chapters
,
575 .navy .mobile-nav-chapters:visited {
578 .navy
.menu-bar
i:hover
,
579 .navy
.nav-chapters:hover
,
580 .navy .mobile-nav-chapters i:hover {
583 .navy .mobile-nav-chapters i:hover {
586 .navy .mobile-nav-chapters {
587 background-color: #282d3f;
589 .navy
.content
a:link
,
596 border: 1px solid
#737480;
598 .navy .theme-popup .theme:hover {
599 background-color: #282e40;
601 .navy .theme-popup .default {
608 background-color: #262933;
609 border-top: 0.1em solid
#2f333f;
610 border-bottom: 0.1em solid
#2f333f;
613 border-color: #1f2331;
615 .navy table tbody tr:nth-child(2n) {
621 .navy table thead td {
624 .navy table thead tr {
625 border: 1px #39415b solid
;
627 .navy :not(pre) > .hljs {
628 display: inline-block
;
629 vertical-align: middle
;
630 padding: 0.1em 0.3em;
631 -webkit-border-radius: 3px;
637 .navy pre > .buttons {
644 .navy pre > .buttons :hover {
647 .navy pre > .buttons i {
650 .navy pre > .result {
655 background-color: #e1e1db;
658 .rust
.content
.header:link
,
659 .rust .content .header:visited {
663 .rust
.content
.header:link:hover
,
664 .rust .content .header:visited:hover {
665 text-decoration: none
;
668 background-color: #3b2e2a;
674 .rust .chapter li a {
677 .rust
.chapter li
.active
,
678 .rust .chapter li a:hover {
679 /* Animate color change */
682 .rust .chapter .spacer {
683 background-color: #45373a;
686 .rust
.menu-bar:visited
,
688 .rust
.nav-chapters:visited
,
689 .rust
.mobile-nav-chapters
,
690 .rust .mobile-nav-chapters:visited {
693 .rust
.menu-bar
i:hover
,
694 .rust
.nav-chapters:hover
,
695 .rust .mobile-nav-chapters i:hover {
698 .rust .mobile-nav-chapters i:hover {
701 .rust .mobile-nav-chapters {
702 background-color: #3b2e2a;
704 .rust
.content
a:link
,
711 border: 1px solid
#b38f6b;
713 .rust .theme-popup .theme:hover {
714 background-color: #99908a;
716 .rust .theme-popup .default {
723 background-color: #c1c1bb;
724 border-top: 0.1em solid
#b8b8b1;
725 border-bottom: 0.1em solid
#b8b8b1;
728 border-color: #d7d7cf;
730 .rust table tbody tr:nth-child(2n) {
736 .rust table thead td {
739 .rust table thead tr {
740 border: 1px #b3a497 solid
;
742 .rust :not(pre) > .hljs {
743 display: inline-block
;
744 vertical-align: middle
;
745 padding: 0.1em 0.3em;
746 -webkit-border-radius: 3px;
752 .rust pre > .buttons {
759 .rust pre > .buttons :hover {
762 .rust pre > .buttons i {
765 .rust pre > .result {
791 .mobile-nav-chapters {
796 div
.footnote-definition p
{