summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-11 02:25:41 -0800
committerFuwn <[email protected]>2024-01-11 02:25:41 -0800
commit902d474344fd1a6914108c1b6544f8cbad4cad0a (patch)
tree29e4fcc5a02bc86025ca57a50ad9310b5dafc9fa
parentfeat(css): update (diff)
downloadstartpage-902d474344fd1a6914108c1b6544f8cbad4cad0a.tar.xz
startpage-902d474344fd1a6914108c1b6544f8cbad4cad0a.zip
feat: update background
-rw-r--r--css/index.css15
-rw-r--r--index.html4
-rw-r--r--index.js2
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 @@
<body>
<div class="wrapper">
<div class="waifu">
- <a href="#" id="waifu-link"
+ <!-- <a href="#" id="waifu-link"
><img
id="waifu"
src="https://media.tenor.com/GOYRQva4UeoAAAAd/anime-dance.gif"
/></a>
- </div>
+ </div> -->
<div class="content">
<div class="time" id="time">&nbsp;</div>
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();
};