File tree Expand file tree Collapse file tree 2 files changed +37
-6
lines changed Expand file tree Collapse file tree 2 files changed +37
-6
lines changed Original file line number Diff line number Diff line change @@ -19,39 +19,70 @@ body {
19
19
}
20
20
21
21
#app {
22
- margin : 0 auto ;
23
- padding : 0 2em ;
24
- width : 776px ;
25
22
@media (max-width : 640px ) {
26
23
padding : 3px ;
27
24
width : 100% ;
28
25
}
29
26
}
30
27
31
28
#nav {
29
+ position : fixed ;
30
+ top : 0 ;
31
+ left : 0 ;
32
+ right : 0 ;
33
+ background-color : #9b4cca ;
34
+ color : #fff ;
35
+ height : 40px ;
36
+ line-height : 40px ;
37
+ padding-left : 2em ;
32
38
@media (max-width : 640px ) {
33
39
padding : 0 ;
34
40
overflow-x : auto ;
35
41
white-space : nowrap ;
42
+ position : relative ;
43
+ background-color : unset ;
44
+ color : unset ;
45
+ height : unset ;
46
+ line-height : unset ;
47
+ padding-left : unset ;
36
48
}
37
49
a {
38
50
margin-right : 1.5em ;
39
51
margin-bottom : .5em ;
40
52
display : inline-block ;
53
+ color : #fff ;
41
54
@media (max-width : 640px ) {
42
55
margin-bottom : 0 ;
43
56
margin-right : 1em ;
57
+ color : #9b4dca ;
44
58
}
45
59
}
46
60
.router-link-exact-active ,
47
61
.router-link-exact-active :hover {
48
62
color : inherit ;
49
63
cursor : default ;
50
- border-bottom : 1px solid ;
51
- border-color : #606c76 ;
64
+ text-decoration : underline ;
65
+ @media (max-width : 640px ) {
66
+ border-bottom : 1px solid ;
67
+ border-color : #606c76 ;
68
+ text-decoration : none ;
69
+ }
70
+
52
71
}
53
72
}
54
73
74
+ .example {
75
+ margin : 0 auto ;
76
+ padding : 0 2em ;
77
+ width : 776px ;
78
+ padding-top : 3em ;
79
+ @media (max-width : 640px ) {
80
+ margin : unset ;
81
+ padding : unset ;
82
+ width : unset ;
83
+ padding-top : unset ;
84
+ }
85
+ }
55
86
.example-content {
56
87
margin-top : 1em ;
57
88
background-color : #fff ;
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" index " >
2
+ <div class =" example " >
3
3
<github-corner />
4
4
5
5
<h2 class =" name" >
You can’t perform that action at this time.
0 commit comments