Skip to content

Commit 08cf16d

Browse files
save file
1 parent dfbc50a commit 08cf16d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@
4848
}
4949
}
5050

51+
@media(max-height:1200px){
52+
body
53+
{ --fs-title:50px;
54+
--fs-link:25px;
55+
--fs-prev:25px;
56+
--fs-loading:16px;
57+
--top-title:60px;
58+
--bottom-click:50px;
59+
}
60+
}
61+
5162

5263

5364
canvas
@@ -140,6 +151,8 @@ <h3>
140151

141152
var width = window.innerWidth;
142153
var height = window.innerHeight;
154+
console.log(width,height);
155+
143156
var aspectRatio = width/height;
144157
var pixelRatio = Math.min(window.devicePixelRatio,2);
145158

0 commit comments

Comments
 (0)