| 1 |
<!DOCTYPE html> |
| 2 |
<html lang="en"> |
| 3 |
<head> |
| 4 |
<meta charset="UTF-8"> |
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 |
<title>Page Not Found - makenot.work</title> |
| 7 |
<style> |
| 8 |
|
| 9 |
These two pages are rendered BY the app (Caddy proxies its own 404 |
| 10 |
and 500 to /__errors/, see deploy/Caddyfile), so /static resolves |
| 11 |
and the house faces are one origin away. A page shown when |
| 12 |
something has already gone wrong is the last page that should be |
| 13 |
blocking on somebody else's CDN, and it leaked a visitor's IP to |
| 14 |
one for the sake of a font. |
| 15 |
@font-face { |
| 16 |
font-family: "Quasi Body"; |
| 17 |
src: url("/static/fonts/QuasiBody.woff2") format("woff2"); |
| 18 |
font-weight: 200 800; |
| 19 |
font-display: swap; |
| 20 |
} |
| 21 |
@font-face { |
| 22 |
font-family: "Quasi Mono"; |
| 23 |
src: url("/static/fonts/QuasiMono.woff2") format("woff2"); |
| 24 |
font-weight: 200 800; |
| 25 |
font-display: swap; |
| 26 |
} |
| 27 |
@font-face { |
| 28 |
font-family: "Young Serif"; |
| 29 |
src: url("/static/fonts/ysrf.woff2") format("woff2"); |
| 30 |
font-display: swap; |
| 31 |
} |
| 32 |
</style> |
| 33 |
<style> |
| 34 |
* { margin: 0; padding: 0; box-sizing: border-box; } |
| 35 |
body { |
| 36 |
min-height: 100vh; |
| 37 |
display: flex; |
| 38 |
flex-direction: column; |
| 39 |
align-items: center; |
| 40 |
justify-content: center; |
| 41 |
padding: 2rem; |
| 42 |
background: #ede8e1; |
| 43 |
color: #3d3530; |
| 44 |
font-family: "Quasi Body", sans-serif; |
| 45 |
} |
| 46 |
.wordmark { |
| 47 |
position: absolute; |
| 48 |
top: 2rem; |
| 49 |
left: 2rem; |
| 50 |
font-family: "Young Serif", Georgia, "Times New Roman", serif; |
| 51 |
font-size: 1.25rem; |
| 52 |
color: #3d3530; |
| 53 |
text-decoration: none; |
| 54 |
} |
| 55 |
.wordmark .dot { color: #6c5ce7; } |
| 56 |
.container { text-align: center; max-width: 500px; } |
| 57 |
.code { |
| 58 |
font-size: 8rem; |
| 59 |
font-weight: 400; |
| 60 |
line-height: 1; |
| 61 |
margin-bottom: 1rem; |
| 62 |
font-family: "Young Serif", Georgia, "Times New Roman", serif; |
| 63 |
color: #3d3530; |
| 64 |
} |
| 65 |
.title { |
| 66 |
font-size: 1.25rem; |
| 67 |
font-family: "Quasi Mono", monospace; |
| 68 |
color: #8a8480; |
| 69 |
margin-bottom: 1.5rem; |
| 70 |
} |
| 71 |
.message { |
| 72 |
color: #8a8480; |
| 73 |
margin-bottom: 2rem; |
| 74 |
line-height: 1.6; |
| 75 |
} |
| 76 |
a.btn { |
| 77 |
display: inline-block; |
| 78 |
padding: 0.75rem 1.5rem; |
| 79 |
background: #3d3530; |
| 80 |
color: #ede8e1; |
| 81 |
text-decoration: none; |
| 82 |
border-radius: 6px; |
| 83 |
font-weight: 500; |
| 84 |
transition: opacity 0.2s; |
| 85 |
} |
| 86 |
a.btn:hover { opacity: 0.85; } |
| 87 |
</style> |
| 88 |
</head> |
| 89 |
<body> |
| 90 |
<a href="/" class="wordmark">Makenot<span class="dot">.</span>work</a> |
| 91 |
<div class="container"> |
| 92 |
<div class="code">404</div> |
| 93 |
<div class="title">Page not found</div> |
| 94 |
<p class="message">The page you're looking for doesn't exist or has been moved.</p> |
| 95 |
<a href="/" class="btn">Go Home</a> |
| 96 |
</div> |
| 97 |
</body> |
| 98 |
</html> |
| 99 |
|