Luke Jones

lukeonline - commit edf6931

refactor: move bg styling to global.cssedf69312e9bc537b4d9373dac1ba584e4b810c70Luke Jones<luke.jones.2567@gmail.com>2026-07-22T19:43:10+01:00
diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index 17ff83f..392e075 100644 --- 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 index f1d8c73..e35fb0b 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1 +1,5 @@ @import "tailwindcss"; + +html { + background: #ccc; +}