File tree 2 files changed +30
-11
lines changed
2 files changed +30
-11
lines changed Original file line number Diff line number Diff line change 8
8
<a
9
9
class =" become-sponsor button white"
10
10
href =" https://github.com/sponsors/posva"
11
- >Become a Sponsor!</a
12
- >
11
+ >Become a Sponsor!</a >
13
12
</div >
14
13
</div >
15
14
</template >
@@ -62,11 +61,13 @@ export default {
62
61
opacity : 1 ;
63
62
}
64
63
65
- #sponsors .become-sponsor {
64
+ #sponsors .become-sponsor ,
65
+ .become-sponsor {
66
66
margin-top : 40px ;
67
67
font-size : 0.9em ;
68
68
font-weight : 700 ;
69
69
width : auto ;
70
+ text-align : center ;
70
71
background-color : transparent ;
71
72
padding : 0.75em 2em ;
72
73
border-radius : 2em ;
@@ -75,8 +76,16 @@ export default {
75
76
border : 1px solid #4fc08d ;
76
77
}
77
78
78
- #sponsors .become-sponsor :hover {
79
+ #sponsors .become-sponsor :hover ,
80
+ .become-sponsor :hover {
79
81
background-color : #4fc08d ;
80
82
color : white ;
81
83
}
84
+
85
+ .sponsors-top .become-sponsor.become-sponsor {
86
+ font-size : 0.75em ;
87
+ padding : 0.2em ;
88
+ width : auto ;
89
+ max-width : 150px ;
90
+ }
82
91
</style >
Original file line number Diff line number Diff line change 22
22
<div class =" sponsors sponsors-top" >
23
23
<span >Platinum Sponsors</span >
24
24
25
+ <template v-if =" sponsors .platinum .length " >
26
+ <a
27
+ v-for =" sponsor in sponsors.platinum"
28
+ :href =" sponsor.href"
29
+ :key =" sponsor.href"
30
+ target =" _blank"
31
+ rel =" noopener"
32
+ >
33
+ <img :src =" sponsor.imgSrcLight" :alt =" sponsor.alt" />
34
+ </a >
35
+ </template >
25
36
<a
26
- v-for = " sponsor in sponsors.platinum "
27
- :href = " sponsor.href "
28
- :key = " sponsor.href "
37
+ v-else
38
+ class = " become- sponsor"
39
+ href = " https://github.com/sponsors/posva "
29
40
target =" _blank"
30
41
rel =" noopener"
31
- >
32
- <img :src =" sponsor.imgSrcLight" :alt =" sponsor.alt" />
33
- </a >
42
+ alt =" Your logo here"
43
+ >Become a Sponsor!</a >
34
44
</div >
35
45
</template >
36
46
@@ -77,7 +87,7 @@ export default {
77
87
<style >
78
88
@media screen and (max-width : 1300px ) {
79
89
.content__default ::before {
80
- content : ' ' ;
90
+ content : " " ;
81
91
/* background-color: red; */
82
92
position : relative ;
83
93
display : block ;
You can’t perform that action at this time.
0 commit comments