-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path404.html
106 lines (105 loc) · 2.24 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>you got 404ed</title>
<style>
@font-face {
font-family: "Jetbrains mono";
src: url("/assets/fonts/JetBrainsMono-Medium.ttf") format("truetype");
font-weight: 500;
}
@font-face {
font-display: swap;
font-family: "Rubik farsi";
font-style: normal;
font-weight: 700;
src: url(/assets/fonts/Rubik-farsi-Bold.ttf) format("truetype");
}
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
--black: #0f0f0f;
--white: #f0f0f0;
user-select: none;
}
html {
font-size: 62.5%;
height: 100dvh;
font-family: "Jetbrains mono";
}
body {
height: 100dvh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 1.4rem;
background-color: var(--black);
color: var(--white);
text-align: center;
padding: 1rem;
}
h1 {
font-size: 4rem;
border-bottom: 1px solid var(--white);
padding-bottom: 0.6rem;
}
p {
font-size: 2.8rem;
text-wrap: balance;
}
a:link,
a:visited {
color: var(--white);
text-decoration: none;
border-bottom: 1px dashed var(--white);
font-size: 3rem;
}
a:hover,
a:focus,
a:active {
border-bottom: 1px solid var(--white);
outline: none;
}
[dir="rtl"] {
font-family: "Rubik farsi";
}
@media (max-width: 21.25em) {
h1 {
font-size: 3rem;
}
p {
font-size: 2.2rem;
}
a {
font-size: 2.4rem !important;
}
}
@media (max-width: 16.875em) {
h1 {
font-size: 2rem;
}
p {
font-size: 1.6rem;
}
a {
font-size: 1.8rem !important;
}
}
</style>
<link rel="icon" href="/assets/img/404.svg" type="image/svg+xml" />
</head>
<body align="center">
<h1>You got 404ed - <span dir="rtl">خطای ۴۰۴</span></h1>
<p>The link you're looking for was not found.</p>
<p dir="rtl" align="center">لینکی که بدنبال آن هستید پیدا نشد.</p>
<a href="javascript:history.back()"
>← Go Back <span dir="rtl">برگرد عقب</span></a
>
</body>
</html>