- Notifications
You must be signed in to change notification settings - Fork 5k
/
Copy pathHomeSponsors.vue
91 lines (78 loc) · 1.56 KB
/
HomeSponsors.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<template>
<divid="sponsors">
<divclass="inner">
<HomeSponsorsGroupname="Platinum"size="160" />
<HomeSponsorsGroupname="Gold"size="140" />
<HomeSponsorsGroupname="Silver"size="120" />
<a
class="become-sponsor button white"
href="https://github.com/sponsors/posva"
>Become a Sponsor!</a>
</div>
</div>
</template>
<script>
importHomeSponsorsGroupfrom'./HomeSponsorsGroup.vue'
exportdefault {
name:'HomeSponsors',
components: { HomeSponsorsGroup }
}
</script>
<style>
#sponsors {
text-align: center;
padding: 35px30px45px;
background-color: #f6f6f6;
}
@media (min-width: 768px) {
#sponsors {
padding: 35px40px45px;
margin: 0-2rem;
}
}
#sponsorsh3 {
color: #999;
margin: 0010px;
}
#sponsorsa,
#sponsorsimg {
width: 100px;
display: inline-block;
vertical-align: middle;
margin: 02px;
}
#sponsorsimg {
transition: all0.3sease;
filter: grayscale(100%);
opacity: 0.66;
}
#sponsorsimg:hover {
filter: none;
opacity: 1;
}
#sponsors.become-sponsor,
.become-sponsor {
margin-top: 40px;
font-size: 0.9em;
font-weight: 700;
width: auto;
text-align: center;
background-color: transparent;
padding: 0.75em2em;
border-radius: 2em;
transition: all0.15sease;
box-sizing: border-box;
border: 1pxsolid#4fc08d;
}
#sponsors.become-sponsor:hover,
.become-sponsor:hover {
background-color: #4fc08d;
color: white;
}
.sponsors-top.become-sponsor.become-sponsor {
font-size: 0.75em;
padding: 0.2em;
width: auto;
max-width: 150px;
}
</style>