Skip to content

Commit 3d14e6b

Browse files
save file
1 parent 5e85901 commit 3d14e6b

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

merry-christmas/2025/merry-christmas-2025.html

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
<style>
2525

2626
html
27-
{font-family:allura;color:#c5a880}
27+
{font-family:allura;color:#c5a880;background:#00101a}
2828

2929
body
30-
{overflow:hidden;background:#00101a}
30+
{overflow:hidden;background:#00101a;opacity:0;transition:all 1s}
3131

3232
canvas
3333
{position:fixed;width:100vw;height:100vh}
@@ -46,10 +46,10 @@
4646
{position:absolute;bottom:0;left:0;right:0;margin:auto;text-align:center}
4747

4848
h3
49-
{font-size:50px}
49+
{position:absolute;bottom:100px;left:0;right:0;margin:auto;text-align:center;font-size:50px}
5050

5151
#loading
52-
{font-size:50px}
52+
{position:absolute;bottom:20px;left:0;right:0;margin:auto;text-align:center;font-size:50px}
5353

5454

5555

@@ -79,17 +79,18 @@ <h2>
7979
</h2>
8080

8181

82-
<div id=info>
83-
<h3>
84-
click -
85-
<span id=play>
86-
play
87-
</span>
88-
</h3>
89-
<div id=loading>
90-
loading ...
91-
</div>
82+
<h3>
83+
click -
84+
<span id=play>
85+
play
86+
</span>
87+
</h3>
88+
89+
90+
<div id=loading>
91+
loading ...
9292
</div>
93+
9394

9495

9596
</body>
@@ -194,10 +195,11 @@ <h3>
194195

195196
//:
196197

198+
window.onload = e=>document.body.style.opacity=1;
197199

198-
window.addEventListener('resize',resize);
200+
window.onresize = resize;
199201

200-
document.body.onclick = e=>{console.log('click');
202+
document.body.onclick = e=>{console.log('click');
201203

202204
if(!analyser){
203205
console.log(analyser);

0 commit comments

Comments
 (0)