From 160bcc992e07f5b70d4f99617b43a8e0a617f54f Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 8 Nov 2024 13:24:48 +0100 Subject: scale background image properly --- style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'style.css') diff --git a/style.css b/style.css index c54815f..f9ec8d5 100644 --- a/style.css +++ b/style.css @@ -21,7 +21,8 @@ html, body { } body { - background-image: linear-gradient(0deg,rgba(0,0,0,.0),rgba(0,0,0,.6),rgba(0,0,0,.8)),url(/custom/background.jpg) + background-image: linear-gradient(0deg,rgba(0,0,0,.0),rgba(0,0,0,.6),rgba(0,0,0,.8)),url(/custom/background.jpg); + background-size: cover; } #output { -- cgit v1.2.3