-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (76 loc) · 2.73 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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A Happy New Year</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap">
<style>
@import url("https://use.typekit.net/ppw7oqu.css");
:root {
--eva-green: #1a8f1a;
--eva-orange: #ff6600;
--eva-red: #ff0000;
}
body {
font-family: "elliotts-venus-dioxide", sans-serif;
font-weight: 400;
font-style: normal;
background: white;
}
.title-text {
position: relative;
color: var(--eva-orange);
text-shadow: 2px 2px 4px rgba(255, 102, 0, 0.3);
animation: glitch 2s infinite;
}
.image-container {
position: relative;
border: 2px solid var(--eva-green);
padding: 4px;
animation: pulse 4s infinite;
box-shadow: 0 0 15px rgba(26, 143, 26, 0.3);
}
.grid-overlay div {
transition: opacity 0.3s;
background: rgba(255, 255, 255, 0.75);
}
.grid-overlay div:hover {
opacity: 0 !important;
}
@keyframes glitch {
0% { transform: skew(0deg); }
20% { transform: skew(-1deg); }
40% { transform: skew(1deg); }
60% { transform: skew(-1deg); }
80% { transform: skew(1deg); }
100% { transform: skew(0deg); }
}
@keyframes pulse {
0% { border-color: var(--eva-green); }
50% { border-color: var(--eva-orange); }
100% { border-color: var(--eva-green); }
}
</style>
</head>
<body class="min-h-screen">
<div class="flex flex-col items-center justify-center min-h-screen p-4">
<h1 class="text-xl mb-4 title-text">A haPPy nEw yEAr</h1>
<div class="relative w-full max-w-2xl image-container">
<img src="happynewyear.jpeg" alt="Collage" class="w-full h-auto object-cover">
<div class="absolute inset-0 flex flex-wrap grid-overlay">
<div class="w-1/3 h-1/3"></div>
<div class="w-1/3 h-1/3"></div>
<div class="w-1/3 h-1/3"></div>
<div class="w-1/3 h-1/3"></div>
<div class="w-1/3 h-1/3"></div>
<div class="w-1/3 h-1/3"></div>
<div class="w-1/3 h-1/3"></div>
<div class="w-1/3 h-1/3"></div>
<div class="w-1/3 h-1/3"></div>
</div>
</div>
</div>
</body>
</html>