Skip to content

Commit

Permalink
test: 处理首页的样式问题
Browse files Browse the repository at this point in the history
  • Loading branch information
01Petard committed Nov 13, 2024
1 parent 5d7c2b3 commit 54c0db2
Showing 1 changed file with 17 additions and 27 deletions.
44 changes: 17 additions & 27 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,26 @@ hero:
text: 我的Bilibili
link: https://space.bilibili.com/12764212
---
<style>:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #bd34fe 30%, #41d1ff);

--vp-home-hero-image-background-image: linear-gradient(-45deg, #bd34fe 50%, #47caff 50%);
--vp-home-hero-image-filter: blur(44px);
}

@media (min-width: 640px) {
:root {
--vp-home-hero-image-filter: blur(56px);
}
}

@media (min-width: 960px) {
:root {
--vp-home-hero-image-filter: blur(68px);
}
}
</style>
# 欢迎来到我的博客!
感谢大家一直以来的支持和关注!这个博客是基于 [VitePress](https://vitejs.cn/vitepress/) 构建的,旨在提供更高效的内容创作和管理体验。尽管我的旧博客曾承载了许多宝贵的学习记录与分享,但为了追求更好的技术体验,我决定将其迁移至新的平台。

Expand All @@ -53,30 +70,3 @@ hero:

国内访问:[代码港湾](http://www.huangzexiao.top/)








<style>:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #bd34fe 30%, #41d1ff);

--vp-home-hero-image-background-image: linear-gradient(-45deg, #bd34fe 50%, #47caff 50%);
--vp-home-hero-image-filter: blur(44px);
}

@media (min-width: 640px) {
:root {
--vp-home-hero-image-filter: blur(56px);
}
}

@media (min-width: 960px) {
:root {
--vp-home-hero-image-filter: blur(68px);
}
}
</style>

0 comments on commit 54c0db2

Please sign in to comment.