mirror of
https://github.com/Aexiar/c.git
synced 2024-10-22 14:05:45 +02:00
2024年10月17日 10:46
This commit is contained in:
parent
e5e0116c84
commit
c1dff0e222
43
docs/.vitepress/theme/style/blur.css
Normal file
43
docs/.vitepress/theme/style/blur.css
Normal file
@ -0,0 +1,43 @@
|
||||
:root {
|
||||
|
||||
/* 首页下滑后导航透明 */
|
||||
.VPNavBar:not(.has-sidebar):not(.home.top) {
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
/* 搜索框透明 */
|
||||
.DocSearch-Button {
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
/* Feature透明 */
|
||||
.VPFeature {
|
||||
border: none;
|
||||
box-shadow: 0 10px 30px 0 rgb(0 0 0 / 15%);
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* 文档页侧边栏顶部透明 */
|
||||
.curtain {
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
@media (min-width: 960px) {
|
||||
|
||||
/* 文档页导航中间透明 */
|
||||
.VPNavBar:not(.home.top) .content-body {
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
}
|
||||
|
||||
/* 移动端大纲栏透明 */
|
||||
.VPLocalNav {
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
}
|
@ -2,4 +2,5 @@
|
||||
@import './vp-code-group.css';
|
||||
@import './blockquote-no-sfx.css';
|
||||
@import './var.css';
|
||||
@import './blur.css';
|
||||
@import './rainbow.css';
|
Loading…
Reference in New Issue
Block a user