File tree Expand file tree Collapse file tree 2 files changed +20
-25
lines changed Expand file tree Collapse file tree 2 files changed +20
-25
lines changed Original file line number Diff line number Diff line change 11<template >
22 <nav class =" main-navigation" >
3+ <p class =" docs" ><a :href =" `${path}#/`" >ScrollView Examples</a ></p >
34 <ul class =" nav-list" >
4- <li class =" nav-item" ><a :href =" `${path}#/`" >Home</a ></li >
55 <li class =" nav-item" ><a :href =" `${path}#/lazy-load`" >Lazy Loading</a ></li >
66 <li class =" nav-item" ><a :href =" `${path}#/infinite-scroll`" >Infinite Scroll</a ></li >
77 <li class =" nav-item" ><a :href =" `${path}#/scrollspy`" >Scrollspy Navigation</a ></li >
88 <li class =" nav-item" ><a :href =" `${path}#/animation`" >Animation</a ></li >
99 <li class =" nav-item" ><a :href =" `${path}#/scroll-markers`" >Scroll Markers</a ></li >
1010 </ul >
11- <p class =" menu" >Menu</p >
1211 </nav >
1312</template >
1413
@@ -26,41 +25,33 @@ export default {
2625.main-navigation {
2726 position : fixed ;
2827 top : 0 ;
29- right : 0 ;
28+ left : 0 ;
29+ width : 100% ;
30+ background :#798890 ;
3031 display : flex ;
3132 align-items : center ;
32- justify-content : center ;
33- padding : 15px 40px ;
33+ justify-content : space-around ;
3434 z-index : 99 ;
35+ height : 50px ;
3536}
3637
37- .main-navigation :hover .nav-list {
38- opacity : 1 ;
39- transform : translateY (0 );
40- }
41-
42- .nav-list {
43- transition : all .2s ease-in-out ;
44- transform : translateY (-100% );
45- opacity : 0 ;
38+ .docs a {
39+ font-weight : bold ;
40+ color : #fff ;
41+ text-decoration : none ;
4642}
4743
4844.nav-item {
4945 display : inline-block ;
5046 margin : 0 15px ;
5147}
5248
53- .menu {
54- cursor : pointer ;
55- border : 1px solid #000 ;
56- padding : 10px 20px ;
57- margin-left : 15px ;
58- transition : all .2s ease-in-out ;
59- }
60-
61- .menu :hover {
62- background : #000 ;
49+ .nav-item a {
6350 color : #fff ;
51+ text-decoration : none ;
6452}
6553
54+ .nav-item a :hover {
55+ text-decoration : underline ;
56+ }
6657 </style >
Original file line number Diff line number Diff line change 77 <a href =" https://github.com/chrishurlburt/vue-scrollview" target =" blank" >here</a >.
88 </p >
99 <p class =" description" >
10- <a href =" https://chrishurlburt.gitbooks.io/vue-scrollview/" target =" blank" >Read the docs here </a >
10+ <a href =" https://chrishurlburt.gitbooks.io/vue-scrollview/" target =" blank" >Read the docs</a >
1111 </p >
1212 </section >
1313</template >
@@ -30,6 +30,10 @@ export default {
3030 justify-content : center ;
3131}
3232
33+ .home a {
34+ color : #798890 ;
35+ }
36+
3337.title {
3438 margin-bottom : 35px ;
3539}
You can’t perform that action at this time.
0 commit comments