From 3277f8f4cf4037f260534e2d4fba78ac63ea62d0 Mon Sep 17 00:00:00 2001 From: Rhiannon Morris Date: Mon, 17 Feb 2025 03:20:13 +0100 Subject: [PATCH] background --- style/base.css | 4 +++- style/properties.css | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/style/base.css b/style/base.css index 4897175..1f9416d 100644 --- a/style/base.css +++ b/style/base.css @@ -59,12 +59,14 @@ actually exists } --shadow-hsl: 330deg 40% 40%; - --base-background: var(--gradient) fixed; + --base-background: url(../media/church.png), var(--gradient) fixed; background: var(--base-background); font-family: Muller, sans-serif; font-weight: 500; + @media (prefers-reduced-data: reduce) { + --base-background: var(--gradient) fixed; font-family: sans-serif; font-weight: normal; } diff --git a/style/properties.css b/style/properties.css index 0a3c261..a3fefe4 100644 --- a/style/properties.css +++ b/style/properties.css @@ -1,3 +1,9 @@ +@property --base-background { + syntax: "*"; + inherits: false; + initial-value: transparent; +} + /* face backgrounds */ @property --hue {