@@ -13,122 +13,64 @@ body {
13
13
-webkit-font-smoothing : subpixel-antialiased;
14
14
-moz-osx-font-smoothing : grayscale;
15
15
font-family : 'Source Sans Pro' , sans-serif;
16
+ margin : 0 ;
16
17
}
17
18
18
19
a {
19
20
color : # 2750C4 ;
20
21
text-decoration : none;
21
22
}
22
23
23
- a : hover {
24
- text-decoration : underline;
25
- }
26
-
27
- .ch-sidebar {
28
- width : 85px ;
29
- padding : 10px ;
30
- position : absolute;
31
- left : 0 ;
32
- top : 0 ;
33
- bottom : 0 ;
34
- border-right : solid 1px # E5E5E5 ;
24
+ .ch-topbar {
25
+ width : 100% ;
26
+ border-bottom : solid 1px # E5E5E5 ;
35
27
background : # FFFFFF ;
36
28
box-shadow : 0px 0px 20px 0px rgba (0 , 0 , 0 , 0.08 );
37
- z-index : 300 ;
38
- }
39
-
40
- .ch-sidebar img {
41
- display : block;
42
- margin : 0 auto;
43
- }
44
-
45
- .ch-share {
46
- width : 32px ;
47
- height : 32px ;
48
- margin-top : 32px ;
49
- display : block;
50
- margin : 15px auto;
51
- opacity : .75 ;
52
- transition : .25s ease-in;
53
- position : relative;
54
- }
55
-
56
- .ch-share : first-of-type {
57
- margin-top : 25px ;
29
+ font-size : 0 ;
58
30
}
59
31
60
- .ch-share : hover {
61
- opacity : 1 ;
62
- }
63
-
64
- .ch-share : after {
65
- font-size : 14px ;
66
- left : 34px ;
67
- top : 0px ;
68
- position : absolute;
69
- padding : 3px 15px 5px ;
70
- border-radius : 15px ;
71
- color : # 534e5c ;
72
- background : # FFFFFF ;
73
- box-shadow : 0px 6px 20px 0px rgba (0 , 0 , 0 , 0.1 );
74
- opacity : 0 ;
75
- transition : .25s ease-in;
76
- margin-top : 3px ;
77
- transform : translateX (-2px );
78
- }
79
-
80
- .ch-share : hover : after {
81
- opacity : 1 ;
82
- transform : translateX (2px );
83
- }
84
-
85
- .ch-share .twitter : after {
86
- content : "Tweet" ;
87
- }
88
-
89
- .ch-share .facebook : after {
90
- content : "Share" ;
32
+ .ch-topbar .grid-lt {
33
+ width : 25% ;
34
+ display : inline-block;
35
+ vertical-align : middle;
36
+ padding : 10px ;
91
37
}
92
38
93
- .ch-share .github : after {
94
- content : "Star" ;
39
+ .ch-topbar .grid-rt {
40
+ width : 75% ;
41
+ display : inline-block;
42
+ text-align : right;
43
+ vertical-align : middle;
44
+ padding : 0 10px ;
95
45
}
96
46
97
- .ch-starcount {
98
- display : block;
99
- text-align : center;
100
- margin-top : -12px ;
47
+ .ch-devmode {
48
+ display : inline-block;
49
+ vertical-align : middle;
101
50
color : # 534e5c ;
102
- }
103
-
104
- .twitter {
105
- background-image : url ("../images/icon-twitter.svg" );
106
- }
107
-
108
- .facebook {
109
- background-image : url ("../images/icon-facebook.svg" );
110
- }
111
-
112
- .github {
113
- background-image : url ("../images/icon-github.svg" );
51
+ font-size : 15px ;
52
+ margin-left : 3px ;
53
+ background : # f2f2f2 ;
54
+ border-radius : 15px ;
55
+ padding : 2px 10px 4px 10px ;
114
56
}
115
57
116
58
p {
117
- text-align : left;
118
59
font-size : 18px ;
119
60
color : # 929197 ;
120
61
padding : 15px 25px ;
121
62
}
122
63
123
64
.ch-paper {
124
- position : absolute;
125
- top : 0 ;
126
- bottom : 0 ;
127
- left : 0 ;
128
- right : 0 ;
129
- padding : 20px 20px 20px 105px ;
130
- text-align : left;
131
- overflow : auto;
65
+ width : 100% ;
66
+ max-width : 1600px ;
67
+ text-align : center;
68
+ margin : 20px auto;
69
+ }
70
+
71
+ .ch-footer {
72
+ text-align : center;
73
+ padding : 0 0 25px 0 ;
132
74
}
133
75
134
76
.ch-gradient-brick {
237
179
right : 0 ;
238
180
z-index : 500 ;
239
181
text-align : right;
240
- overflow : none;
241
182
}
242
183
243
184
.ch-notify {
257
198
}
258
199
259
200
.ch-distro {
260
- position : absolute ;
201
+ position : fixed ;
261
202
z-index : 50 ;
262
- left : 15px ;
203
+ right : 15px ;
263
204
bottom : 15px ;
264
205
min-width : 200px ;
265
206
max-width : 100% ;
270
211
height : 50px ;
271
212
border-radius : 50% ;
272
213
position : absolute;
273
- left : 0px ;
214
+ right : 0px ;
274
215
bottom : 0px ;
275
216
background-color : # FFFFFF ;
276
217
background-image : url ("../images/coolhue-sprite.svg" );
312
253
font-size : 17px ;
313
254
background-position : left center;
314
255
background-repeat : no-repeat;
315
- vertical-align : middle;
316
256
}
317
257
318
258
.ch-distro-type : hover {
@@ -419,12 +359,15 @@ noscript {
419
359
}
420
360
}
421
361
422
- @media screen and (max-width : 600 px ) {
423
- .ch-paper {
424
- text-align : center ;
362
+ @media screen and (max-width : 480 px ) {
363
+ .ch-share-brick {
364
+ margin : 0 ;
425
365
}
426
- .ch-gradient-brick {
427
- display : block;
428
- margin : 35px auto;
366
+ .ch-share-brick : hover {
367
+ box-shadow : none;
368
+ }
369
+ .ch-share-text ,
370
+ .ch-starcount {
371
+ display : none;
429
372
}
430
373
}
0 commit comments