Skip to content

Commit e8507ca

Browse files
committed
tweak index
1 parent cec5d31 commit e8507ca

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

themes/vue/layout/index.ejs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,10 @@
88
<li><a href="http://forum.vuejs.org" class="nav-link" target="_blank">Forum</a></li>
99
<li><a href="https://gitter.im/yyx990803/vue" class="nav-link" target="_blank">Chat</a></li>
1010
</ul>
11-
<ul id="translations">
12-
<li><a href="http://cn.vuejs.org" class="nav-link">中文</a></li>
13-
<li class="delimiter">|</li>
14-
<li><a href="http://jp.vuejs.org" class="nav-link">日本語</a></li>
15-
</ul>
16-
<img id="logo" src="/images/logo.png">
17-
<h1>Vue.js</h1>
11+
<div id="logo-wrap">
12+
<img id="logo" src="/images/logo.png">
13+
<h1>Vue.js</h1>
14+
</div>
1815
<p class="desc">Reactive Components for Modern Web Interfaces</p>
1916
<p class="buttons">
2017
<a href="/guide/installation.html" class="button">Install v<%- theme.vue_version %></a>
@@ -24,6 +21,11 @@
2421
<li><iframe src="http://ghbtns.com/github-btn.html?user=yyx990803&repo=vue&type=watch&count=true"
2522
allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe></li>
2623
</ul>
24+
<ul id="translations">
25+
<li><a href="http://cn.vuejs.org" class="nav-link">中文</a></li>
26+
<li class="delimiter">|</li>
27+
<li><a href="http://jp.vuejs.org" class="nav-link">日本語</a></li>
28+
</ul>
2729
</div>
2830
<div class="down"><img src="/images/down.png"></div>
2931
</div>

themes/vue/source/css/index.styl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ html, body
4040
margin 0 auto
4141
width 200px
4242

43+
#logo-wrap
44+
margin 4em 0
45+
4346
#hero
4447
text-align center
4548
height 100%
@@ -56,7 +59,7 @@ html, body
5659
font-family $logo-font
5760
font-weight 300
5861
font-size 4em
59-
margin .4em 0
62+
margin 0
6063
.warning
6164
color $light
6265
.desc
@@ -82,7 +85,7 @@ html, body
8285
list-style-type none
8386
margin 0 auto
8487
padding 0
85-
margin-top 2em
88+
margin 1.5em auto
8689
li
8790
display inline-block
8891
margin 0 5px
@@ -251,8 +254,10 @@ html, body
251254
margin 3em 1.8em 0
252255
#translations
253256
margin-bottom 2em
257+
#logo-wrap
258+
margin 4em 0
254259
#logo
255-
width 100px
260+
width 120px
256261
.nav-link
257262
font-size .85em
258263
margin 0 .5em
@@ -271,26 +276,21 @@ html, body
271276
max-width 300px
272277
margin 1em auto
273278
a.button
279+
width 260px
274280
font-size .8em
275281
margin .5em 0
276-
.sub
277-
font-size 1em
278282
.desc
279283
max-width 300px
280284
.warning, .desc
281-
font-size .9em
285+
font-size .85em
282286
margin 1em auto
283287
br
284288
display none
285289
.down
286290
display none
287291
#social
288-
margin-top 1.5em
289292
max-width 340px
290-
li
291-
margin-bottom 10px
292-
&.last
293-
margin 0
293+
margin 1.2em auto
294294
.cool
295295
margin-top 0
296296
#features .feat

0 commit comments

Comments
 (0)