Skip to content

Commit a714b38

Browse files
committed
docs: sponsor text color
1 parent 3057659 commit a714b38

File tree

1 file changed

+6
-40
lines changed

1 file changed

+6
-40
lines changed

docs/.vitepress/theme/components/SponsorsAside.vue

Lines changed: 6 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -12,47 +12,13 @@ const { frontmatter } = useData()
1212
</template>
1313

1414
<style scoped>
15-
.sponsor-container {
16-
--max-width: 100%;
17-
display: grid;
18-
grid-template-columns: repeat(auto-fill, minmax(var(--max-width), 1fr));
19-
column-gap: 4px;
20-
}
21-
22-
.sponsor-item {
23-
margin: 2px 0;
24-
padding: 10px 6px;
25-
display: block;
26-
border-radius: 2px;
15+
a.sponsors-aside-text {
2716
color: rgba(60, 60, 60, 0.5);
28-
background-color: #f6f6f6;
29-
}
30-
31-
.sponsor-item-img {
32-
display: flex;
33-
justify-content: space-around;
34-
align-items: center;
35-
}
36-
37-
.sponsor-item img {
38-
max-width: calc(var(--max-width) - 30px);
39-
max-height: calc(var(--max-width) / 2 - 20px);
40-
}
41-
.sponsor-item-description {
42-
text-align: center;
43-
font-size: 13px;
44-
color: rgb(74, 74, 74);
45-
}
46-
47-
.sponsor-item-action {
48-
margin: 2px 0;
49-
display: flex;
50-
justify-content: space-around;
51-
align-items: center;
52-
border-radius: 2px;
53-
height: 30px;
17+
display: block;
18+
margin: 3em 0 1em;
19+
font-weight: 700;
5420
font-size: 11px;
55-
color: rgba(60, 60, 60, 0.5);
56-
background-color: #f6f6f6;
21+
text-transform: uppercase;
22+
letter-spacing: 0.4px;
5723
}
5824
</style>

0 commit comments

Comments
 (0)