-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathoffline.html
120 lines (111 loc) · 3.04 KB
/
offline.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
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hypercritical - offline</title>
<link id="browser_favicon" rel="icon" href="hypercritical-main-logo.png" />
</head>
<main class="site-offline" data-router-wrapper="">
<div class="logo">
<h1 class="header-logo">Hypercritical</h1>
</div>
<div data-router-view="defaultRouter" class="page-default">
<div class="typeset">
<p>
You're offline. <br />Please check your internet connection and
try again.
</p>
<a
href="/"
onclick="location.reload();"
arias-label="reload"
class="button"
>Try Again</a
>
</div>
</div>
</main>
<style>
@font-face {
font-family: "SpaceGrotesk";
src: url("SpaceGrotesk.woff") format("woff");
font-weight: normal;
font-style: normal;
}
.site-offline {
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
height: 100vh;
}
@media (max-width: 768px) {
}
.logo {
display: flex;
/* max-width: 238px; */
}
.header-logo {
font-size: 6vw;
font-family: "SpaceGrotesk", sans-serif;
}
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: 400;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
padding: 0;
margin: 0;
background-color: #f2f5f7;
height: 100%;
}
.typeset {
text-align: center;
max-width: 560px;
padding: 0 5%;
margin: 0 auto;
}
@media (max-width: 768px) {
.typeset > p {
font-size: 36px !important;
line-height: 36px !important;
}
.typeset {
text-align: left;
max-width: 560px;
padding: 0 5% !important;
margin: 0 2rem;
}
.header-logo {
font-size: 2rem !important;
}
}
.typeset > p {
font-size: 1.7rem;
line-height: 42px;
letter-spacing: -1px;
color: #000;
margin-bottom: 45px;
text-align: left;
}
.typeset .button {
display: inline-block;
padding: 15px 30px;
font-family: "NeueMontreal", Arial, Arial, Helvetica, sans-serif;
font-weight: 500;
font-size: 20px;
line-height: 1.4285714286;
letter-spacing: 0.2px;
text-decoration: none;
text-align: center;
border-radius: 15px;
transition:
border 333ms cubic-bezier(0.17, 0, 0.25, 1),
background-color 333ms cubic-bezier(0.17, 0, 0.25, 1),
color 333ms cubic-bezier(0.17, 0, 0.25, 1),
fill 333ms cubic-bezier(0.17, 0, 0.25, 1);
color: black;
text-decoration: underline;
}
</style>