-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
138 lines (119 loc) · 4.37 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!--Developer By Sowwyz#1337-->
<!DOCTYPE html>
<html>
<head>
<title>Sowwyz</title>
<link rel="shortcut icon" href="img/sowwyz.ico" type="image/png">
<style>
body {
margin: 0;
overflow: hidden;
background-color: black;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: Arial, sans-serif;
}
/* Sowwyz#1337 */
.snowflake {
position: absolute;
top: -10px;
width: 5px;
height: 5px;
background-color: white;
border-radius: 50%;
animation: fall linear infinite;
}
@keyframes fall {
0% {
transform: translateY(-10px) translateX(0);
}
100% {
transform: translateY(100vh) translateX(10vw);
}
}
/* Sowwyz#1337 */
h1 {
font-size: 60px;
font-style: italic;
margin: 0;
color: white;
text-shadow: 0 0 5px white, 0 0 10px white, 0 0 20px white, 0 0 40px white, 0 0 80px white, 0 0 160px white;
animation: shadow-pulse 3s ease-in-out infinite;
cursor: pointer;
}
h1 span {
font-style: italic;
font-size: 54px;
display: inline-block;
transform: translateY(5px);
animation: letter-pulse 3s ease-in-out infinite;
}
@keyframes shadow-pulse {
0% {
text-shadow: 0 0 5px white, 0 0 10px white, 0 0 20px white, 0 0 40px white, 0 0 80px white, 0 0 160px white;
}
50% {
text-shadow: 0 0 5px white, 0 0 10px white, 0 0 20px white, 0 0 40px white, 0 0 80px white;
}
100% {
text-shadow: 0 0 5px white, 0 0 10px white, 0 0 20px white, 0 0 40px white;
}
}
@keyframes letter-pulse {
0% {
transform: translateY(5px) scale(1);
}
50% {
transform: translateY(0) scale(1.2);
}
100% {
transform: translateY(5px) scale(1);
}
}
</style>
<body>
<h1><span onclick="playAudioAndRedirect()">enter.</span></h1>
<audio id="audio" src="/sao.mp3"></audio>
<script>
function createSnowflake() {
const snowflake = document.createElement('div');
snowflake.className = 'snowflake';
snowflake.style.left = Math.random() * 100 + 'vw';
snowflake.style.animationDuration = 2 + Math.random() * 4 + 's';
snowflake.style.animationDelay = Math.random() * 1 + 's';
snowflake.style.opacity = Math.random() * 0.7 + 0.3;
document.body.appendChild(snowflake);
setTimeout(() => {
snowflake.remove();
}, (parseFloat(snowflake.style.animationDuration) + parseFloat(snowflake.style.animationDelay)) * 1000);
}
/* Sowwyz#1337 */
setInterval(createSnowflake, 100);
const title = document.querySelector('h1');
title.addEventListener('mouseenter', () => {
title.style.textShadow = '0 0 5px white, 0 0 10px white, 0 0 20px white, 0 0 40px #ff8c00, 0 0 80px #ff8c00, 0 0 160px #ff8c00';
title.style.cursor = 'pointer';
});
title.addEventListener('mouseleave', () => {
title.style.textShadow = '0 0 5px white, 0 0 10px white, 0 0 20px white, 0 0 40px white, 0 0 80px white, 0 0 160px white';
title.style.cursor = 'default';
});
/* Sowwyz#1337 */
function playAudioAndRedirect() {
localStorage.setItem('isMusicPlaying', 'true');
setTimeout(() => {
window.location.href = "sowwyz.html";
}, 1000);
}
</script>
</body>
</html>
<!--Sowwyz#1337-->
<!--Sowwyz#1337-->
<!--Sowwyz#1337-->
<!--Sowwyz#1337-->
<!--Sowwyz#1337-->
<!--Sowwyz#1337-->
<!--Sowwyz#1337-->