Skip to content

Commit c0213a7

Browse files
committed
add juejin
1 parent 497e7d1 commit c0213a7

File tree

6 files changed

+32
-12
lines changed

6 files changed

+32
-12
lines changed

src/support-vuejs/index.md

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
<a href="https://starter.someline.com/" target="_blank">
3535
<img width="250px" src="/images/someline.png">
3636
</a>
37+
<a href="http://gold.xitu.io/?utm_source=vuejs&utm_medium=image&utm_content=juejin&utm_campaign=q3_website" target="_blank">
38+
<img width="180px" src="/images/juejin.png">
39+
</a>
3740
</p>
3841

3942
Vue.js is an MIT licensed open source project and completely free to use.

themes/vue/layout/index.ejs

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
</div>
1414
<p class="desc">Reactive Components for Modern Web Interfaces</p>
1515
<p class="buttons">
16-
<a href="/guide/installation.html" class="button">Install v<%- theme.vue_version %></a>
16+
<a href="/guide/installation.html" class="small-button">Install v<%- theme.vue_version %></a>
17+
<a href="/guide/index.html" class="small-button">Get Started</a>
1718
</p>
1819
<ul id="social">
1920
<li><a href="https://twitter.com/vuejs" class="twitter-follow-button" data-show-count="false" data-dnt="true">Follow @vuejs</a></li>

themes/vue/layout/partials/sponsors.ejs

+3
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@
2121
<a href="https://starter.someline.com/" target="_blank" style="top:-2px">
2222
<img src="/images/someline.png">
2323
</a>
24+
<a href="http://gold.xitu.io/?utm_source=vuejs&utm_medium=image&utm_content=juejin&utm_campaign=q3_website" target="_blank" style="width:75px">
25+
<img src="/images/juejin.png" style="width:75px">
26+
</a>

themes/vue/source/css/_common.styl

+18-7
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,31 @@ em
4040
p
4141
word-spacing 0.05em
4242

43-
a.button
43+
button()
4444
display inline-block
45-
font-family $code-font
4645
font-weight 700
4746
color #fff
4847
background-color lighten($green, 8%)
49-
border-bottom 2px solid darken($green, 12%)
50-
padding 12px 14px
51-
border-radius 4px
5248
transition all .15s ease
5349
&:hover
5450
background-color lighten($green, 15%)
55-
-webkit-transform translate(0, -2px)
56-
transform translate(0, -2px)
51+
-webkit-transform scale(1.03)
52+
transform scale(1.03)
53+
54+
a.button
55+
button()
56+
font-family $code-font
57+
border-bottom 2px solid darken($green, 12%)
58+
padding 12px 14px
59+
border-radius 4px
60+
61+
62+
a.small-button
63+
button()
64+
padding 4px 8px 5px
65+
border-radius 4px
66+
width 140px
67+
margin 0 5px
5768

5869
.highlight
5970
overflow-x auto

themes/vue/source/css/index.styl

+6-4
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ html, body
258258
#donate
259259
margin-left -2px !important
260260

261+
#sponsors
262+
padding-top 20px
263+
261264
#sponsors, #sponsors-mobile
262265
span
263266
color $light
@@ -274,10 +277,9 @@ html, body
274277
display none
275278
text-align center
276279
margin-bottom 2em
280+
padding 0 1em
277281
a
278-
display block
279-
width auto
280-
margin 10px auto
282+
margin 20px 10px 0
281283

282284
@media screen and (max-width: 480px)
283285
body
@@ -335,7 +337,7 @@ html, body
335337
h2
336338
font-size 1.4em
337339

338-
@media screen and (max-width: 860px)
340+
@media screen and (max-width: 960px)
339341
#features, #hero
340342
font-size 16px
341343
#sponsors

themes/vue/source/images/juejin.png

14.5 KB
Loading

0 commit comments

Comments
 (0)