File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,18 @@ body:has(#main-content) header.header {
113113 border-bottom : none !important ;
114114}
115115
116+ /* Remove all Starlight padding/margins above the content on the home page
117+ This ensures the hero section's grid background touches the header seamlessly,
118+ eliminating the untextured gap (solid bar) underneath the header. */
119+ body : has (# main-content ) .main-pane ,
120+ body : has (# main-content ) main ,
121+ body : has (# main-content ) .content-panel ,
122+ body : has (# main-content ) .sl-container ,
123+ body : has (# main-content ) .sl-markdown-content {
124+ padding-top : 0 !important ;
125+ margin-top : 0 !important ;
126+ }
127+
116128/* ── Hide Starlight's built-in theme selector (dropdown) ─── */
117129/* We use our own custom ThemeToggle component instead */
118130starlight-theme-select {
You can’t perform that action at this time.
0 commit comments