commit edf69312e9bc537b4d9373dac1ba584e4b810c70
parent 2b68cea959aa52bdde66099d00f84e0d20c5a3ac
Author: Luke Jones <luke.jones.2567@gmail.com>
Date: Wed, 22 Jul 2026 19:43:10 +0100
refactor: move bg styling to global.css
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro
@@ -10,7 +10,7 @@ import { SITE_TITLE } from "../consts.ts";
const { ...props } = Astro.props;
---
-<html class="bg-gray-200">
+<html>
<Head title={`${SITE_TITLE} - ${props.title}`} />
<body class="w-full md:w-192 md:m-auto text-base p-2 md:p-8">
<div class="border-solid border-1 p-8 bg-white flex flex-col gap-5">
diff --git a/src/styles/global.css b/src/styles/global.css
@@ -1 +1,5 @@
@import "tailwindcss";
+
+html {
+ background: #ccc;
+}