From dd5bd05339aa9bd6595aae60e5f9d099ac91e58e Mon Sep 17 00:00:00 2001 From: Hendrik Hogertz Date: Sat, 14 Feb 2026 10:16:56 +0100 Subject: [PATCH] Kontaktformular --- content/kontakt.md | 22 +++++++++- static/css/custom.css | 98 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 static/css/custom.css diff --git a/content/kontakt.md b/content/kontakt.md index 8dee737..7999389 100644 --- a/content/kontakt.md +++ b/content/kontakt.md @@ -4,4 +4,24 @@ showDate: false showPagination: false --- -Bei jeglichen Fragen oder Anregungen, schreib uns gerne eine Mail an [info@mv-molbergen.de](mailto:info@mv-molbergen.de) + + +
+
+
+
+ +
+
+ +
+
+
+ + + + +
+ +
+
diff --git a/static/css/custom.css b/static/css/custom.css new file mode 100644 index 0000000..fe2f1de --- /dev/null +++ b/static/css/custom.css @@ -0,0 +1,98 @@ +/* Contact Form Styles - Using Blowfish GitHub Color Scheme */ +.contact-form-container { + width: 60vw; + box-sizing: border-box; +} + +.contact-form { + display: flex; + flex-direction: column; + gap: 1rem; +} + +.form-row-two-col { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 1rem; +} + +.form-group { + display: flex; + flex-direction: column; +} + +.form-input, +.form-textarea { + padding: 0.625rem 0.875rem; + font-size: 0.9375rem; + border: 1px solid rgb(var(--color-neutral-300)); + border-radius: 0.375rem; + background-color: rgb(var(--color-neutral)); + color: rgb(var(--color-neutral-800)); + transition: all 0.2s; + font-family: inherit; +} + +.form-input:focus, +.form-textarea:focus { + outline: none; + border-color: rgb(var(--color-primary-500)); + box-shadow: 0 0 0 3px rgba(var(--color-primary-500), 0.1); +} + +.form-input::placeholder, +.form-textarea::placeholder { + color: rgb(var(--color-neutral-400)); +} + +.form-textarea { + min-height: 180px; + resize: vertical; +} + +.submit-button { + padding: 0.625rem 1.25rem; + font-size: 0.9375rem; + font-weight: 500; + color: rgb(var(--color-neutral)); + background-color: rgb(var(--color-neutral-800)); + border: none; + border-radius: 0.375rem; + cursor: pointer; + transition: background-color 0.2s; + width: 100%; + margin-top: 0.25rem; +} + +.submit-button:hover { + background-color: rgb(var(--color-neutral-700)); +} + +/* Dark mode support */ +.dark .form-input, +.dark .form-textarea { + background-color: rgb(var(--color-neutral-800)); + color: rgb(var(--color-neutral-100)); + border-color: rgb(var(--color-neutral-600)); +} + +.dark .form-input:focus, +.dark .form-textarea:focus { + border-color: rgb(var(--color-primary-400)); + box-shadow: 0 0 0 3px rgba(var(--color-primary-400), 0.1); +} + +.dark .submit-button { + background-color: rgb(var(--color-primary-600)); +} + +.dark .submit-button:hover { + background-color: rgb(var(--color-primary-700)); +} + +/* Responsive design */ +@media (max-width: 768px) { + .form-row-two-col { + grid-template-columns: 1fr; + } +}