-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (73 loc) · 1.85 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
<!DOCTYPE html>
<html lang="en">
<head>
<base href="/">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>410 Gone</title>
<style>
body {
margin: 0;
}
.gone-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
color: white;
text-align: center;
font-family: 'Arial';
background-color: #1a237e;
}
.gone-text h1 {
font-size: 15em;
margin: 0;
}
.gone-text p {
font-size: 2em;
margin: 0;
}
.powered-by {
position: fixed;
bottom: 10px;
right: 10px;
font-size: 1em;
opacity: 0.7;
}
@media screen and (max-width: 768px) {
.gone-text h1 {
font-size: 15em;
}
.gone-text p {
font-size: 2em;
}
}
@media screen and (max-width: 480px) {
.gone-text h1 {
font-size: 10em;
}
.gone-text p {
font-size: 1.5em;
}
}
</style>
</head>
<body>
<div class="gone-container">
<div class="gone-text">
<h1>410</h1>
<p>THIS SITE IS GONE</p>
</div>
<div class="powered-by">Powered by nyagone</div>
</div>
<script>
(function () {
const colors = ['#1a237e', '#1e304d', '#0d243d', '#0a1f31', '#1e88e5'];
const randomIndex = Math.floor(Math.random() * colors.length);
const randomColor = colors[randomIndex];
document.querySelector('.gone-container').style.backgroundColor = randomColor;
})();
</script>
</body>
</html>