From 1411c028ab27de6d61acc67d4f87478362c10195 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 28 Oct 2023 11:11:02 +0100 Subject: [PATCH] cleanup css --- src/app/globals.css | 24 ------------------------ src/app/layout.tsx | 2 +- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index fd81e88..b5c61c9 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1,27 +1,3 @@ @tailwind base; @tailwind components; @tailwind utilities; - -:root { - --foreground-rgb: 0, 0, 0; - --background-start-rgb: 214, 219, 220; - --background-end-rgb: 255, 255, 255; -} - -@media (prefers-color-scheme: dark) { - :root { - --foreground-rgb: 255, 255, 255; - --background-start-rgb: 0, 0, 0; - --background-end-rgb: 0, 0, 0; - } -} - -body { - color: rgb(var(--foreground-rgb)); - background: linear-gradient( - to bottom, - transparent, - rgb(var(--background-end-rgb)) - ) - rgb(var(--background-start-rgb)); -} diff --git a/src/app/layout.tsx b/src/app/layout.tsx index c95c000..9eceb9d 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -49,7 +49,7 @@ export default function RootLayout({ src="https://analytics.fascinated.cc/js/script.js" /> - +