From 902d474344fd1a6914108c1b6544f8cbad4cad0a Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 11 Jan 2024 02:25:41 -0800 Subject: feat: update background --- css/index.css | 15 ++++++++++----- index.html | 4 ++-- index.js | 2 +- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/css/index.css b/css/index.css index 38905c5..f51d703 100644 --- a/css/index.css +++ b/css/index.css @@ -5,12 +5,15 @@ body { font-family: "unifont"; - background-color: var(--background); + /* background-color: var(--background); */ + background-image: url("https://i.imgur.com/N4FCLVB.jpg"); color: var(--foreground); padding: 0; margin: 0; font-size: 1vw; transition: 0.5s; + background-size: cover; + backdrop-filter: blur(5px); } .wrapper { @@ -21,16 +24,18 @@ body { } .content { - position: absolute; - left: 42.75%; + /* position: absolute; */ + /* left: 42.75%; */ border: 1px solid var(--color1); padding: 45.5px; text-align: center; + /* background-color: var(--background); */ + background-color: #00000060; } .waifu { - position: absolute; - right: 57.75%; + /* position: absolute; */ + /* right: 57.75%; */ height: 386px; border: 1px solid var(--color1); } diff --git a/index.html b/index.html index 2d594b3..a7c56c1 100644 --- a/index.html +++ b/index.html @@ -14,12 +14,12 @@
- -
+
-->
 
diff --git a/index.js b/index.js index 8ae8146..f2adadf 100644 --- a/index.js +++ b/index.js @@ -158,7 +158,7 @@ const chooseWaifu = () => { }; window.onload = () => { - chooseWaifu(); + // chooseWaifu(); weather(); }; -- cgit v1.2.3