From 9dc01d4007e6e991a064b935454e61e0b3f0e4e5 Mon Sep 17 00:00:00 2001 From: Fathima Sharin Date: Fri, 22 Nov 2024 10:43:15 +0530 Subject: [PATCH 1/2] Edited Contact Form --- css/style.css | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/css/style.css b/css/style.css index b515e97c..28f2f97f 100644 --- a/css/style.css +++ b/css/style.css @@ -689,11 +689,12 @@ p.comment-form-author { .contact-form input[type="text"] { padding:15px; width:95%; - color:#999; + color:#fff; font-size:1em; border:none; + border-radius: 20px; -webkit-appearance:none; - background:#fff; + background: linear-gradient(to right, #71B280, #134E5E); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ outline: none; display: block; font-family: 'Open Sans', sans-serif; @@ -702,10 +703,11 @@ p.comment-form-author { padding:10px; display: block; width:95%; - background:#fff; + background: linear-gradient(to right, #71B280, #134E5E); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ border:none; + border-radius: 20px; outline: none; - color:#999; + color:#fff; font-size:1em; -webkit-appearance: none; resize: none; @@ -715,7 +717,7 @@ p.comment-form-author { .contact-form input[type="submit"]{ padding: 0.6em 2em; text-decoration: none; - border: 2px solid #1E494C; + border: none; margin-top: 1em; display: inline-block; font-family: 'Open Sans', sans-serif; @@ -731,15 +733,15 @@ p.comment-form-author { border-radius: 0.4em; -moz-border-radius: 0.4em; -o-border-radius: 0.4em; - background: #ffffff; + background: linear-gradient(to right, #71B280, #134E5E); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ font-weight: 700; width:37%; outline: none; } .contact-form input[type="submit"]:hover{ - background: none; - border: 2px solid #fff; - color:#fff; + background: #fff; + border: none; + color:#888; } /*******footer***/ .footer { From c37c4706fff622292efd51acbb7145f26007ed6b Mon Sep 17 00:00:00 2001 From: Fathima Sharin Date: Fri, 22 Nov 2024 10:47:29 +0530 Subject: [PATCH 2/2] Changed Submit Button --- css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/style.css b/css/style.css index 28f2f97f..cac7f003 100644 --- a/css/style.css +++ b/css/style.css @@ -721,7 +721,7 @@ p.comment-form-author { margin-top: 1em; display: inline-block; font-family: 'Open Sans', sans-serif; - color: #1E494C; + color: #fff; font-size: 1.5em; text-transform:uppercase; text-align: center;