Skip to content

Commit a5a7c8d

Browse files
author
Dev Agent Amelia
committed
fix(docs): remove header border-bottom permanently, hide divider-line at all scroll positions
1 parent deb9047 commit a5a7c8d

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

docs/.vitepress/theme/style.css

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ body {
104104
-webkit-backdrop-filter: saturate(180%) blur(14px);
105105
backdrop-filter: saturate(180%) blur(14px);
106106
background: rgba(255, 255, 255, 0.78) !important;
107-
border-bottom: 1px solid var(--vp-c-divider);
107+
border-bottom: 0 !important;
108108
box-shadow: none !important;
109-
transition: background 0.25s ease, border-color 0.25s ease,
110-
backdrop-filter 0.25s ease, -webkit-backdrop-filter 0.25s ease;
109+
transition: background 0.25s ease, backdrop-filter 0.25s ease,
110+
-webkit-backdrop-filter 0.25s ease;
111111
}
112112

113113
.dark .VPNav {
@@ -123,10 +123,9 @@ body {
123123
}
124124

125125
/* Kill the VitePress divider/divider-line element that draws a 1px bottom line
126-
on non-home doc pages (.VPNavBar:not(.home) .divider-line { background: var(--vp-c-gutter) })
127-
— must be transparent when the header is in its at-top transparent state */
128-
.VPNav:has(.VPNavBar.top) .divider,
129-
.VPNav:has(.VPNavBar.top) .divider-line {
126+
on non-home doc pages — hidden permanently, at any scroll position */
127+
.VPNav .divider,
128+
.VPNav .divider-line {
130129
background-color: transparent !important;
131130
}
132131

0 commit comments

Comments
 (0)