Skip to content

Commit 8997338

Browse files
committed
fix(website): eliminate Starlight gap and border below header on homepage
1 parent 5f3d66c commit 8997338

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

website/src/styles/starlight-overrides.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,18 @@ body:has(#main-content) {
108108
--sl-color-bg-nav: transparent;
109109
}
110110

111+
/* Remove header border and Starlight padding/borders above the custom content.
112+
Hero section (and its background grid) touches the header seamlessly,
113+
completely eliminating any 'bar' or gap between them. */
114+
body:has(#main-content) header.header {
115+
border-bottom: none !important;
116+
}
117+
118+
body:has(#main-content) .content-panel {
119+
padding-top: 0 !important;
120+
border-top: none !important;
121+
}
122+
111123
/* ── Hide Starlight's built-in theme selector (dropdown) ─── */
112124
/* We use our own custom ThemeToggle component instead */
113125
starlight-theme-select {

0 commit comments

Comments
 (0)