]> git.lizzy.rs Git - rust.git/blob - src/doc/trpl/rust-book.css
Rollup merge of #21357 - kimroen:patch-1, r=sanxiyn
[rust.git] / src / doc / trpl / rust-book.css
1
2 @import url("//static.rust-lang.org/doc/master/rust.css");
3
4 body {
5     max-width:none;
6 }
7
8 #toc {
9     position: absolute;
10     left: 0px;
11     top: 0px;
12     bottom: 0px;
13     width: 250px;
14     overflow-y: auto;
15     border-right: 1px solid rgba(0, 0, 0, 0.07);
16     padding: 10px 10px;
17     font-size: 16px;
18     background: none repeat scroll 0% 0% #FFF;
19     box-sizing: border-box;
20 }
21
22 #page-wrapper {
23     position: absolute;
24     overflow-y: auto;
25     left: 260px;
26     right: 0px;
27     top: 0px;
28     bottom: 0px;
29     box-sizing: border-box;
30     background: none repeat scroll 0% 0% #FFF;
31 }
32
33 #page {
34     margin-left: auto;
35     margin-right:auto;
36     width: 750px;
37 }
38
39 .chapter {
40     list-style: none outside none;
41     padding-left: 0px;
42     line-height: 30px;
43 }
44
45 .section {
46     list-style: none outside none;
47     padding-left: 20px;
48     line-height: 30px;
49 }
50
51 .section li {
52     text-overflow: ellipsis;
53     overflow: hidden;
54     white-space: nowrap;
55 }
56
57 .chapter li a {
58     color: #000000;
59 }