From 64fc0d2d4db1d4296a56d867ecde587571679020 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Sun, 1 Dec 2024 19:30:57 -0700 Subject: [PATCH] refactor: Make form page conform to new styles --- assets/styles/millironx.css | 26 +++++++ content/contact/_index.html | 135 +++++++++++++----------------------- 2 files changed, 75 insertions(+), 86 deletions(-) diff --git a/assets/styles/millironx.css b/assets/styles/millironx.css index 1e620de..fb47932 100644 --- a/assets/styles/millironx.css +++ b/assets/styles/millironx.css @@ -131,6 +131,28 @@ footer { align-items: center; } +form { + margin: 1rem; +} + +fieldset { + padding: 1rem; +} + +input, +select, +textarea { + width: 100%; + margin-bottom: 0.5rem; +} + +input:invalid, +select:invalid, +textarea:invalid { + border-bottom-width: 2px; + border-bottom-color: var(--ear-tag-red); +} + /* Container-type helper classes */ @@ -330,6 +352,10 @@ footer { display: none; } + main { + width: calc(100% - 10rem); + } + /* Container-type helper classes */ diff --git a/content/contact/_index.html b/content/contact/_index.html index 5c1ca50..79d864c 100644 --- a/content/contact/_index.html +++ b/content/contact/_index.html @@ -17,94 +17,57 @@ fa-thumbnail: file-signature validation: true --- -