mirror of
https://github.com/vitejs/vite.git
synced 2024-11-22 07:09:05 +00:00
docs: optimize home page styles (#18539)
This commit is contained in:
parent
f65d6ae5a7
commit
887ce8bc9a
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user