From af2e7cffad3ad14c6b034fa343692ec265688e88 Mon Sep 17 00:00:00 2001 From: bd Date: Tue, 24 Feb 2026 21:25:11 -0500 Subject: add mobile background for less data usage --- content/assets/site.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'content/assets/site.css') diff --git a/content/assets/site.css b/content/assets/site.css index dc3f276..517e288 100644 --- a/content/assets/site.css +++ b/content/assets/site.css @@ -4,6 +4,18 @@ html { -moz-background-size: cover; -o-background-size: cover; background-size: cover; + background-color: rgba(0, 0, 0, 0.5); +} + +@media (max-width: 768px) { + html { + background: url(background-mobile.jpg) no-repeat center center fixed; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-size: cover; + background-color: rgba(0, 0, 0, 0.5); + } } .container { -- cgit v1.2.3