@@ -16,6 +16,13 @@ body {
16
16
margin : 0 ;
17
17
padding : 0 ;
18
18
height : 100% ;
19
+ width : 100% ;
20
+ overflow : hidden;
21
+ box-sizing : border-box;
22
+ }
23
+
24
+ * , * : before , * : after {
25
+ box-sizing : inherit;
19
26
}
20
27
21
28
body {
25
32
}
26
33
27
34
header {
28
- flex : 0 0 56 px ;
35
+ flex : 0 0 50 px ;
29
36
display : flex;
30
37
flex-direction : row;
31
38
align-items : center;
@@ -64,44 +71,44 @@ main {
64
71
flex : 1 ;
65
72
display : flex;
66
73
flex-direction : row;
74
+ padding : 20px ;
67
75
}
68
76
69
77
.sidebar-offcanvas-left {
70
- flex : 0 1 195 px ;
78
+ flex : 0 1 230 px ;
71
79
overflow-y : scroll;
72
80
padding : 20px 0 15px 30px ;
81
+ margin : 5px 20px 0 0 ;
73
82
}
74
83
75
84
::-webkit-scrollbar-button { display : none; height : 13px ; border-radius : 0px ; background-color : # AAA ; }
76
85
::-webkit-scrollbar-button : hover { background-color : # AAA ; }
77
86
::-webkit-scrollbar-thumb { background-color : # CCC ; }
78
87
::-webkit-scrollbar-thumb : hover { background-color : # CCC ; }
79
88
::-webkit-scrollbar { width : 4px ; }
89
+ ::-webkit-overflow-scrolling : to uch;
90
+
80
91
.main-content ::-webkit-scrollbar { width : 8px ; }
81
92
82
93
.main-content {
83
94
flex : 1 ;
84
- overflow-y : auto;
85
- padding : 20px 15px 0 30px ;
86
- }
87
-
88
- .sidebar ,
89
- .main-content {
90
- margin : 20px 0 ;
95
+ overflow-y : scroll;
96
+ padding : 10px 20px 0 20px ;
91
97
}
92
98
93
99
.sidebar-offcanvas-right {
94
100
flex : 0 1 12em ;
95
- overflow-y : auto ;
101
+ overflow-y : scroll ;
96
102
padding : 20px 15px 15px 15px ;
103
+ margin-top : 5px ;
97
104
margin-right : 20px ;
98
105
}
99
106
/* end for layout */
100
107
101
108
body {
102
109
-webkit-text-size-adjust : 100% ;
103
110
overflow-x : hidden;
104
- font-family : "Source Sans Pro" , sans-serif;
111
+ font-family : Roboto , sans-serif;
105
112
font-size : 16px ;
106
113
line-height : 1.42857143 ;
107
114
color : # 111111 ;
185
192
h4 ,
186
193
h5 ,
187
194
h6 {
188
- font-family : "Source Sans Pro" , sans-serif;
195
+ font-family : Roboto , sans-serif;
189
196
font-weight : 400 ;
190
197
margin-top : 1.5em ;
191
198
color : # 111111 ;
226
233
margin-top : 0 ;
227
234
}
228
235
229
- a , a : hover {
230
- color : # 1155cc ;
236
+ a {
237
+ color : # 0175C2 ;
238
+ }
239
+
240
+ a : hover {
241
+ color : # 13B9FD ;
231
242
}
232
243
233
244
pre .prettyprint {
@@ -294,10 +305,13 @@ header h1 {
294
305
}
295
306
296
307
header a ,
297
- header a : hover ,
298
308
header p ,
299
309
header li {
300
- color : # 111 ;
310
+ color : # 111111 ;
311
+ }
312
+
313
+ header a : hover {
314
+ color : # 0175C2 ;
301
315
}
302
316
303
317
header h1 .kind {
@@ -439,10 +453,13 @@ h1 .category {
439
453
440
454
.source-link {
441
455
padding : 18px 4px ;
442
- font-size : 12px ;
443
456
vertical-align : middle;
444
457
}
445
458
459
+ .source-link .material-icons {
460
+ font-size : 18px ;
461
+ }
462
+
446
463
@media (max-width : 768px ) {
447
464
.source-link {
448
465
padding : 7px 2px ;
@@ -695,10 +712,6 @@ ul.subnav li:last-of-type {
695
712
padding-top : 0 ;
696
713
}
697
714
698
- .sidebar ol li .section-title a {
699
- color : inherit;
700
- }
701
-
702
715
.sidebar ol li .section-title {
703
716
font-size : 18px ;
704
717
font-weight : normal;
@@ -768,10 +781,12 @@ button {
768
781
z-index : 2000 ;
769
782
top : 0 ;
770
783
width : 280px ; /* works all the way down to an iphone 4 */
771
- height : 100 % ;
784
+ height : 90 % ;
772
785
background-color : white;
773
- overflow-y : auto ; /* TODO: how to hide scroll bars? */
786
+ overflow-y : scroll ; /* TODO: how to hide scroll bars? */
774
787
padding : 10px ;
788
+ margin : 10px 10px ;
789
+ box-shadow : 5px 5px 5px 5px # 444444 ;
775
790
}
776
791
777
792
ol # sidebar-nav {
@@ -852,7 +867,7 @@ button {
852
867
left : inherit !important ;
853
868
width : 422px ;
854
869
max-height : 250px ;
855
- overflow-y : auto ;
870
+ overflow-y : scroll ;
856
871
}
857
872
858
873
.tt-menu {
0 commit comments