diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-05-14 17:39:59 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-05-14 17:39:59 -0500 |
| commit | 3b246c066f00a8820231d25519109e77d35edd23 (patch) | |
| tree | 3109072d302cb0a2a93dc35cb829973db1aacf17 | |
| parent | 2601d06e398143b9e4a54ef6c4003e8c99c84f97 (diff) | |
| download | embedtube-3b246c066f00a8820231d25519109e77d35edd23.tar.xz embedtube-3b246c066f00a8820231d25519109e77d35edd23.zip | |
dont use whole page width on pages
| -rw-r--r-- | static/style.css | 9 | ||||
| -rw-r--r-- | templates/index.html | 4 |
2 files changed, 12 insertions, 1 deletions
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 }} + <div id="index"> + {{ .Content }} + </div> {{ end }} |
