From 3b246c066f00a8820231d25519109e77d35edd23 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 14 May 2026 17:39:59 -0500 Subject: dont use whole page width on pages --- static/style.css | 9 +++++++++ templates/index.html | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index d9e461f..6159f5c 100644 --- a/static/style.css +++ b/static/style.css @@ -11,6 +11,11 @@ body, pre { font-family: "Roboto", sans-serif; } +#index { + max-width: 800px; + margin: auto; +} + #player { display: block; width: 100vw; @@ -38,6 +43,10 @@ button { padding: 0 1rem; } +#comments { + max-width: 1000px; +} + .replies { margin-left: 2rem; } diff --git a/templates/index.html b/templates/index.html index c4ade88..0d64803 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,3 +1,5 @@ {{ define "content" }} - {{ .Content }} +
+ {{ .Content }} +
{{ end }} -- cgit v1.2.3