From 1cff5b5d1b3876c31859796b3a6e32344ebbfb07 Mon Sep 17 00:00:00 2001 From: jbb01 <32650546+jbb01@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:08:27 +0200 Subject: [PATCH] add fallback for old browsers --- index.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/index.css b/index.css index 20e6da1..40093f2 100644 --- a/index.css +++ b/index.css @@ -132,4 +132,14 @@ body { color: var(--foreground); text-decoration: none; user-select: none; +} + +@supports not (background: conic-gradient(from 0deg in hsl longer hue, red 0 0)) { + html::before { + background: linear-gradient(-45deg, #204000 0%, #404000 100%); + } + + .link-content::before, .link-content::after { + background: white; + } } \ No newline at end of file