From b66427456ee661ad555eb0f134c45698ebc65d93 Mon Sep 17 00:00:00 2001 From: Yonatan Miller Date: Sun, 30 Mar 2025 13:49:07 +0200 Subject: [PATCH] Simplify signup form --- _includes/main.scss | 62 +++++++++++++++++++++++++++++++++------------ join.md | 43 +++++++++++++++---------------- 2 files changed, 66 insertions(+), 39 deletions(-) diff --git a/_includes/main.scss b/_includes/main.scss index 403101c..c677d4d 100644 --- a/_includes/main.scss +++ b/_includes/main.scss @@ -451,7 +451,38 @@ h3 { form { border-radius: 4px; - padding: 1rem; + padding: 0 1.5rem 1rem 1.5rem; + margin: auto; + + label { + margin: 0; + width: 100%; + + div, input::placeholder { + padding-top: 1rem; + padding-bottom: 2px; + margin-left: 5px; + } + + input::placeholder { + text-align: center; + } + } + + input, select[name=nearby-chapter] { + &:focus{ + outline: none; + border: 1px solid $red; + } + } + + input, select[name=nearby-chapter], input[type=submit] { + width: 100%; + + &#outreach { + width: 1rem; + } + } } label { @@ -499,13 +530,12 @@ label { } } -input[type="email"], -input[type="text"], -input[type="url"], +input[type=email], +input[type=text], +input[type=url], select { border: 1px solid; border-radius: 4px; - color: $grey; padding: 0.75rem; @include mobile { @@ -514,12 +544,11 @@ select { } } -input[type="submit"], +input[type=submit], .pagination { border-radius: 4px; border: 0; font-weight: 500; - margin-top: 20px; padding: 10px 20px; } @@ -642,7 +671,7 @@ hr { form { background-color: $grey3; } - input[type="submit"] { + input[type=submit] { background: $grey2; color: $white; @@ -650,11 +679,12 @@ hr { background-color: $red; } } - input[type="email"], - input[type="text"], - input[type="url"], + input[type=email], + input[type=text], + input[type=url], select { - border-color: #ccc; + color: $grey; + border-color: $black; } .primaryBg { background-color: $white; @@ -708,7 +738,7 @@ hr { hr { border-bottom: 1px solid $grey; } - input[type="submit"] { + input[type=submit] { background-color: $red; color: $white; @@ -716,9 +746,9 @@ hr { background-color: $grey2; } } - input[type="email"], - input[type="text"], - input[type="url"], + input[type=email], + input[type=text], + input[type=url], select { background: $grey2; border-color: transparent; diff --git a/join.md b/join.md index c4ea48c..b468770 100644 --- a/join.md +++ b/join.md @@ -6,42 +6,39 @@ permalink: /subscribe/ # Join us -Our Slack is governed by the principles and rules in our [Community Guide](/community-guide). By joining, you agree to follow them. +1. Fill out this form to subscribe to our newsletter. +2. If eligible, you will be invited to our Slack. +3. You agree to the [Community Guide](/community-guide) by filling the form. -

Please provide the following:

+

Please provide the following:

-