From 6f01a9da9c8ec458e7111baa22741f7bf4b63aa8 Mon Sep 17 00:00:00 2001 From: Helldragon67 Date: Sat, 19 Oct 2024 13:20:20 +0800 Subject: [PATCH] background change --- assets/css/contact.css | 63 ---------------------------- package.json | 2 +- partials/components/contact-page.hbs | 35 ---------------- 3 files changed, 1 insertion(+), 99 deletions(-) delete mode 100644 assets/css/contact.css delete mode 100644 partials/components/contact-page.hbs diff --git a/assets/css/contact.css b/assets/css/contact.css deleted file mode 100644 index a0ee7cb..0000000 --- a/assets/css/contact.css +++ /dev/null @@ -1,63 +0,0 @@ - .contact-form { - background: linear-gradient(to bottom right, #F9B208, #E72E77); /* Gradient background */ - padding: 30px; - border-radius: 16px; - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); - max-width: 500px; - width: 100%; - text-align: left; - } - .form-row { - display: flex; - gap: 15px; - margin-bottom: 20px; - } - .form-field { - flex: 1; - } - .form-field label { - display: block; - margin-bottom: 8px; - font-weight: bold; - color: black; - } - .form-field input, - .form-field textarea { - width: 100%; - padding: 12px; - border: 2px solid #ddd; - border-radius: 8px; - font-size: 15px; - background-color: white; /* Field background */ - color: black; /* Text color */ - transition: border-color 0.3s; - } - .form-field input:focus, - .form-field textarea:focus { - outline: none; - border-color: #E72E77; /* Pink focus */ - } - .form-field textarea { - height: 120px; - } - .submit-button { - display: block; - width: 100%; - padding: 12px; - background-color: #28a745; /* Green button color */ - color: white; - border: none; - border-radius: 8px; /* Rounded corners */ - font-size: 16px; - font-weight: bold; /* Bold text */ - text-transform: uppercase; /* Full caps */ - cursor: pointer; - transition: background-color 0.3s; - } - .submit-button:disabled { - background-color: #ddd; - cursor: not-allowed; - } - .submit-button:hover:not(:disabled) { - background-color: #218838; /* Darker green on hover */ - } diff --git a/package.json b/package.json index 8c4a5de..171a4c7 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ }, "site_background_color": { "type": "color", - "default": "#ffffff" + "default": "linear-gradient(to bottom right, #F9B208, #E72E77)" }, "header_and_footer_color": { "type": "select", diff --git a/partials/components/contact-page.hbs b/partials/components/contact-page.hbs deleted file mode 100644 index c0b7516..0000000 --- a/partials/components/contact-page.hbs +++ /dev/null @@ -1,35 +0,0 @@ - - -{{#is "page" url="https://anydev.info/contact/"}} - -
-
-
-
- - -
-
- - -
-
-
- - -
- -
-
- - - -{{/is}} \ No newline at end of file