docs: optimize home page styles (#18539)

This commit is contained in:
sea 2024-11-01 01:36:33 +08:00 committed by GitHub
parent f65d6ae5a7
commit 887ce8bc9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,13 +4,16 @@
html:has(.landing) { html:has(.landing) {
background-color: #101010; background-color: #101010;
--vp-c-bg: #101010;
body { body {
background-color: #101010; background-color: #101010;
} }
} }
html.dark:has(.landing) {
--vp-c-bg: #101010;
}
.landing { .landing {
overflow-x: hidden; overflow-x: hidden;
background-color: #101010; background-color: #101010;
@ -37,9 +40,14 @@ html:has(.landing) {
.content-body { .content-body {
background: none !important; background: none !important;
transition: none;
} }
} }
.VPNavBar *:not(.wrapper *) {
transition: none;
}
.VPFooter { .VPFooter {
border-top: 1px solid #262626 !important; border-top: 1px solid #262626 !important;
background: radial-gradient(circle at top center, #0f151a 30%, #000000 80%); background: radial-gradient(circle at top center, #0f151a 30%, #000000 80%);
@ -58,6 +66,10 @@ html:has(.landing) {
display: none; display: none;
} }
.VPMenu .translations + .group {
display: none;
}
.VPNavScreenAppearance { .VPNavScreenAppearance {
visibility: hidden; visibility: hidden;
} }