feat: style newsletter signup

This commit is contained in:
Tom Vines 2025-08-03 23:45:06 +10:00
parent 31f04ca306
commit 645c7896fb
Signed by: dragonwocky
SSH Key Fingerprint: SHA256:vCxDSu/DvGebbNiQjCVzOuxKmT8ODOzaLx+dTRtawyk

View File

@ -132,7 +132,7 @@
--color-white: #fff; --color-white: #fff;
/* Body */ /* Body */
--color-body: #f7f7f5; --color-body: #f7f7f8;
--color-body-partial: #fff; --color-body-partial: #fff;
/* Border */ /* Border */
@ -1988,14 +1988,14 @@ textarea::placeholder {
margin-right: 2vh; margin-right: 2vh;
margin-bottom: 1.4vh; margin-bottom: 1.4vh;
border-radius: 100px; border-radius: 100px;
background-color: var(--color-twelve); background-color: var(--color-body-partial);
} }
.subscribe-form button { .subscribe-form button {
flex: 1 0 auto; flex: 1 0 auto;
} }
.subscribe-form input { .subscribe-form input:not([hidden]) {
font-size: 1em; font-size: 1em;
display: block; display: block;
flex: 1 1 auto; flex: 1 1 auto;
@ -2005,6 +2005,7 @@ textarea::placeholder {
transition: margin-right .25s ease; transition: margin-right .25s ease;
word-break: normal; word-break: normal;
border-radius: 100px; border-radius: 100px;
background: var(--color-body-partial);
} }
.subscribe-form input:focus { .subscribe-form input:focus {