Skip to content

Commit 6098cd5

Browse files
author
Ian Jones
committed
Updated contact form styling
1 parent cd40c95 commit 6098cd5

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

assets/css/custom.css

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,32 @@
126126

127127
td {
128128
vertical-align: middle !important;
129+
}
130+
131+
132+
/* --- Contact Form Styling --- */
133+
134+
#contact-form {
135+
@apply mt-8 flex flex-col gap-y-6 max-w-2xl;
136+
}
137+
138+
#contact-form label {
139+
@apply block text-sm font-semibold text-neutral-800 dark:text-neutral-200;
140+
}
141+
142+
#contact-form input,
143+
#contact-form textarea {
144+
@apply mt-2 block w-full rounded-lg border border-neutral-300 bg-neutral-50 px-4 py-2
145+
text-neutral-900 focus:border-primary-500 focus:ring-primary-500
146+
dark:border-neutral-700 dark:bg-neutral-800 dark:text-white dark:placeholder-neutral-400;
147+
}
148+
149+
#contact-form button {
150+
@apply w-fit cursor-pointer rounded-lg bg-primary-500 px-6 py-3 font-bold text-white
151+
transition-all hover:bg-primary-600 hover:shadow-lg focus:outline-none focus:ring-2
152+
focus:ring-primary-500 focus:ring-offset-2;
153+
}
154+
155+
#form-status {
156+
@apply mt-4 text-sm font-medium;
129157
}

0 commit comments

Comments
 (0)