{{post.Title}}
-{{post.CreatedAt}}
- +{{/each}} {{#if post.tags}} @@ -88,7 +87,9 @@ {{/each}}
@@ -105,7 +106,7 @@
{{/if}} -
diff --git a/static/css/album.css b/static/css/album.css index d20a804..9977ece 100644 --- a/static/css/album.css +++ b/static/css/album.css @@ -2,13 +2,15 @@ h1 { margin: 0; } -p { - margin: 0.5em 0; +main p, h4 { + text-align: center; } -video, -img { +main video, +main img { + margin: 1em 0; max-width: 100%; + max-height: 85vh; } .pfp { diff --git a/static/css/base.css b/static/css/base.css index 623fc0e..a79ea75 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -33,6 +33,8 @@ nav { filter: invert(1) hue-rotate(180deg); } +section, +header, main { margin: 0 24vw; } diff --git a/views/post.hbs b/views/post.hbs index a94d391..187ccb1 100644 --- a/views/post.hbs +++ b/views/post.hbs @@ -20,11 +20,12 @@
{{> partials/header }} -{{post.CreatedAt}}
- +