From 4fa60947d1b0eb1d64ddbdd9acd486b8269767c4 Mon Sep 17 00:00:00 2001 From: Adi-204 Date: Sun, 13 Oct 2024 21:26:11 +0530 Subject: [PATCH] Fix dark theme bug of About Page --- about.html | 76 ++++++++++-------------------------------------------- styles.css | 35 +++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 62 deletions(-) diff --git a/about.html b/about.html index fb6e260..97d251e 100644 --- a/about.html +++ b/about.html @@ -10,54 +10,6 @@ - -
+
-
-

Our Mission

-

Welcome to Math 4 Python, where we blend the art of Python programming with the science of mathematics. Our mission is to provide a comprehensive learning platform that enhances your coding skills while deepening your understanding of mathematical concepts and problem-solving techniques.

+
+

Our Mission

+

Welcome to Math 4 Python, where we blend the art of Python programming with the science of mathematics. Our mission is to provide a comprehensive learning platform that enhances your coding skills while deepening your understanding of mathematical concepts and problem-solving techniques.

-
-

What We Offer

-

At Math 4 Python, we offer a structured learning path that starts with the basics of Python programming and gradually incorporates complex mathematical problems. Our content includes interactive lessons, practical exercises, and real-world applications to help you master both coding and math.

+
+

What We Offer

+

At Math 4 Python, we offer a structured learning path that starts with the basics of Python programming and gradually incorporates complex mathematical problems. Our content includes interactive lessons, practical exercises, and real-world applications to help you master both coding and math.

-
-

Why Learn With Us?

-

Our unique approach combines theoretical knowledge with hands-on practice. By learning Python through mathematical problems, you gain a dual advantage: proficiency in a powerful programming language and a solid foundation in math. This combination is essential for careers in data science, engineering, finance, and more.

+
+

Why Learn With Us?

+

Our unique approach combines theoretical knowledge with hands-on practice. By learning Python through mathematical problems, you gain a dual advantage: proficiency in a powerful programming language and a solid foundation in math. This combination is essential for careers in data science, engineering, finance, and more.

-
-

Contact Us

-

If you have any questions or would like more information, feel free to reach out to us at https://magicmath.co/.

+
+

Contact Us

+

If you have any questions or would like more information, feel free to reach out to us at https://magicmath.co/.

diff --git a/styles.css b/styles.css index 690e450..e936355 100644 --- a/styles.css +++ b/styles.css @@ -483,6 +483,41 @@ body.dark-theme .accordion.active { background-color: #34495e; } +/* About Page Style */ +.about-container { + width: 80%; + margin: 20px auto; + padding: 20px; + box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); + border-radius: 8px; +} +.about-h1, .about-h2 { + text-align: center; + color: #2C3E50; +} +.about-p { + line-height: 1.6; + margin-bottom: 20px; + text-align: justify; +} +.about-link { + color: #3498DB; + text-decoration: none; +} +.about-link:hover { + text-decoration: underline; +} +.banner h1 { + margin: 0; + font-size: 2em; +} +.about-section { + margin: 20px 0; +} +body.dark-theme .about-container { + background-color: #0f3460; +} + /* Responsive design for challenge and FAQ pages */ @media (max-width: 768px) { .challenge-container {