Files
powerwatts/static/index.html
T
2026-04-20 10:45:34 +02:00

23 lines
769 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Power Display</title>
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<style>
:root { color-scheme: light dark; }
body { font-family: system-ui, sans-serif; margin: 0; min-height: 100vh; display: grid; place-items: center; background: #0f172a; color: #e2e8f0; }
main { text-align: center; padding: 2rem; }
.value { font-size: clamp(3rem, 12vw, 8rem); font-weight: 800; line-height: 1; }
.unit { margin-top: 0.75rem; font-size: 1.25rem; color: #94a3b8; }
</style>
</head>
<body>
<main>
<div class="value">{{.Watts}}</div>
<div class="unit">watts</div>
</main>
</body>
</html>