summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorstderr64 <linuxwizard@voidnet.dy.fi>2023-10-31 20:03:01 +0200
committerstderr64 <linuxwizard@voidnet.dy.fi>2023-10-31 20:03:01 +0200
commitafa60d27ae96225f34ec20076c118b94fd6cc1aa (patch)
tree007aab44efc8a82ec8ed9ebf5fef576aaa3dafde /css
parent1bd5c06aa023636e70843756fe2aa70e32c0541e (diff)
downloadVoidNet_New-afa60d27ae96225f34ec20076c118b94fd6cc1aa.tar.gz
VoidNet_New-afa60d27ae96225f34ec20076c118b94fd6cc1aa.tar.zst
Fixed (maybe) the background gradient on mobile devices
Diffstat (limited to 'css')
-rw-r--r--css/voidnet.css19
1 files changed, 18 insertions, 1 deletions
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;