-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (35 loc) · 1.22 KB
/
index.html
File metadata and controls
35 lines (35 loc) · 1.22 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>uhttps — it works</title>
<style>
:root { --fg:#222; --muted:#666; --bg:#fafafa; }
html,body { height:100%; margin:0; }
body {
display:grid; place-items:center; background:var(--bg);
font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,"Helvetica Neue",Arial,sans-serif;
color:var(--fg);
}
.card {
padding:2.5rem 3rem; border-radius:16px; background:white;
box-shadow:0 10px 25px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
text-align:center;
}
h1 { margin:0 0 .25rem; font-size:1.75rem; }
p { margin:.25rem 0; color:var(--muted); }
code { background:#f2f2f2; padding:.15rem .35rem; border-radius:6px; }
</style>
</head>
<body>
<main class="card">
<h1>Congratulations:<br>uhttps is working !</h1>
<p>Served via <code id="proto">http(s)</code> on <code id="host">host</code></p>
</main>
<script>
document.getElementById('proto').textContent = location.protocol.replace(':','').toUpperCase();
document.getElementById('host').textContent = location.host;
</script>
</body>
</html>