Skip to content

Commit

Permalink
docs: optimize home page styles (#18539)
Browse files Browse the repository at this point in the history
  • Loading branch information
warmthsea authored Oct 31, 2024
1 parent f65d6ae commit 887ce8b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/.vitepress/theme/styles/landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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%);
Expand All @@ -58,6 +66,10 @@ html:has(.landing) {
display: none;
}

.VPMenu .translations + .group {
display: none;
}

.VPNavScreenAppearance {
visibility: hidden;
}
Expand Down

0 comments on commit 887ce8b

Please sign in to comment.