Skip to content

Commit f8dc5b6

Browse files
warmthseapatak-dev
authored andcommitted
docs: optimize home page styles (#18539)
1 parent 3616fdf commit f8dc5b6

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/.vitepress/theme/styles/landing.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@
44

55
html:has(.landing) {
66
background-color: #101010;
7-
--vp-c-bg: #101010;
87

98
body {
109
background-color: #101010;
1110
}
1211
}
1312

13+
html.dark:has(.landing) {
14+
--vp-c-bg: #101010;
15+
}
16+
1417
.landing {
1518
overflow-x: hidden;
1619
background-color: #101010;
@@ -37,9 +40,14 @@ html:has(.landing) {
3740

3841
.content-body {
3942
background: none !important;
43+
transition: none;
4044
}
4145
}
4246

47+
.VPNavBar *:not(.wrapper *) {
48+
transition: none;
49+
}
50+
4351
.VPFooter {
4452
border-top: 1px solid #262626 !important;
4553
background: radial-gradient(circle at top center, #0f151a 30%, #000000 80%);
@@ -58,6 +66,10 @@ html:has(.landing) {
5866
display: none;
5967
}
6068

69+
.VPMenu .translations + .group {
70+
display: none;
71+
}
72+
6173
.VPNavScreenAppearance {
6274
visibility: hidden;
6375
}

0 commit comments

Comments
 (0)