diff options
| -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 }} |
