Skip to content

Commit

Permalink
feat(vitepress): 更新赞赏码
Browse files Browse the repository at this point in the history
  • Loading branch information
maomao1996 committed Aug 26, 2023
1 parent 10e7320 commit 549d7c4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions docs/.vitepress/theme/components/MAsideSponsors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@ const data = [
{
items: [
{
img: withBase('/sponsor/wechat-color.jpg'),
url: '/mao'
img: withBase('/sponsor/wechat-color.webp')
}
]
},
{
items: [
{
img: withBase('/sponsor/alipay-color.jpg'),
url: '/mao'
img: withBase('/sponsor/alipay-color.webp')
}
]
}
Expand Down Expand Up @@ -50,9 +48,15 @@ const data = [
}
}
.vp-sponsor-grid.medium .vp-sponsor-grid-image {
max-height: 90px;
filter: grayscale(0.8);
.vp-sponsor-grid.vp-sponsor-grid {
.vp-sponsor-grid-link {
height: 144px;
}
.vp-sponsor-grid-image {
max-width: none;
max-height: 128px;
filter: grayscale(0.8);
}
}
.dark .vp-sponsor-grid-item:hover {
Expand Down
Binary file added docs/public/sponsor/alipay-color.webp
Binary file not shown.
Binary file added docs/public/sponsor/wechat-color.webp
Binary file not shown.

0 comments on commit 549d7c4

Please sign in to comment.