From 77f21692cf78ab2d442880606d6fc1bb2f238bcb Mon Sep 17 00:00:00 2001 From: biglyderv Date: Mon, 25 Nov 2024 14:12:44 -0500 Subject: [PATCH] minor fixes --- static/main.css | 15 ++++++++++++--- views/form_bare.ejs | 2 +- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/static/main.css b/static/main.css index 6a4d7a8..a5c81de 100644 --- a/static/main.css +++ b/static/main.css @@ -100,12 +100,12 @@ body { .banner, .banner-background, -.content, -.form { +.content { width: var(--elem-width) } .form { + width: calc(var(--elem-width) - 1rem); grid-template-columns: .51fr 1fr; display: grid } @@ -134,6 +134,15 @@ body { grid-column: span 2; } +@media (max-width: 800px) { + .form { + grid-template-columns: 1fr; + } + .form-button, .form-heading, .form-message { + grid-column: span 1; + } +} + .content { margin-top: 10px; width: calc(var(--elem-width) - 1rem) @@ -209,7 +218,7 @@ body { } .video { - background: var(--dark); + background: var(--black); padding: .5rem; width: 135px; height: 140px; diff --git a/views/form_bare.ejs b/views/form_bare.ejs index 633938a..1976339 100644 --- a/views/form_bare.ejs +++ b/views/form_bare.ejs @@ -7,7 +7,7 @@ - + <% } %> <% for (let elem of data) { %>