-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror404.html
164 lines (143 loc) · 3.29 KB
/
error404.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>error</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
*::selection {
background-color: transparent;
}
*::-moz-selection {
background: transparent;
}
* {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
* {
-webkit-tap-highlight-color: transparent;
}
html {
font-size: 62.5%;
scroll-behavior: smooth;
}
body{
background-color: rgb(8, 8, 8);
height: 100%;
width: 100%;
}
.maincontainer{
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
height: 100%;
width: 100%;
background-color: rgb(8, 8, 8);
color: white;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50% ,-50%);
}
.error404{
font-size: 8rem;
font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
color: red;
}
.error{
font-size: 3rem;
font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
}
.gotohomepage{
font-size: 2rem;
font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
}
.backbutton{
margin-top: 4rem;
height: 15rem;
width: 15rem;
border: 2px solid white;
background-color: transparent;
border-radius: 50%;
color: white;
font-size: 7rem;
font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 0;
box-shadow: 1px 1px 10px white;
}
.backspan{
font-size: 2rem;
margin-bottom: 26px;
}
.backbutton:hover{
box-shadow: 1px 1px 10px white, 1px 1px 20px white,1px 1px 30px white,1px 1px 40px white;
}
.backbutton-a{
text-decoration: none;
}
/* responsive code below*/
@media screen and (max-width:1920px) {
html {
font-size: 60%;
}
}
@media screen and (max-width:1200px) {
html {
font-size: 65%;
}
}
@media screen and (max-width:998px) {
html {
font-size: 55%;
}
}
@media screen and (max-width:768px) {
html {
font-size: 50%;
}
}
@media screen and (max-width:500px) {
html {
font-size: 45%;
}
}
@media screen and (max-width:380px) {
html {
font-size: 40%;
}
}
@media screen and (max-width:375px) {
html {
font-size: 40%;
}
}
/* responsive code above */
</style>
</head>
<body>
<div class="maincontainer">
<div class="error">ERROR</div>
<div class="error404"><span>404</span></div>
<div class="gotohomepage"><span>Look Like You Are Lost. Head Back To Homepage</span></div>
<a href="index.html" class="backbutton-a"><button class="backbutton">←<span class="backspan">Back</span></button></a>
</div>
</body>
</html>