-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoffline.html
96 lines (87 loc) · 2.4 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#fff" />
<meta
name="theme-color"
content="#111"
media="(prefers-color-scheme: dark)"
/>
<title>How Fugu is my browser?</title>
<base target="_blank" />
<style>
:root {
--main-background-color: #fff;
--main-color: #111;
--table-alternate-color: #eee;
--table-hover-color: #ddd;
--link-color: rgb(0, 0, 238);
--contrast-color: deeppink;
color-scheme: dark light;
}
@media (prefers-color-scheme: dark) {
:root {
--main-background-color: #111;
--main-color: #eee;
--table-alternate-color: #222;
--table-hover-color: #333;
--link-color: rgb(158, 158, 255);
}
}
html,
body {
color: var(--main-color);
background-color: var(--main-background-color);
}
html {
display: flex;
align-items: center;
justify-content: center;
}
body {
width: 60ch;
max-width: 60ch;
font-family: system-ui, sans-serif;
margin-block: 1rem;
}
h1 {
color: var(--contrast-color);
font-size: 1.25rem;
}
a {
color: var(--link-color);
}
code {
color: var(--contrast-color);
font-family: ui-monospace, monospace;
}
</style>
</head>
<body>
<main>
<h1>How Fugu is my browser? (Offline)</h1>
<p>
The cross-company effort
<a href="https://web.dev/fugu-status/">Project Fugu</a> has the
objective of making it possible for Web apps to do
<em>anything</em> iOS, Android, or desktop apps can.
</p>
<p>
We do this by exposing the capabilities of these platforms to the Web,
all while maintaining user security, privacy, trust, and other core
tenets of the Web.
</p>
<p>
Find out <code>when you are back online</code> where on this exciting
journey your current browser is!
</p>
<footer>
Made by
<a href="https://twitter.com/tomayac">@tomayac</a>. Source code on
<a href="https://github.com/tomayac/how-fugu-is-my-browser">GitHub</a>.
</footer>
</main>
</body>
</html>