-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
77 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,6 +65,5 @@ export default { | |
.loading, .error { | ||
text-align: left; | ||
font-size: 30px; | ||
color: #000000; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,44 @@ | ||
/* .vitepress\theme\style\blur.css */ | ||
:root { | ||
|
||
/* 首页导航 */ | ||
.VPNavBar { | ||
/* 首页下滑后导航透明 */ | ||
.VPNavBar:not(.has-sidebar):not(.home.top) { | ||
background-color: rgba(255, 255, 255, 0); | ||
backdrop-filter: blur(15px); | ||
backdrop-filter: blur(20px); | ||
} | ||
|
||
/* 文档页导航两侧 */ | ||
.VPNavBar:not(.home) { | ||
/* 搜索框透明 */ | ||
.DocSearch-Button { | ||
background-color: rgba(255, 255, 255, 0); | ||
backdrop-filter: blur(15px); | ||
backdrop-filter: blur(20px); | ||
} | ||
|
||
@media (min-width: 960px) { | ||
|
||
/* 文档页导航两侧 */ | ||
.VPNavBar:not(.home) { | ||
background-color: rgba(255, 255, 255, 0); | ||
backdrop-filter: blur(15px); | ||
} | ||
/* Feature透明 */ | ||
.VPFeature { | ||
border: none; | ||
box-shadow: 0 10px 30px 0 rgb(0 0 0 / 15%); | ||
background-color: transparent; | ||
} | ||
|
||
/* 首页下滑后导航两侧 */ | ||
.VPNavBar:not(.has-sidebar):not(.home.top) { | ||
background-color: rgba(255, 255, 255, 0); | ||
backdrop-filter: blur(15px); | ||
} | ||
/* 文档页侧边栏顶部透明 */ | ||
.curtain { | ||
background-color: rgba(255, 255, 255, 0); | ||
backdrop-filter: blur(20px); | ||
} | ||
|
||
@media (min-width: 960px) { | ||
|
||
/* 文档页导航中间 */ | ||
/* 文档页导航中间透明 */ | ||
.VPNavBar:not(.home.top) .content-body { | ||
background-color: rgba(255, 255, 255, 0); | ||
backdrop-filter: blur(15px); | ||
} | ||
|
||
/* 首页下滑后导航中间 */ | ||
.VPNavBar:not(.has-sidebar):not(.home.top) .content-body { | ||
background-color: rgba(255, 255, 255, 0); | ||
backdrop-filter: blur(15px); | ||
backdrop-filter: blur(20px); | ||
} | ||
} | ||
|
||
|
||
/* 分割线 */ | ||
|
||
@media (min-width: 960px) { | ||
|
||
/* 文档页分割线 */ | ||
/* .VPNavBar:not(.home.top) .divider-line { | ||
background-color: rgba(255, 255, 255, 0); | ||
backdrop-filter: blur(15px); | ||
} */ | ||
|
||
/* 首页分割线 */ | ||
/* .VPNavBar:not(.has-sidebar):not(.home.top) .divider { | ||
background-color: rgba(255, 255, 255, 0); | ||
backdrop-filter: blur(15px); | ||
} */ | ||
} | ||
|
||
/* 搜索框 VPNavBarSearchButton.vue */ | ||
.DocSearch-Button { | ||
background-color: rgba(255, 255, 255, 0); | ||
backdrop-filter: blur(15px); | ||
} | ||
|
||
|
||
/* 移动端大纲栏 */ | ||
/* 移动端大纲栏透明 */ | ||
.VPLocalNav { | ||
background-color: rgba(255, 255, 255, 0); | ||
backdrop-filter: blur(15px); | ||
/* 隐藏分割线 */ | ||
/* border-bottom: 5px solid var(--vp-c-gutter); */ | ||
border-bottom: 0px; | ||
backdrop-filter: blur(20px); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* .vitepress\theme\style\hidden.css */ | ||
:root { | ||
|
||
/* 文档页Logo出文字下横条 */ | ||
.VPNavBar.has-sidebar .title { | ||
width: 0px; | ||
} | ||
|
||
/* 页脚横条隐藏 */ | ||
.VPFooter { | ||
border-top: none; | ||
} | ||
|
||
/* 手机端菜单栏顶部横条隐藏 */ | ||
.VPNavBar.screen-open { | ||
border-bottom: none; | ||
} | ||
|
||
/* 手机端菜单栏菜单分割线隐藏 */ | ||
.VPNavScreenMenuLink { | ||
border-bottom: none; | ||
} | ||
|
||
/* 手机端菜单组隐藏 */ | ||
.VPNavScreenMenuGroup { | ||
border-bottom: none; | ||
} | ||
|
||
/* 手机端大纲栏横条隐藏 */ | ||
.VPLocalNav { | ||
border-bottom: none; | ||
} | ||
|
||
} | ||
|
||
|
||
/* 导航栏下划线隐藏 */ | ||
.divider { | ||
display: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters