chore: custom vitepress home background

This commit is contained in:
Sagi 2022-10-05 22:53:51 +08:00
parent 572e0dcd97
commit b2b2d9ff08
4 changed files with 4 additions and 5 deletions

View File

@ -20,6 +20,7 @@ import VPHomeFeatures from './VPHomeFeatures.vue'
<style scoped>
.VPHome {
padding-bottom: 96px;
background-image: url(/assets/banner.png);
}
.VPHome :deep(.VPHomeSponsors) {

View File

@ -42,9 +42,10 @@ provide('close-screen', closeScreen)
}
.VPNav.no-sidebar {
-webkit-backdrop-filter: saturate(50%) blur(8px);
/* -webkit-backdrop-filter: saturate(50%) blur(8px);
backdrop-filter: saturate(50%) blur(8px);
background: rgba(255, 255, 255, 0.7);
background: rgba(255, 255, 255, 0.7); */
background: transparent;
}
.dark .VPNav.no-sidebar {

Binary file not shown.

After

Width:  |  Height:  |  Size: 990 KiB

View File

@ -4,9 +4,6 @@ hero:
name: Farris UI Vue
text: 前端组件库
tagline: 基于 Farris Design 具有 Fast Reliable Responsive Intuitive Smart 五大特性。
image:
src: /assets/farris_design.jpg
alt: Farris UI Vue
actions:
- theme: brand
text: 快速开始