forked from dragonworm/dragonworm.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.txt
More file actions
171 lines (152 loc) · 5.32 KB
/
test.txt
File metadata and controls
171 lines (152 loc) · 5.32 KB
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Band Name | Contemporary Art</title>
<style>
body {
margin: 0;
font-family: 'Courier New', monospace;
overflow: hidden;
background: radial-gradient(circle, #ff00ff, #000, #00ffff);
animation: background-shift 5s infinite alternate;
transform: perspective(1000px) rotateX(20deg);
}
@keyframes background-shift {
0% { background-size: 200% 200%; background-position: 0% 0%; }
100% { background-size: 200% 200%; background-position: 100% 100%; }
}
.nav-container {
position: fixed;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: rgba(0, 0, 0, 0.9);
color: #fff;
z-index: 10;
transform: rotateY(180deg) scale(1.5);
transition: all 1s ease;
}
.nav-container.hidden {
transform: rotateY(0deg) scale(1);
}
.nav-menu {
display: flex;
flex-direction: column;
gap: 15px;
}
.nav-item {
padding: 20px;
font-size: 24px;
text-transform: uppercase;
background: linear-gradient(45deg, #fff, #ff00ff);
border: 5px dashed #fff;
color: transparent;
text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.5);
background-clip: text;
cursor: pointer;
transform: rotate(-45deg) skewX(10deg);
transition: transform 0.7s ease, background 0.5s ease, opacity 1s;
opacity: 0.8;
}
.nav-item:hover {
transform: rotate(0deg) skewX(-10deg) scale(1.3);
opacity: 1;
background: linear-gradient(45deg, #00ffff, #ff00ff);
}
.main-content {
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
}
.section {
position: absolute;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: repeating-linear-gradient(45deg, #000, #111 20px, #333 40px);
color: #fff;
font-size: 4vw;
text-transform: uppercase;
z-index: 0;
opacity: 0;
visibility: hidden;
filter: blur(10px);
transition: opacity 2s ease, visibility 2s ease, filter 2s ease;
animation: section-float 4s infinite alternate ease-in-out;
}
@keyframes section-float {
0% { transform: translateY(-10px) rotate(5deg); }
100% { transform: translateY(10px) rotate(-5deg); }
}
.section.visible {
opacity: 1;
visibility: visible;
filter: blur(0);
animation: none;
}
.menu-toggle {
position: absolute;
top: 20px;
left: 20px;
background: linear-gradient(90deg, #fff, #ff00ff);
border: 4px dotted #000;
color: #000;
padding: 15px;
cursor: pointer;
font-size: 20px;
z-index: 20;
text-transform: uppercase;
transform: rotate(-10deg) scale(1.2);
}
.menu-toggle:hover {
background: linear-gradient(90deg, #ff00ff, #00ffff);
transform: rotate(10deg) scale(1.4);
color: #fff;
}
</style>
</head>
<body>
<button class="menu-toggle">Menu</button>
<div class="nav-container hidden">
<div class="nav-menu">
<div class="nav-item" data-section="about">About</div>
<div class="nav-item" data-section="music">Music</div>
<div class="nav-item" data-section="tour">Tour</div>
<div class="nav-item" data-section="contact">Contact</div>
</div>
</div>
<div class="main-content">
<div id="about" class="section visible">The Infinite Echo</div>
<div id="music" class="section">Harmonic Distortion</div>
<div id="tour" class="section">Fractured Journeys</div>
<div id="contact" class="section">Transdimensional Ping</div>
</div>
<script>
const menuToggle = document.querySelector('.menu-toggle');
const navContainer = document.querySelector('.nav-container');
const navItems = document.querySelectorAll('.nav-item');
const sections = document.querySelectorAll('.section');
menuToggle.addEventListener('click', () => {
navContainer.classList.toggle('hidden');
});
navItems.forEach(item => {
item.addEventListener('click', () => {
navContainer.classList.add('hidden');
sections.forEach(section => {
section.classList.remove('visible');
});
const target = document.getElementById(item.dataset.section);
target.classList.add('visible');
});
});
</script>
</body>
</html>