From 453bc955b547c33389f23c7922395181bb3d0f02 Mon Sep 17 00:00:00 2001 From: saatvika07 <22wh1a6628@bvrithyderabad.edu.in> Date: Mon, 4 Nov 2024 23:28:23 +0530 Subject: [PATCH 1/3] Updated form page of contactus.html Changes are made according to the existing forms to maintain uniformity. --- contactus.html | 507 +++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 406 insertions(+), 101 deletions(-) diff --git a/contactus.html b/contactus.html index 6759aa0..68d32d8 100644 --- a/contactus.html +++ b/contactus.html @@ -24,10 +24,23 @@ } .container { - max-width: 1200px; - margin: 0 auto; - padding: 20px; + width: 100%; + max-width: 800px; + margin: 2rem auto; + padding: 2rem; + background: linear-gradient(135deg, #ead6ee, #a0f1ea); + border-radius: 10px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } + .container h1 { + text-align: center; + font-size: 2.5rem; + /* Bigger typography */ + font-weight: bold; + margin-bottom: 30px; + color: #ff4d4d; + cursor: default; + } /* Navbar */ nav { @@ -127,7 +140,7 @@ } /* Form Group and Floating Label */ - .form-group { + /*.form-group { position: relative; margin-bottom: 25px; } @@ -159,8 +172,9 @@ transition: 0.3s ease-in-out; pointer-events: none; } - +*/ /* Floating label effect */ + /* .form-group input:focus + label, .form-group textarea:focus + label, .form-group input:not(:placeholder-shown) + label, @@ -175,6 +189,7 @@ } /* Submit Button */ + /* .submit-btn { background-color: #ff8c00; color: #fff; @@ -192,7 +207,7 @@ background-color: #2e3b4e; color: #ff8c00; } - +*/ /* Footer */ /* .footer-container { background-color: #1f2937; @@ -345,28 +360,28 @@ - - Contact Us + + Contact Us - - - Full Name - - - - Email Address - - - - Subject - - + + Your Name: + + + + Email Address: + + + + Subject: + + + + Message: - Your Message - + Send Message - + @@ -375,82 +390,149 @@ Contact Us + + +/* General Footer Styling */ +.footer-container { + background-color: #1f2937; + color: #ffffff; + padding: 40px 0; + font-family: Arial, sans-serif; +} + +/* Logo and Tagline */ +.footer-logo-section { + text-align: center; + margin-bottom: 30px; +} +.footer-logo { + max-width: 150px; + margin-bottom: 10px; + border-radius: 50px; +} +.footer-logo-section p { + margin: 5px 0; + font-size: 0.95rem; +} +.follow-us { + margin-top: 10px; + font-weight: bold; +} + +/* Social Media Icons */ +.social-icons a { + display: inline-block; + margin: 0 10px; + color: #12e9cc; + font-size: 1.5rem; + text-decoration: none; +} +.social-icons a:hover { + color: #76b2ab; +} - - +/* Footer Link Sections */ +.footer-links { + display: flex; + justify-content: space-around; + flex-wrap: wrap; + margin: 20px 100px; +} +.footer-column { + flex-basis: 20%; + margin-bottom: 10px; +} +.footer-column h4 { + font-size: 1rem; + margin-bottom: 10px; + color: #12e9cc; +} +.footer-column ul { + list-style: none; + padding: 0; +} +.footer-column ul li { + margin-bottom: 8px; +} +.footer-column ul li a { + color: #ffffff; + text-decoration: none; + font-size: 0.95rem; +} +.footer-column ul li a:hover { + text-decoration: underline; +} + +/* Footer Bottom Links */ +.footer-bottom { + text-align: center; + border-top: 1px solid #ddd; + padding-top: 20px; +} +.footer-bottom ul { + list-style: none; + padding: 0; + margin: 0; +} +.footer-bottom ul li { + display: inline-block; + margin: 0 15px; +} +.footer-bottom ul li a { + color: #12e9cc; + text-decoration: none; + font-size: 0.95rem; +} +.footer-bottom ul li a:hover { + text-decoration: underline; +} + +/* Responsive Adjustments */ +@media (max-width: 768px) { + .footer-links { + flex-direction: column; + align-items: center; + } + .footer-column { + flex-basis: 100%; + text-align: center; + } +} + +/* Footer Bottom Links */ +.footer-bottom { + text-align: center; + border-top: 1px solid #ddd; + padding-top: 20px; +} +.footer-bottom ul { + list-style: none; + padding: 0; + margin: 0; +} +.footer-bottom ul li { + display: inline-block; + margin: 0 15px; +} +.footer-bottom ul li a { + color: #12e9cc; + text-decoration: none; + font-size: 0.95rem; +} +.footer-bottom ul li a:hover { + text-decoration: underline; +} + +/* Responsive Adjustments */ +@media (max-width: 768px) { + .footer-links { + flex-direction: column; + align-items: center; + } + .footer-column { + flex-basis: 100%; + text-align: center; + } +} + From 77831ec6aaf7854d8fdef98c30a984f984d743ea Mon Sep 17 00:00:00 2001 From: saatvika07 <22wh1a6628@bvrithyderabad.edu.in> Date: Mon, 4 Nov 2024 23:36:56 +0530 Subject: [PATCH 2/3] updated form of contact us page updated form of contact us page to maintain uniformity. --- contactus.html | 87 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 85 insertions(+), 2 deletions(-) diff --git a/contactus.html b/contactus.html index 68d32d8..cdac1f9 100644 --- a/contactus.html +++ b/contactus.html @@ -138,6 +138,89 @@ text-align: center; font-weight: bold; } + /*new form form-cont css*/ + .form-cont { + display: flex; + width: 100%; + align-items: center; + text-align: left; + } + .form-cont textarea { + width: 100%; + padding: 16px 12px; + font-size: 16px; + color: #3a506b; + background: #e6f0fa; + border: 1px solid #b3c7d6; + border-radius: 5px; + outline: none; + transition: 0.3s border-color ease-in-out; + } + form label { + font-weight: 600; + color: #333; + width: 100%; + } + + form input, + form select { + width: 100%; + align-self: center; + + border: 1px solid #ccc; + border-radius: 0px; + border: none; + border-bottom: 2px solid #ccc; + font-size: 1rem; + background-color: transparent; + transition: all 0.3s ease-in-out; + } + + form input[type="text"]:focus, + form input[type="date"]:focus, + form input[type="time"]:focus, + form input[type="email"]:focus, + form select:focus { + outline: none; + background-color: transparent; + border-bottom: 2px solid #ff4d4d; + /* White bottom border on focus */ + } + + form .btn { + background-color: #ff4d4d; + border: 2px solid #ff4d4d; + color: white; + display: flex; + justify-content: center; + align-items: center; + font-weight: bold; + padding: 25px; + width: 100%; + border-radius: 4px; + cursor: pointer; + font-size: 1.25rem; + margin-top: 30px; + } + + + form .btn:hover { + background-color: transparent; + color: #ff4d4d; + } + /* Floating label effect */ + .form-group input:focus + label, + .form-group textarea:focus + label, + .form-group input:not(:placeholder-shown) + label, + .form-group textarea:not(:placeholder-shown) + label { + top: -8px; + left: 8px; + font-size: 12px; + background-color: #f0f4f8; + color: #5c91ad; + padding: 0 5px; + border-radius: 3px; + } /* Form Group and Floating Label */ /*.form-group { @@ -379,7 +462,7 @@ Contact Us Message: - Send Message + Send Message @@ -977,7 +1060,7 @@ FIND US - + Scroll to Top Button --> ↑ From de96e977a6fc7c95d2dd46bd2bf5cab5dfabf71c Mon Sep 17 00:00:00 2001 From: saatvika07 <22wh1a6628@bvrithyderabad.edu.in> Date: Mon, 4 Nov 2024 23:41:17 +0530 Subject: [PATCH 3/3] updated contact form updated contact form to maintain uniformity --- contactus.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/contactus.html b/contactus.html index cdac1f9..635b8f8 100644 --- a/contactus.html +++ b/contactus.html @@ -138,7 +138,8 @@ text-align: center; font-weight: bold; } - /*new form form-cont css*/ + + /*new form-cont css*/ .form-cont { display: flex; width: 100%; @@ -462,7 +463,7 @@ Contact Us Message: - Send Message + Submit Ticket @@ -1060,7 +1061,7 @@ FIND US - Scroll to Top Button --> + ↑