Skip to content

Commit 0655083

Browse files
committed
chore: Fix text colouring and decrease margin from content to nav
1 parent 65c8d69 commit 0655083

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

components/layout.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,10 @@ export default function Layout({ children, home }: LayoutProps) {
3838
</Link>
3939
<Link className={`text-sm ml-2 ${pathname === '/blog' ? 'text-sky-400' : ''}`} href="/blog">Blog</Link>
4040
<Link className={`text-sm ml-2 ${pathname === '/riddles' ? 'text-sky-400' : ''}`} href={`/riddles`}>Riddles</Link>
41-
4241
</div>
4342
</nav>
4443
</header>
45-
<main className="container mx-auto mt-4 lg:mt-16 px-4 lg:px-64 xl:px-64 mb-4">{children}</main>
46-
44+
<main className="container mx-auto mt-4 lg:mt-12 px-4 lg:px-64 xl:px-64 mb-4">{children}</main>
4745
</div>
4846
);
4947
}

styles/global.css

+1-3
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616
}
1717
}
1818

19-
20-
2119
body {
22-
color: rgb(var(--foreground-rgb));
20+
color: #fff;
2321
background-color:#18181b
2422
}
2523

0 commit comments

Comments
 (0)