File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 48
48
}
49
49
# nav {
50
50
padding : 10px 10px 10px 40px ;
51
- background-color : # 333 ;
52
- color : # fff ;
51
+ border-top : 2px solid # f60 ;
53
52
}
54
53
# nav a {
55
- color : # fff ;
56
54
margin-right : 10px ;
57
55
}
56
+ # nav .source {
57
+ float : right;
58
+ }
58
59
.story {
59
60
padding : 2px 0 2px 40px ;
60
61
position : relative;
Original file line number Diff line number Diff line change 48
48
49
49
#nav
50
50
padding 10px 10px 10px 40px
51
- background-color #3 3 3
52
- color #f f f
51
+ border-top 2px solid #f 6 0
53
52
a
54
- color #f f f
55
53
margin-right 10px
54
+ .source
55
+ float right
56
56
57
57
.story
58
58
padding 2px 0 2px 40px
Original file line number Diff line number Diff line change @@ -72,6 +72,10 @@ <h1><a href="#1">Hacker News</a></h1>
72
72
< div id ="nav " v-show ="stories.length > 0 ">
73
73
< a v-if ="page > 1 " href ="#{{page - 1}} "> < prev</ a >
74
74
< a v-if ="page < 4 " href ="#{{page + 1}} "> more...</ a >
75
+ < span class ="source ">
76
+ Built with < a href ="http://vuejs.org " target ="_blank "> Vue.js</ a > |
77
+ < a href ="https://github.com/yyx990803/vue-hackernews " target ="_blank "> Source</ a >
78
+ </ span >
75
79
</ div >
76
80
77
81
<!-- comments sidebar -->
You can’t perform that action at this time.
0 commit comments