Skip to content
0.2.0-dev Download ZIP
44 lines ·1.1 KB Raw
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width, initial-scale=1">
7 <meta name="theme-color" content="#202531">
8 <meta name="msapplication-navbutton-color" content="#202531">
9 <title>You are offline</title>
10 <style>
11html {
12 background-color: #333b4f;
13 color: #e0e0e0;
14}
15
16body {
17 font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
18 margin: 2rem;
19}
20
21p {
22 margin-block: 1rem;
23}
24
25button {
26 display: block;
27 padding: 1rem 2rem;
28 margin: 3rem auto 0;
29}
30 </style>
31 </head>
32 <body>
33 <h1>You are offline</h1>
34 <p>This application requires an Internet connection to run for the first time.</p>
35 <p>Press the button below to try reloading:</p>
36 <button type="button">Reload</button>
37
38 <script>
39document.querySelector('button').addEventListener('click', () => {
40 window.location.reload();
41});
42 </script>
43 </body>
44</html>