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 {
1919}
2020
2121#app {
22- margin : 0 auto ;
23- padding : 0 2em ;
24- width : 776px ;
2522 @media (max-width : 640px ) {
2623 padding : 3px ;
2724 width : 100% ;
2825 }
2926}
3027
3128#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 ;
3238 @media (max-width : 640px ) {
3339 padding : 0 ;
3440 overflow-x : auto ;
3541 white-space : nowrap ;
42+ position : relative ;
43+ background-color : unset ;
44+ color : unset ;
45+ height : unset ;
46+ line-height : unset ;
47+ padding-left : unset ;
3648 }
3749 a {
3850 margin-right : 1.5em ;
3951 margin-bottom : .5em ;
4052 display : inline-block ;
53+ color : #fff ;
4154 @media (max-width : 640px ) {
4255 margin-bottom : 0 ;
4356 margin-right : 1em ;
57+ color : #9b4dca ;
4458 }
4559 }
4660 .router-link-exact-active ,
4761 .router-link-exact-active :hover {
4862 color : inherit ;
4963 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+
5271 }
5372}
5473
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+ }
5586.example-content {
5687 margin-top : 1em ;
5788 background-color : #fff ;
Original file line number Diff line number Diff line change 11<template >
2- <div class =" index " >
2+ <div class =" example " >
33 <github-corner />
44
55 <h2 class =" name" >
You can’t perform that action at this time.
0 commit comments