File tree Expand file tree Collapse file tree 3 files changed +114
-21
lines changed Expand file tree Collapse file tree 3 files changed +114
-21
lines changed Original file line number Diff line number Diff line change 4
4
< meta charset ="utf-8 ">
5
5
< title > Awesome Vue</ title >
6
6
< meta name ="description " content ="A curated list of awesome things related to Vue.js ">
7
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
7
8
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css ">
8
9
< link href ="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css " rel ="stylesheet " integrity ="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1 " crossorigin ="anonymous ">
9
10
< link href ='https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600|Roboto Mono ' rel ='stylesheet ' type ='text/css '>
Original file line number Diff line number Diff line change 32
32
title =" Contribute on GitHub"
33
33
class =" github" >
34
34
<i class =" fa fa-github" ></i >
35
+ <span class =" sm" >Contribute on GitHub</span >
35
36
</a >
36
37
</footer >
37
38
</div >
@@ -229,14 +230,15 @@ code {
229
230
background : #fcfcfc ;
230
231
231
232
hgroup {
233
+ margin-bottom : 2.4rem ;
234
+
232
235
h1 {
233
236
font-size : 2.7rem ;
234
237
margin-bottom : 1.6rem ;
235
238
}
236
239
237
240
h2 {
238
241
font-size : 1.3rem ;
239
- margin-bottom : 2.4rem ;
240
242
}
241
243
}
242
244
@@ -299,6 +301,39 @@ code {
299
301
}
300
302
}
301
303
}
304
+
305
+ footer {
306
+ margin-top : 4rem ;
307
+
308
+ .github {
309
+ color : #34495e ;
310
+ font-size : 2rem ;
311
+ width : 149px ;
312
+ display : inline-block ;
313
+ position : relative ;
314
+
315
+ .sm {
316
+ display : none ;
317
+ }
318
+
319
+ & ::after {
320
+ content : " " ;
321
+ display : block ;
322
+ width : 100% ;
323
+ height : 27px ;
324
+ background : url (./assets/look-here.png ) no-repeat ;
325
+ background-size : 149px ;
326
+ position : absolute ;
327
+ right : -5px ;
328
+ transform : rotate(-4deg );
329
+ transform-origin : 100% 0 ;
330
+ }
331
+
332
+ & :hover ::after {
333
+ animation : soho 1s ease-in-out infinite ;
334
+ }
335
+ }
336
+ }
302
337
}
303
338
304
339
.right {
@@ -322,31 +357,73 @@ code {
322
357
}
323
358
}
324
359
325
- footer {
326
- margin-top : 4rem ;
360
+ @media only screen and (max-width : 1023px ) {
361
+ #app {
362
+ .left , .right {
363
+ padding : 24px 16px ;
364
+ }
327
365
328
- .github {
329
- color : #34495e ;
330
- font-size : 2 rem ;
331
- width : 149 px ;
332
- display : inline-block ;
333
- position : relative ;
366
+ .right {
367
+ overflow-y : scroll ;
368
+ -webkit-overflow-scrolling : touch ;
369
+ }
370
+ }
371
+ }
334
372
335
- & ::after {
336
- content : " " ;
337
- display : block ;
373
+ @media only screen and (max-width : 735px ) {
374
+ #app {
375
+ display : block ;
376
+ overflow : auto ;
377
+
378
+ .left , .right {
338
379
width : 100% ;
339
- height : 27px ;
340
- background : url (./assets/look-here.png ) no-repeat ;
341
- background-size : 149px ;
342
- position : absolute ;
343
- right : -5px ;
344
- transform : rotate(-4deg );
345
- transform-origin : 100% 0 ;
380
+ display : block ;
346
381
}
347
382
348
- & :hover ::after {
349
- animation : soho 1s ease-in-out infinite ;
383
+ .left {
384
+ text-align : left ;
385
+ border-right : 0 ;
386
+ border-bottom : 1px solid #ebebeb ;
387
+
388
+ hgroup {
389
+ margin-bottom : 1.8rem ;
390
+ .tagline {
391
+ display : none ;
392
+ }
393
+ }
394
+
395
+ form {
396
+ label {
397
+ display : block ;
398
+ }
399
+
400
+ input [type="search"] {
401
+ width : 100% ;
402
+ }
403
+ }
404
+
405
+ footer {
406
+ margin-top : 2rem ;
407
+
408
+ .github {
409
+ font-size : 1rem ;
410
+ width : 100% ;
411
+
412
+ .sm {
413
+ display : inline ;
414
+ }
415
+
416
+ & ::after {
417
+ display : none ;
418
+ }
419
+ }
420
+ }
421
+ }
422
+
423
+ .right {
424
+ .wrap {
425
+ max-width : 100% ;
426
+ }
350
427
}
351
428
}
352
429
}
Original file line number Diff line number Diff line change @@ -58,5 +58,20 @@ export default {
58
58
display : none ;
59
59
}
60
60
}
61
+
62
+ @media only screen and (max-width : 1023px ) {
63
+ h1 {
64
+ display : inline ;
65
+ font-size : 1rem ;
66
+
67
+ & ::after {
68
+ content : " :" ;
69
+ }
70
+ }
71
+
72
+ ul {
73
+ display : inline ;
74
+ }
75
+ }
61
76
}
62
77
</style >
You can’t perform that action at this time.
0 commit comments