File tree 2 files changed +47
-100
lines changed
2 files changed +47
-100
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -17,31 +17,55 @@ body {
17
17
max-width:none;
18
18
}
19
19
20
- #toc {
21
- position: absolute;
22
- left: 0px;
23
- top: 0px;
24
- bottom: 0px;
25
- width: 250px;
26
- overflow-y: auto;
27
- border-right: 1px solid rgba(0, 0, 0, 0.07);
28
- padding: 10px 10px;
29
- font-size: 16px;
30
- background: none repeat scroll 0% 0% #FFF;
31
- box-sizing: border-box;
32
- -webkit-overflow-scrolling: touch;
20
+ @media only screen {
21
+ #toc {
22
+ position: absolute;
23
+ left: 0px;
24
+ top: 0px;
25
+ bottom: 0px;
26
+ width: 250px;
27
+ overflow-y: auto;
28
+ border-right: 1px solid rgba(0, 0, 0, 0.07);
29
+ padding: 10px 10px;
30
+ font-size: 16px;
31
+ background: none repeat scroll 0% 0% #FFF;
32
+ box-sizing: border-box;
33
+ -webkit-overflow-scrolling: touch;
34
+ }
35
+
36
+ #page-wrapper {
37
+ position: absolute;
38
+ overflow-y: auto;
39
+ left: 260px;
40
+ right: 0px;
41
+ top: 0px;
42
+ bottom: 0px;
43
+ box-sizing: border-box;
44
+ background: none repeat scroll 0% 0% #FFF;
45
+ -webkit-overflow-scrolling: touch;
46
+ }
33
47
}
34
48
35
- #page-wrapper {
36
- position: absolute;
37
- overflow-y: auto;
38
- left: 260px;
39
- right: 0px;
40
- top: 0px;
41
- bottom: 0px;
42
- box-sizing: border-box;
43
- background: none repeat scroll 0% 0% #FFF;
44
- -webkit-overflow-scrolling: touch;
49
+ @media only print {
50
+ #toc, #nav {
51
+ display: none;
52
+ }
53
+ }
54
+
55
+ @media only screen and (max-width: 1060px) {
56
+ #toc {
57
+ width: 100%;
58
+ margin-right: 0;
59
+ top: 40px;
60
+ }
61
+ #page-wrapper {
62
+ top: 40px;
63
+ left: 15px;
64
+ padding-right: 15px;
65
+ }
66
+ .mobile-hidden {
67
+ display: none;
68
+ }
45
69
}
46
70
47
71
#page {
@@ -73,23 +97,6 @@ body {
73
97
color: #000000;
74
98
}
75
99
76
- @media only screen and (max-width: 1060px) {
77
- #toc {
78
- width: 100%;
79
- margin-right: 0;
80
- top: 40px;
81
- }
82
- #page-wrapper {
83
- top: 40px;
84
- left: 15px;
85
- padding-right: 15px;
86
- }
87
- .mobile-hidden {
88
- display: none;
89
- }
90
- }
91
-
92
-
93
100
#toggle-nav {
94
101
height: 20px;
95
102
width: 30px;
@@ -133,5 +140,4 @@ body {
133
140
.right {
134
141
float: right;
135
142
}
136
-
137
143
"# ;
You can’t perform that action at this time.
0 commit comments