Skip to content

Commit eb79a4b

Browse files
David MartinDavid Martin
authored andcommitted
Updated background
1 parent 1b37f1c commit eb79a4b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/layouts/Layout.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ const imageURL = image.startsWith('http') ? image : new URL(image, Astro.site).h
6868

6969
<!-- Additional meta tags for better social sharing -->
7070
<meta name="format-detection" content="telephone=no" />
71-
<meta name="theme-color" content="#00d4ff" />
71+
<meta name="theme-color" content="#000000" />
72+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
7273

7374
<!-- Structured Data -->
7475
<script type="application/ld+json">

src/styles/global.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ html.light {
3333
@layer base {
3434
html {
3535
scroll-behavior: smooth;
36+
background-color: #000000; /* Pure black to match navbar and prevent white flash on scroll */
37+
}
38+
39+
html.light {
40+
background-color: #ffffff; /* White for light mode */
3641
}
3742

3843
body {
@@ -41,6 +46,7 @@ html.light {
4146
background-color: var(--bg-primary);
4247
color: var(--text-primary);
4348
transition: background-color 0.3s, color 0.3s;
49+
min-height: 100vh; /* Ensure body covers viewport */
4450
}
4551
}
4652

0 commit comments

Comments
 (0)