From afa60d27ae96225f34ec20076c118b94fd6cc1aa Mon Sep 17 00:00:00 2001 From: stderr64 Date: Tue, 31 Oct 2023 20:03:01 +0200 Subject: Fixed (maybe) the background gradient on mobile devices --- css/voidnet.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'css/voidnet.css') diff --git a/css/voidnet.css b/css/voidnet.css index b4b7b1d..03c216e 100644 --- a/css/voidnet.css +++ b/css/voidnet.css @@ -3,9 +3,26 @@ src: url('../fonts/FreeMono.ttf'); } +:root{ + font-family: "FreeMono"; + background-image: linear-gradient(135deg, #000000, #222222); + background-size: 100% 100%; + background-attachment: fixed; + background-repeat: no-repeat; + background-position: center; + width: 100%; + height: 100%; + min-height: 100%; + min-width: 100%; + top: 0px; + left: 0px; + bottom: 0px; + margin: 0px; +} + body{ font-family: "FreeMono"; - background-image: linear-gradient(45deg, #000000, #222222); + background-image: linear-gradient(135deg, #000000, #222222); background-size: 100% 100%; background-attachment: fixed; background-repeat: no-repeat; -- cgit v1.2.3-86-g962b