Upload 3 files
Browse files- .gitattributes +1 -0
- index-1.html +219 -0
- music.mp3 +3 -0
- style-1.css +61 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
music.mp3 filter=lfs diff=lfs merge=lfs -text
|
index-1.html
ADDED
|
@@ -0,0 +1,219 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
| 6 |
+
<title>Duyên Thối</title>
|
| 7 |
+
<style>
|
| 8 |
+
html, body {
|
| 9 |
+
margin: 0;
|
| 10 |
+
padding: 0;
|
| 11 |
+
overflow: hidden;
|
| 12 |
+
height: 100vh;
|
| 13 |
+
width: 100vw;
|
| 14 |
+
font-family: 'Arial Rounded MT Bold', sans-serif;
|
| 15 |
+
background: linear-gradient(to bottom right, #ffffff, #f7e9d2);
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
/* Khung chữ */
|
| 19 |
+
.container {
|
| 20 |
+
position: absolute;
|
| 21 |
+
top: 50%;
|
| 22 |
+
left: 50%;
|
| 23 |
+
transform: translate(-50%, -50%);
|
| 24 |
+
border: 5px solid #8B4513; /* Khung bao quanh chữ */
|
| 25 |
+
padding: 40px;
|
| 26 |
+
border-radius: 20px;
|
| 27 |
+
background-color: rgba(255, 255, 255, 0.7); /* Màu nền nhẹ */
|
| 28 |
+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* Hiệu ứng bóng đổ cho khung */
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
h1 {
|
| 32 |
+
font-size: 6rem;
|
| 33 |
+
color: #8B4513;
|
| 34 |
+
text-shadow: 0 0 25px #d2b48c, 0 0 40px #8B4513;
|
| 35 |
+
display: flex;
|
| 36 |
+
flex-direction: column;
|
| 37 |
+
align-items: center;
|
| 38 |
+
gap: 20px;
|
| 39 |
+
margin: 0;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.letter {
|
| 43 |
+
display: inline-block;
|
| 44 |
+
animation: floaty 3s ease-in-out infinite;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
@keyframes floaty {
|
| 48 |
+
0% { transform: translateY(0) rotate(0deg); }
|
| 49 |
+
25% { transform: translateY(-8px) rotate(1deg); }
|
| 50 |
+
50% { transform: translateY(0) rotate(0deg); }
|
| 51 |
+
75% { transform: translateY(8px) rotate(-1deg); }
|
| 52 |
+
100% { transform: translateY(0) rotate(0deg); }
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.emoji {
|
| 56 |
+
position: absolute;
|
| 57 |
+
font-size: 26px;
|
| 58 |
+
animation: pop 1s ease-out forwards;
|
| 59 |
+
color: #8B4513;
|
| 60 |
+
pointer-events: none;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
@keyframes pop {
|
| 64 |
+
0% { transform: scale(1); opacity: 1; }
|
| 65 |
+
100% { transform: scale(2); opacity: 0; top: -40px; }
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
.spider {
|
| 69 |
+
position: absolute;
|
| 70 |
+
font-size: 40px;
|
| 71 |
+
pointer-events: none;
|
| 72 |
+
transition: transform 0.1s linear;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
.baby-spider {
|
| 76 |
+
position: absolute;
|
| 77 |
+
font-size: 20px;
|
| 78 |
+
pointer-events: none;
|
| 79 |
+
transition: transform 0.1s linear;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
/* Khung hoa văn */
|
| 83 |
+
.border-frame {
|
| 84 |
+
position: absolute;
|
| 85 |
+
top: 0;
|
| 86 |
+
left: 0;
|
| 87 |
+
width: 100vw;
|
| 88 |
+
height: 100vh;
|
| 89 |
+
background-image: url('https://www.transparenttextures.com/patterns/circuit-board.png');
|
| 90 |
+
background-size: cover;
|
| 91 |
+
z-index: -1;
|
| 92 |
+
}
|
| 93 |
+
</style>
|
| 94 |
+
</head>
|
| 95 |
+
<body>
|
| 96 |
+
|
| 97 |
+
<!-- Khung hoa văn -->
|
| 98 |
+
<div class="border-frame"></div>
|
| 99 |
+
|
| 100 |
+
<!-- Khung chữ với nội dung -->
|
| 101 |
+
<div class="container">
|
| 102 |
+
<h1>
|
| 103 |
+
<span class="letter">Duyên</span>
|
| 104 |
+
<span class="letter">Thối</span>
|
| 105 |
+
<span class="letter">💩</span>
|
| 106 |
+
</h1>
|
| 107 |
+
</div>
|
| 108 |
+
|
| 109 |
+
<div id="spider" class="spider">🕷️💩</div>
|
| 110 |
+
<audio id="bg-music" src="music.mp3" autoplay loop hidden></audio>
|
| 111 |
+
|
| 112 |
+
<script>
|
| 113 |
+
const spider = document.getElementById('spider');
|
| 114 |
+
const music = document.getElementById('bg-music');
|
| 115 |
+
let mouseX = window.innerWidth / 2;
|
| 116 |
+
let mouseY = window.innerHeight / 2;
|
| 117 |
+
let spiderX = mouseX, spiderY = mouseY;
|
| 118 |
+
|
| 119 |
+
// Nhện con (ở các góc màn hình)
|
| 120 |
+
const babySpiders = [
|
| 121 |
+
{ x: 0, y: 0, speed: 0.02 },
|
| 122 |
+
{ x: window.innerWidth, y: 0, speed: 0.03 },
|
| 123 |
+
{ x: 0, y: window.innerHeight, speed: 0.04 },
|
| 124 |
+
{ x: window.innerWidth, y: window.innerHeight, speed: 0.05 }
|
| 125 |
+
];
|
| 126 |
+
|
| 127 |
+
// Tạo nhện con ở các góc
|
| 128 |
+
babySpiders.forEach(spiderData => {
|
| 129 |
+
const babySpider = document.createElement('div');
|
| 130 |
+
babySpider.className = 'baby-spider';
|
| 131 |
+
babySpider.innerText = '🕷️';
|
| 132 |
+
document.body.appendChild(babySpider);
|
| 133 |
+
moveSpiderToCursor(babySpider, spiderData.x, spiderData.y, spiderData.speed);
|
| 134 |
+
});
|
| 135 |
+
|
| 136 |
+
// Di chuyển nhện con về vị trí của chuột
|
| 137 |
+
function moveSpiderToCursor(spiderElement, x, y, speed) {
|
| 138 |
+
let targetX = x;
|
| 139 |
+
let targetY = y;
|
| 140 |
+
function move() {
|
| 141 |
+
const dx = mouseX - targetX;
|
| 142 |
+
const dy = mouseY - targetY;
|
| 143 |
+
targetX += dx * speed;
|
| 144 |
+
targetY += dy * speed;
|
| 145 |
+
spiderElement.style.transform = `translate(${targetX}px, ${targetY}px)`;
|
| 146 |
+
requestAnimationFrame(move);
|
| 147 |
+
}
|
| 148 |
+
move();
|
| 149 |
+
}
|
| 150 |
+
|
| 151 |
+
// Hàm random chọn emoji
|
| 152 |
+
function getRandomEmoji() {
|
| 153 |
+
const emojis = ['💩', '😁', '😝'];
|
| 154 |
+
return emojis[Math.floor(Math.random() * emojis.length)];
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
// Hàm tạo emoji ngẫu nhiên
|
| 158 |
+
function createEmoji(x, y) {
|
| 159 |
+
const emoji = document.createElement('div');
|
| 160 |
+
emoji.className = 'emoji';
|
| 161 |
+
emoji.innerText = getRandomEmoji(); // Chọn ngẫu nhiên emoji
|
| 162 |
+
emoji.style.left = `${x}px`;
|
| 163 |
+
emoji.style.top = `${y}px`;
|
| 164 |
+
document.body.appendChild(emoji);
|
| 165 |
+
setTimeout(() => emoji.remove(), 1000); // Xóa emoji sau 1 giây
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
document.addEventListener('mousemove', (e) => {
|
| 169 |
+
mouseX = e.clientX;
|
| 170 |
+
mouseY = e.clientY;
|
| 171 |
+
createEmoji(e.clientX, e.clientY); // Tạo emoji khi di chuyển chuột
|
| 172 |
+
});
|
| 173 |
+
|
| 174 |
+
document.addEventListener('click', (e) => {
|
| 175 |
+
createEmoji(e.clientX, e.clientY); // Tạo emoji khi click chuột
|
| 176 |
+
spiderX = e.clientX;
|
| 177 |
+
spiderY = e.clientY;
|
| 178 |
+
});
|
| 179 |
+
|
| 180 |
+
document.addEventListener('touchmove', (e) => {
|
| 181 |
+
const touch = e.touches[0];
|
| 182 |
+
mouseX = touch.clientX;
|
| 183 |
+
mouseY = touch.clientY;
|
| 184 |
+
createEmoji(mouseX, mouseY); // Tạo emoji khi vuốt trên màn hình
|
| 185 |
+
});
|
| 186 |
+
|
| 187 |
+
document.addEventListener('touchstart', (e) => {
|
| 188 |
+
const touch = e.touches[0];
|
| 189 |
+
createEmoji(touch.clientX, touch.clientY); // Tạo emoji khi chạm vào màn hình
|
| 190 |
+
spiderX = touch.clientX;
|
| 191 |
+
spiderY = touch.clientY;
|
| 192 |
+
});
|
| 193 |
+
|
| 194 |
+
// Bỏ qua block autoplay của trình duyệt
|
| 195 |
+
document.addEventListener('click', () => {
|
| 196 |
+
music.play();
|
| 197 |
+
}, { once: true });
|
| 198 |
+
|
| 199 |
+
// Di chuyển nhện lớn (về vị trí cũ nếu không tương tác)
|
| 200 |
+
function moveSpider() {
|
| 201 |
+
const dx = mouseX - spiderX;
|
| 202 |
+
const dy = mouseY - spiderY;
|
| 203 |
+
spiderX += dx * 0.2; // Tăng tốc độ di chuyển của nhện
|
| 204 |
+
spiderY += dy * 0.2;
|
| 205 |
+
spider.style.transform = `translate(${spiderX}px, ${spiderY}px)`;
|
| 206 |
+
|
| 207 |
+
// Nếu không có sự thay đổi lớn trong khoảng thời gian nhất định, nhện sẽ trở về vị trí ban đầu
|
| 208 |
+
if (Math.abs(dx) < 1 && Math.abs(dy) < 1) {
|
| 209 |
+
spiderX = window.innerWidth / 2;
|
| 210 |
+
spiderY = window.innerHeight / 2;
|
| 211 |
+
}
|
| 212 |
+
|
| 213 |
+
requestAnimationFrame(moveSpider);
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
moveSpider();
|
| 217 |
+
</script>
|
| 218 |
+
</body>
|
| 219 |
+
</html>
|
music.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3b21b12c7adfa56ccd6aacaeadee469c70b9d78f95128695cc194cd0f58a2ae
|
| 3 |
+
size 3775988
|
style-1.css
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
body {
|
| 2 |
+
margin: 0;
|
| 3 |
+
padding: 0;
|
| 4 |
+
height: 100vh;
|
| 5 |
+
background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #fbc2eb, #a6c1ee);
|
| 6 |
+
background-size: 400% 400%;
|
| 7 |
+
animation: gradient 15s ease infinite;
|
| 8 |
+
display: flex;
|
| 9 |
+
justify-content: center;
|
| 10 |
+
align-items: center;
|
| 11 |
+
flex-direction: column;
|
| 12 |
+
font-family: 'Segoe UI', sans-serif;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
@keyframes gradient {
|
| 16 |
+
0% {background-position: 0% 50%;}
|
| 17 |
+
50% {background-position: 100% 50%;}
|
| 18 |
+
100% {background-position: 0% 50%;}
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.glow {
|
| 22 |
+
font-size: 4rem;
|
| 23 |
+
color: white;
|
| 24 |
+
text-shadow: 0 0 5px #ff4da6, 0 0 20px #ff4da6, 0 0 40px #ff4da6;
|
| 25 |
+
animation: pulse 2s infinite alternate;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
@keyframes pulse {
|
| 29 |
+
0% { transform: scale(1); }
|
| 30 |
+
100% { transform: scale(1.1); }
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.hearts {
|
| 34 |
+
position: relative;
|
| 35 |
+
margin-top: 30px;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
.heart {
|
| 39 |
+
width: 20px;
|
| 40 |
+
height: 20px;
|
| 41 |
+
background: red;
|
| 42 |
+
position: absolute;
|
| 43 |
+
top: 0;
|
| 44 |
+
left: 50%;
|
| 45 |
+
animation: float 5s infinite ease-in-out;
|
| 46 |
+
clip-path: polygon(50% 0%, 61% 19%, 81% 25%, 70% 45%, 50% 60%, 30% 45%, 19% 25%, 39% 19%);
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.heart:nth-child(2) {
|
| 50 |
+
animation-delay: 1s;
|
| 51 |
+
left: 45%;
|
| 52 |
+
}
|
| 53 |
+
.heart:nth-child(3) {
|
| 54 |
+
animation-delay: 2s;
|
| 55 |
+
left: 55%;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
@keyframes float {
|
| 59 |
+
0% {transform: translateY(0) scale(1);}
|
| 60 |
+
100% {transform: translateY(-300px) scale(1.5); opacity: 0;}
|
| 61 |
+
}
|