@@ -81,11 +81,13 @@ table thead td {
81
81
box-sizing : border-box;
82
82
-webkit-overflow-scrolling : touch;
83
83
overscroll-behavior-y : contain;
84
- -webkit-transition : -webkit-transform 0.5s ;
85
- -moz-transition : -moz-transform 0.5s ;
86
- -o-transition : -o-transform 0.5s ;
87
- -ms-transition : -ms-transform 0.5s ;
88
- transition : transform 0.5s ;
84
+ }
85
+ .js .sidebar {
86
+ -webkit-transition : -webkit-transform 0.3s ;
87
+ -moz-transition : -moz-transform 0.3s ;
88
+ -o-transition : -o-transform 0.3s ;
89
+ -ms-transition : -ms-transform 0.3s ;
90
+ transition : transform 0.3s ;
89
91
}
90
92
.sidebar code {
91
93
line-height : 2em ;
@@ -137,42 +139,44 @@ table thead td {
137
139
white-space : nowrap;
138
140
}
139
141
.page-wrapper {
140
- left : 0 ;
141
- position : absolute;
142
- right : 0 ;
143
- top : 0 ;
144
- bottom : 0 ;
145
142
-webkit-box-sizing : border-box;
146
143
-moz-box-sizing : border-box;
147
144
box-sizing : border-box;
148
- -webkit-transition : padding-left 0.5s , margin-left 0.5s , left 0.5s ;
149
- -moz-transition : padding-left 0.5s , margin-left 0.5s , left 0.5s ;
150
- -o-transition : padding-left 0.5s , margin-left 0.5s , left 0.5s ;
151
- -ms-transition : padding-left 0.5s , margin-left 0.5s , left 0.5s ;
152
- transition : padding-left 0.5s , margin-left 0.5s , left 0.5s ;
145
+ }
146
+ .js .page-wrapper {
147
+ -webkit-transition : margin-left 0.3s ease, -webkit-transform 0.3s ease;
148
+ -moz-transition : margin-left 0.3s ease, -moz-transform 0.3s ease;
149
+ -o-transition : margin-left 0.3s ease, -o-transform 0.3s ease;
150
+ -ms-transition : margin-left 0.3s ease, -ms-transform 0.3s ease;
151
+ transition : margin-left 0.3s ease, transform 0.3s ease;
153
152
}
154
153
.sidebar-visible .page-wrapper {
155
- left : 300px ;
154
+ -webkit-transform : translateX (300px );
155
+ -moz-transform : translateX (300px );
156
+ -o-transform : translateX (300px );
157
+ -ms-transform : translateX (300px );
158
+ transform : translateX (300px );
159
+ }
160
+ @media only screen and (min-width : 620px ) {
161
+ .sidebar-visible .page-wrapper {
162
+ -webkit-transform : none;
163
+ -moz-transform : none;
164
+ -o-transform : none;
165
+ -ms-transform : none;
166
+ transform : none;
167
+ margin-left : 300px ;
168
+ }
156
169
}
157
170
.page {
158
171
outline : 0 ;
159
172
padding : 0 15px ;
160
173
}
161
174
.content {
162
- position : relative;
163
- top : 0 ;
164
- bottom : 0 ;
165
175
overflow-y : auto;
166
- right : 0 ;
167
- left : 0 ;
168
176
padding : 0 15px ;
169
177
padding-bottom : 50px ;
170
178
}
171
- .sidebar-visible .content {
172
- position : absolute;
173
- top : 52px ;
174
- }
175
- .content > main {
179
+ .content main {
176
180
margin-left : auto;
177
181
margin-right : auto;
178
182
max-width : 750px ;
@@ -205,27 +209,29 @@ table thead td {
205
209
-webkit-flex-wrap : wrap;
206
210
-ms-flex-wrap : wrap;
207
211
flex-wrap : wrap;
208
- -webkit-transition : -webkit-transform 0.5s , border-bottom-color 0.5s ;
209
- -moz-transition : -moz-transform 0.5s , border-bottom-color 0.5s ;
210
- -o-transition : -o-transform 0.5s , border-bottom-color 0.5s ;
211
- -ms-transition : -ms-transform 0.5s , border-bottom-color 0.5s ;
212
- transition : transform 0.5s , border-bottom-color 0.5s ;
212
+ }
213
+ .js # menu-bar > # menu-bar-sticky-container {
214
+ -webkit-transition : -webkit-transform 0.3s ;
215
+ -moz-transition : -moz-transform 0.3s ;
216
+ -o-transition : -o-transform 0.3s ;
217
+ -ms-transition : -ms-transform 0.3s ;
218
+ transition : transform 0.3s ;
213
219
}
214
220
# menu-bar i ,
215
221
# menu-bar .icon-button {
216
222
position : relative;
217
223
margin : 0 10px ;
218
224
z-index : 10 ;
219
225
line-height : 50px ;
226
+ cursor : pointer;
220
227
-webkit-transition : color 0.5s ;
221
228
-moz-transition : color 0.5s ;
222
229
-o-transition : color 0.5s ;
223
230
-ms-transition : color 0.5s ;
224
231
transition : color 0.5s ;
225
232
}
226
- # menu-bar i : hover ,
227
- # menu-bar .icon-button : hover {
228
- cursor : pointer;
233
+ # menu-bar # print-button {
234
+ margin : 0 15px ;
229
235
}
230
236
html : not (.sidebar-visible ) # menu-bar : not (: hover ).folded > # menu-bar-sticky-container {
231
237
-webkit-transform : translateY (-60px );
@@ -234,6 +240,9 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
234
240
-ms-transform : translateY (-60px );
235
241
transform : translateY (-60px );
236
242
}
243
+ .no-js .left-buttons {
244
+ display : none;
245
+ }
237
246
.menu-title {
238
247
display : inline-block;
239
248
font-weight : 200 ;
@@ -252,6 +261,8 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
252
261
overflow : hidden;
253
262
-o-text-overflow : ellipsis;
254
263
text-overflow : ellipsis;
264
+ }
265
+ .js .menu-title {
255
266
cursor : pointer;
256
267
}
257
268
.nav-chapters {
@@ -363,7 +374,6 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
363
374
.light .content .header : link ,
364
375
.light .content .header : visited {
365
376
color : # 333 ;
366
- pointer : cursor;
367
377
}
368
378
.light .content .header : link : hover ,
369
379
.light .content .header : visited : hover {
@@ -554,7 +564,6 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
554
564
.coal .content .header : link ,
555
565
.coal .content .header : visited {
556
566
color : # 98a3ad ;
557
- pointer : cursor;
558
567
}
559
568
.coal .content .header : link : hover ,
560
569
.coal .content .header : visited : hover {
@@ -745,7 +754,6 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
745
754
.navy .content .header : link ,
746
755
.navy .content .header : visited {
747
756
color : # bcbdd0 ;
748
- pointer : cursor;
749
757
}
750
758
.navy .content .header : link : hover ,
751
759
.navy .content .header : visited : hover {
@@ -936,7 +944,6 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
936
944
.rust .content .header : link ,
937
945
.rust .content .header : visited {
938
946
color : # 262625 ;
939
- pointer : cursor;
940
947
}
941
948
.rust .content .header : link : hover ,
942
949
.rust .content .header : visited : hover {
@@ -1127,7 +1134,6 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
1127
1134
.ayu .content .header : link ,
1128
1135
.ayu .content .header : visited {
1129
1136
color : # c5c5c5 ;
1130
- pointer : cursor;
1131
1137
}
1132
1138
.ayu .content .header : link : hover ,
1133
1139
.ayu .content .header : visited : hover {
@@ -1401,18 +1407,18 @@ mark {
1401
1407
-o-transition : background-color 300ms linear;
1402
1408
-ms-transition : background-color 300ms linear;
1403
1409
transition : background-color 300ms linear;
1410
+ cursor : pointer;
1404
1411
}
1405
- .fade-out {
1412
+ mark .fade-out {
1406
1413
background-color : rgba (0 , 0 , 0 , 0 ) !important ;
1414
+ cursor : auto;
1407
1415
}
1408
1416
.searchbar-outer {
1409
- display : none;
1410
1417
margin-left : auto;
1411
1418
margin-right : auto;
1412
1419
max-width : 750px ;
1413
1420
}
1414
1421
# searchbar {
1415
- display : block;
1416
1422
width : 100% ;
1417
1423
margin : 5px auto 0px auto;
1418
1424
padding : 10px 16px ;
@@ -1428,7 +1434,6 @@ mark {
1428
1434
padding : 18px 0 0 5px ;
1429
1435
}
1430
1436
.searchresults-outer {
1431
- display : none;
1432
1437
margin-left : auto;
1433
1438
margin-right : auto;
1434
1439
max-width : 750px ;
0 commit comments