mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 22:59:10 +00:00
docs: optimize home page styles (#18539)
This commit is contained in:
parent
f65d6ae5a7
commit
887ce8bc9a
@ -4,13 +4,16 @@
|
||||
|
||||
html:has(.landing) {
|
||||
background-color: #101010;
|
||||
--vp-c-bg: #101010;
|
||||
|
||||
body {
|
||||
background-color: #101010;
|
||||
}
|
||||
}
|
||||
|
||||
html.dark:has(.landing) {
|
||||
--vp-c-bg: #101010;
|
||||
}
|
||||
|
||||
.landing {
|
||||
overflow-x: hidden;
|
||||
background-color: #101010;
|
||||
@ -37,9 +40,14 @@ html:has(.landing) {
|
||||
|
||||
.content-body {
|
||||
background: none !important;
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
.VPNavBar *:not(.wrapper *) {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.VPFooter {
|
||||
border-top: 1px solid #262626 !important;
|
||||
background: radial-gradient(circle at top center, #0f151a 30%, #000000 80%);
|
||||
@ -58,6 +66,10 @@ html:has(.landing) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.VPMenu .translations + .group {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.VPNavScreenAppearance {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user