-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcopyright.html
More file actions
257 lines (231 loc) · 8.51 KB
/
copyright.html
File metadata and controls
257 lines (231 loc) · 8.51 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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Webxos - Copyright page with Matrix-themed design">
<title>webXOS - Copyright</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');
:root {
--matrix-green: #00ff00;
--matrix-dark: #000000;
}
body {
font-family: 'Roboto Mono', monospace;
background-color: var(--matrix-dark);
color: var(--matrix-green);
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
}
.copyright-container {
background: rgba(0, 0, 0, 0.7);
border-radius: 0;
padding: 20px;
box-shadow: 0 0 20px var(--matrix-green);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
width: 90%;
max-width: 800px;
transition: transform 0.3s ease;
text-shadow: 0 0 10px var(--matrix-green);
position: relative;
touch-action: manipulation;
cursor: pointer; /* Indicate clickability */
}
h1 {
color: var(--matrix-green);
text-align: center;
font-size: 2em;
margin-bottom: 20px;
text-shadow: 0 0 20px var(--matrix-green);
}
p, ul {
line-height: 1.6;
font-size: 1em;
}
.highlight {
color: var(--matrix-green);
font-weight: bold;
text-shadow: 0 0 10px var(--matrix-green), 0 0 5px var(--matrix-green);
}
ul {
padding-left: 20px;
}
@media (max-width: 768px) {
body {
font-size: 16px;
}
.copyright-container {
padding: 15px;
}
h1 {
font-size: 1.5em;
}
}
.copyright-container:hover {
transform: scale(1.02);
}
.skip-link {
position: absolute;
top: -40px;
left: 0;
background: var(--matrix-dark);
color: var(--matrix-green);
padding: 8px;
z-index: 100;
}
.skip-link:focus {
top: 0;
}
.disclaimer {
margin-top: 20px;
font-size: 0.9em;
color: var(--matrix-green);
}
.disclaimer p {
line-height: 1.4;
}
/* Styles for the dissolving effect */
.char {
display: inline-block;
position: relative;
transition: all 0.1s ease;
}
.dissolving {
animation: dissolve 1.8s ease-out forwards;
color: var(--matrix-green);
}
.rebuilding {
animation: rebuild 1.2s ease-in forwards;
}
@keyframes dissolve {
0% {
transform: translate(0, 0);
opacity: 1;
}
50% {
transform: translate(0, -15px);
opacity: 0.7;
}
100% {
transform: translate(calc((50 - 100 * var(--rand-x)) * 1px), calc((50 - 100 * var(--rand-y)) * 1px));
opacity: 0;
}
}
@keyframes rebuild {
0% {
transform: translate(calc((50 - 100 * var(--rand-x)) * 1px), calc((50 - 100 * var(--rand-y)) * 1px));
opacity: 0;
}
100% {
transform: translate(0, 0);
opacity: 1;
}
}
</style>
</head>
<body>
<a href="#main-content" class="skip-link">Skip to main content</a>
<div class="copyright-container" id="main-content">
<h1>Webxos - Copyright Information</h1>
<p>© 2025 webXOS Research and Development. All rights reserved.</p>
<div class="disclaimer">
<p><strong>Disclaimer:</strong> OPEN SOURCED UNDER MIT LICENSE. All script ideas, concepts, and implementations featured on this site are the intellectual property of <span class="highlight">WEBXOS</span>. Unauthorized use, reproduction, or distribution of any script idea or related content is strictly prohibited. By accessing this website, you agree to respect and adhere to these copyright laws.</p>
</div>
</div>
<script>
const container = document.querySelector('.copyright-container');
const textElements = container.querySelectorAll('h1, p, span');
let isDissolved = false;
let originalContents = [];
// Store original content without modifying the DOM initially
textElements.forEach(element => {
originalContents.push({
element,
originalText: element.textContent
});
});
// Wrap text in spans for animation
const wrapChars = () => {
textElements.forEach((element, idx) => {
const chars = originalContents[idx].originalText.split('');
element.innerHTML = chars
.map(char => `<span class="char">${char}</span>`)
.join('');
});
};
// Random digit generator
const getRandomDigit = () => String.fromCharCode(48 + Math.floor(Math.random() * 10));
// Random direction for scattering
const getRandomDirection = () => Math.random();
// Dissolve effect
const dissolveText = () => {
if (!isDissolved) {
wrapChars(); // Wrap characters in spans only when dissolving
const chars = container.querySelectorAll('.char');
let index = 0;
const interval = setInterval(() => {
if (index >= chars.length) {
clearInterval(interval);
isDissolved = true;
return;
}
const char = chars[index];
char.textContent = getRandomDigit();
char.classList.add('dissolving');
char.style.setProperty('--rand-x', getRandomDirection());
char.style.setProperty('--rand-y', getRandomDirection());
index++;
}, 15); // Smooth, slightly faster for a polished feel
}
};
// Rebuild effect
const rebuildText = () => {
if (isDissolved) {
const chars = container.querySelectorAll('.char');
chars.forEach((char, index) => {
const parent = char.parentElement;
const originalIdx = Array.from(textElements).indexOf(parent);
const originalText = originalContents[originalIdx].originalText;
char.textContent = originalText[index] || '';
char.classList.remove('dissolving');
char.classList.add('rebuilding');
char.style.setProperty('--rand-x', getRandomDirection());
char.style.setProperty('--rand-y', getRandomDirection());
setTimeout(() => {
char.classList.remove('rebuilding');
}, 1200); // Match rebuild animation duration
});
// After rebuilding, restore original text to remove spans
setTimeout(() => {
originalContents.forEach(({ element, originalText }) => {
element.textContent = originalText;
});
isDissolved = false;
}, 1200);
}
};
// Toggle between dissolve and rebuild on click/tap
const handleInteraction = (e) => {
e.preventDefault(); // Prevent default behaviors
if (!isDissolved) {
dissolveText();
} else {
rebuildText();
}
};
// Add event listeners for click (desktop) and tap (mobile)
container.addEventListener('click', handleInteraction);
container.addEventListener('touchstart', (e) => {
e.preventDefault(); // Prevent default touch behaviors
handleInteraction(e);
});
</script>
</body>
</html>