-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
199 lines (167 loc) · 5.51 KB
/
404.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
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
<!-- Two changes in URL
See the Extra Idented & spaced places to change URL-->
<html>
<head>
<meta http-equiv="refresh" content="11; url =
<!-- url of github page -->
https://iiith-resources.github.io/Computer_Programming/ "
/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Bhav Beri" />
<script src="https://kit.fontawesome.com/aac771de81.js" crossorigin="anonymous"></script>
<title> ~ 404 ~ </title>
</head>
<body>
<style>
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@800&family=Roboto:wght@100;300&display=swap");
:root {
--button: #b3b3b3;
--button-color: #0a0a0a;
--shadow: #000;
--bg: #737373;
--header: #7a7a7a;
--color: #fafafa;
--lit-header: #e6e6e9;
--speed: 2.4s;
}
* {
box-sizing: border-box;
transform-style: preserve-3d;
}
@property --swing-x {
initial-value: 0;
inherits: false;
syntax: '<integer>';
}
@property --swing-y {
initial-value: 0;
inherits: false;
syntax: '<integer>';
}
body {
min-height: 100vh;
display: flex;
font-family: 'Roboto', sans-serif;
flex-direction: column;
align-items: center;
justify-content: center;
background: var(--bg);
color: var(--color);
perspective: 1200px;
}
a {
text-transform: uppercase;
text-decoration: none;
background: var(--button);
color: var(--button-color);
padding: 1rem 4rem;
border-radius: 4rem;
font-size: 0.875rem;
letter-spacing: 0.05rem;
}
p {
font-weight: 250;
color: blanchedalmond;
}
h1 {
-webkit-animation: swing var(--speed) infinite alternate ease-in-out;
animation: swing var(--speed) infinite alternate ease-in-out;
font-size: clamp(5rem, 40vmin, 20rem);
font-family: 'Open Sans', sans-serif;
margin: 0;
margin-bottom: 1rem;
letter-spacing: 1rem;
transform: translate3d(0, 0, 0vmin);
--x: calc(50% + (var(--swing-x) * 0.5) * 1%);
background: radial-gradient(var(--lit-header), var(--header) 45%) var(--x) 100%/200% 200%;
-webkit-background-clip: text;
color: transparent;
}
h1:after {
-webkit-animation: swing var(--speed) infinite alternate ease-in-out;
animation: swing var(--speed) infinite alternate ease-in-out;
content: "404";
position: absolute;
top: 0;
left: 0;
color: var(--shadow);
filter: blur(1.5vmin);
transform: scale(1.05) translate3d(0, 12%, -10vmin) translate(calc((var(--swing-x, 0) * 0.05) * 1%), calc((var(--swing-y) * 0.05) * 1%));
}
.cloak {
animation: swing var(--speed) infinite alternate-reverse ease-in-out;
height: 100%;
width: 100%;
transform-origin: 50% 30%;
transform: rotate(calc(var(--swing-x) * -0.25deg));
background: radial-gradient(40% 40% at 50% 42%, transparent, #000 35%);
}
.cloak__wrapper {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
overflow: hidden;
}
.cloak__container {
height: 250vmax;
width: 250vmax;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.info {
text-align: center;
line-height: 1.5;
max-width: clamp(16rem, 90vmin, 25rem);
}
.info>p {
margin-bottom: 3rem;
}
@-webkit-keyframes swing {
0% {
--swing-x: -120;
--swing-y: -120;
}
50% {
--swing-y: 0;
}
100% {
--swing-y: -120;
--swing-x: 120;
}
}
@keyframes swing {
0% {
--swing-x: -120;
--swing-y: -120;
}
50% {
--swing-y: 0;
}
100% {
--swing-y: -120;
--swing-x: 120;
}
}
</style>
<h1>404</h1>
<div class="cloak__wrapper">
<div class="cloak__container">
<div class="cloak"></div>
</div>
</div>
<div class="info">
<h2>Sorry ! We can't find that page</h2>
<p>We're fairly sure that page used to be here, but seems to have gone missing. We do apologise on its behalf.</p>
<p>Fasten your Seatbelts to be automatically redirected to the Home Page in 10s;
OR Click Below.</p>
<a
<!-- url of github page -->
href="https://iiith-resources.github.io/Digital_System-Microcontrollers/"
target="_self" rel="noreferrer noopener">Home</a>
</div>
</body>
</html>