From 3064046a9b82947434be667f1ebbe8b20812f1f9 Mon Sep 17 00:00:00 2001 From: Aniket Sinha Date: Sun, 14 Jan 2024 15:48:05 +0530 Subject: [PATCH] Revert "Updated FAQs and contact section with redirect fixes on navbar" --- contact/index.html | 281 ++++++++++++++++++--------------------------- contact/style.css | 27 +++-- css/style.css | 42 ++----- index.html | 11 +- 4 files changed, 142 insertions(+), 219 deletions(-) diff --git a/contact/index.html b/contact/index.html index db83816..c3b93b9 100644 --- a/contact/index.html +++ b/contact/index.html @@ -1,177 +1,119 @@ - - - - + + + + + Data Science Portal | Contact Us - + - - - - - - + + + + + + - -
- -
+ +
+ +
-
-
-
- - +
+
+
+ +

contact us

+
+
+
+
-
- - +
+
+
+
+ + Phone No. + 1-2392-23928-2 +
+
+ + E-mail + mail@company.com +
+
+ + Github + LINK +
+
+ + Opening Hours + Monday - Friday (9:00 AM to 5:00 PM) +
+
+ +
+ +
+ + +
+
+ + +
+ + + + +
+ contact_us_illustration +
- - - - -
- contact_us_illustration
-
-
- - -
+ + +
- + - - - - + + + + + \ No newline at end of file diff --git a/contact/style.css b/contact/style.css index 06fd015..78bbe24 100644 --- a/contact/style.css +++ b/contact/style.css @@ -14,7 +14,8 @@ body { } .contact-bg { - height: 60vh; + margin-top: -7rem; + height: 100vh; background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)); /* , url(images/contact-bg.jpg) */ /* background-position: 50% 100%; @@ -148,7 +149,7 @@ body { outline: 0; color: #fff; } -.form-control::placeholder { +.form-control::placeholder{ color: #ffffff52; } .form-control:focus { @@ -164,7 +165,7 @@ body { font-size: 1rem; text-transform: uppercase; color: #fff; - background: rgba(33, 186, 247, 0.74); + background:rgba(33, 186, 247, 0.74); /* background: #f7327a; */ border: none; border-radius: 5px; @@ -174,7 +175,7 @@ body { } .send-btn:hover { /* opacity: 0.8; */ - background: rgb(100, 203, 245); + background:rgb(100, 203, 245); /* background: #e383a6e9; */ color: #fff; } @@ -262,6 +263,8 @@ iframe { } } + + /* *{ padding: 0; margin: 0; @@ -975,24 +978,20 @@ nav button { .header__left p { margin-bottom: 1.3rem; } - - .contact-bg { - height: 75vh; - } } - /* Footer */ -.footer__container1 { +.footer__container1{ display: flex; align-items: flex-start; - justify-content: space-around; + justify-content:space-around; flex-wrap: wrap; row-gap: 50px; + } -.foot--1 { +.foot--1{ text-align: center; flex-basis: 250px; } -.foot--1 h4 { +.foot--1 h4{ margin-bottom: 30px; -} +} \ No newline at end of file diff --git a/css/style.css b/css/style.css index 8afbfee..9f44570 100644 --- a/css/style.css +++ b/css/style.css @@ -880,7 +880,7 @@ img { .grad a h4 { position: relative; width: 600px; - min-height: 40px; + height: 550px; background: radial-gradient(610px, #2f85f58c, transparent 40%); margin-top: 2px; } @@ -1054,7 +1054,6 @@ nav button { position: relative; top: 0; right: 0; - margin-left: 10%; } .nav__menu a { @@ -1093,25 +1092,25 @@ nav button { box-shadow: 5px 5px 5px orange; } -.nav-animation { +.nav-animation{ position: relative; } -.nav-animation::after { - content: ""; +.nav-animation::after{ + content: ''; position: absolute; width: 100%; - height: 0.12rem; + height: 0.120rem; background: #ff3c78; left: 0; bottom: 0; - transform: scale(0, 1); + transform: scale(0,1); transform-origin: 0% 100%; transition: transform 0.4s ease; } -.nav-animation:hover::after { - transform: scale(1, 1); +.nav-animation:hover::after{ + transform: scale(1,1); } .para1 { @@ -1466,15 +1465,13 @@ header { } .faq h4 { - font-size: 1.1rem; - line-height: 2; + font-size: 1.2rem; + line-height: 2.2; } .faq__icon { font-size: 1.2rem; align-items: center; - position: relative; - margin-top: 0.1rem; } .faq__icon:hover { @@ -1492,9 +1489,8 @@ header { } .faq p { - margin-top: 0.2rem; + margin-top: 0.8rem; display: none; - font-size: 1rem; } .faq.open p { @@ -1785,22 +1781,6 @@ footer ul li a:hover { display: inline-block; } - /* ====================== FAQs ===================== */ - - .faq h4 { - font-size: 0.9rem; - line-height: 2; - } - - .faq__icon { - font-size: 1rem; - } - - .faq p { - margin-top: 0.2rem; - font-size: 0.8rem; - } - /* ====================== POPULAR COURSES ===================== */ .courses__container { grid-template-columns: 1fr; diff --git a/index.html b/index.html index f2a6e93..322e18f 100644 --- a/index.html +++ b/index.html @@ -154,14 +154,14 @@

- +

DATA SCIENCE