-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathoffline.html
More file actions
112 lines (97 loc) · 2.57 KB
/
offline.html
File metadata and controls
112 lines (97 loc) · 2.57 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Offline</title>
<style>
* {
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
background-color: #222;
color: #fff;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
max-width: 400px;
width: 90%;
text-align: center;
padding: 40px;
background-color: #333;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
border-radius: 4px;
opacity: 0;
animation: fade-in 1s forwards;
}
@keyframes fade-in {
0% {
opacity: 0;
transform: translateY(-20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
h1 {
font-size: 72px;
font-weight: 700;
color: transparent;
background-image: linear-gradient(to right, #e91e63, #8c14fc);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
margin: 0;
}
h2 {
font-size: 24px;
font-weight: 400;
color: #fff;
margin-top: 10px;
}
p {
font-size: 16px;
color: #ccc;
margin-top: 20px;
}
a {
display: inline-block;
font-size: 16px;
color: #e91e63;
text-decoration: none;
margin-top: 20px;
border-bottom: 1px solid #e91e63;
padding-bottom: 2px;
transition: border-bottom 0.2s;
}
a:hover {
border-bottom-color: #c2185b;
}
@media (max-width: 480px) {
h1 {
font-size: 48px;
}
h2 {
font-size: 20px;
}
p {
font-size: 14px;
}
}
</style>
</head>
<body>
<div class="container">
<h1>Offline</h1>
<h2>Sorry, but you are currently offline.</h2>
<p>Please check your internet connection and click on the retry button. If it doesn't work, try again later.</p>
<a href="/">try again</a>
</div>
</body>
</html>