From b9e8798e06e7f50c53765603d17b675d6d233194 Mon Sep 17 00:00:00 2001 From: taniya542 Date: Mon, 14 Oct 2024 20:46:25 +0530 Subject: [PATCH 1/3] About section added --- about.css | 183 ++++++++++++++++++++++------------ about.html | 283 ++++++++++++----------------------------------------- 2 files changed, 187 insertions(+), 279 deletions(-) diff --git a/about.css b/about.css index 98b90f3..5796968 100644 --- a/about.css +++ b/about.css @@ -1,94 +1,155 @@ -body { - font-family: 'Arial', sans-serif; +* { + box-sizing: border-box; margin: 0; padding: 0; - background-color: #f4f4f4; - color: #333; } -.container { - width: 80%; - margin: 20px auto; - padding: 20px; - background: white; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); - border-radius: 8px; +body { + font-family: 'Arial', sans-serif; + line-height: 1.6; + background-color: #f7f9fc; + color: #333; } -h1, -h2 { +header { + background: #4a4e69; + color: white; + padding: 20px 0; text-align: center; - color: #2C3E50; } -p { - line-height: 1.6; - margin-bottom: 20px; - text-align: justify; +header nav ul { + list-style-type: none; + padding: 0; +} + +header nav ul li { + display: inline; + margin: 0 15px; } -.banner { - background-color: #7ab7df; +header nav ul li a { color: white; - padding: 10px 0; - margin-bottom: 20px; - text-align: center; - border-radius: 8px 8px 0 0; + text-decoration: none; + font-weight: bold; + transition: color 0.3s; +} + +header nav ul li a:hover { + text-decoration: underline; + color: #d9d9d9; } -.banner h1 { +h1 { margin: 0; - font-size: 2em; + font-size: 2.5em; +} + +.intro, .benefits, .features, .testimonials, .cta { + padding: 20px; + background: #ffffff; + margin: 20px; + border-radius: 5px; + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); + transition: transform 0.3s, box-shadow 0.3s; +} + +.intro:hover, .benefits:hover, .features:hover, .testimonials:hover, .cta:hover { + transform: translateY(-5px); + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); } -.section { +.intro { + border-left: 5px solid #4a4e69; +} + +h2, h3 { + margin-bottom: 15px; + color: #4a4e69; +} + +ul { + list-style-type: none; + padding: 0; +} + +ul li { + margin-bottom: 10px; + padding-left: 20px; + position: relative; +} + +ul li:before { + content: "✔"; + color: #4a4e69; + position: absolute; + left: 0; +} + +blockquote { margin: 20px 0; + padding: 10px; + background: #f0f4f8; + border-left: 5px solid #4a4e69; + font-style: italic; } -/* Style for the cards */ -.cards { - display: flex; - justify-content: space-around; - margin-top: 20px; +blockquote p { + margin: 0; } -.card { - background: #f9f9f9; - border: 1px solid #ddd; - border-radius: 10px; - padding: 20px; - width: 30%; - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); +.cta { text-align: center; - margin: 0 10px; - transition: transform 0.3s ease, box-shadow 0.3s ease; + background: #4a4e69; + color: white; + border-radius: 5px; } -.card:hover { - transform: translateY(-10px); - box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); +.cta-button { + display: inline-block; + padding: 10px 20px; + margin-top: 15px; + background: #ffffff; + color: #4a4e69; + text-decoration: none; + border-radius: 5px; + transition: background 0.3s, color 0.3s, transform 0.3s; } +.cta-button:hover { + background: #4a4e69; + color: white; + transform: translateY(-2px); +} -.card h3 { - color: #2C3E50; - margin-bottom: 10px; +footer { + text-align: center; + padding: 10px 0; + background: #4a4e69; + color: white; + position: relative; + bottom: 0; + width: 100%; } -.card p { - color: #555; - font-size: 1em; +footer nav ul { + list-style-type: none; + padding: 0; + margin: 10px 0 0 0; +} + +footer nav ul li { + display: inline; + margin: 0 15px; } -/* Responsive design for smaller screens */ -@media (max-width: 768px) { - .cards { - flex-direction: column; - align-items: center; - } +footer nav ul li a { + color: white; + text-decoration: none; + transition: color 0.3s; +} - .card { - width: 80%; - margin-bottom: 20px; - } -} \ No newline at end of file +footer nav ul li a:hover { + text-decoration: underline; + color: #d9d9d9; +} diff --git a/about.html b/about.html index f3be635..a19c2a9 100644 --- a/about.html +++ b/about.html @@ -1,231 +1,78 @@ - - - About Math 4 Python - - - - - - - - - - + About Math4Python - - +
+

About Math4Python

+ +
+ +
+
+

Why Math4Python Matters

+

In today’s data-driven world, understanding the synergy between math and programming is vital. Math4Python bridges this gap by offering:

+
+ +
+

Benefits of Math4Python

+
    +
  • Simplified Learning: Breaking down complex math concepts into easy-to-understand lessons that cater to both beginners and those sharpening their skills.
  • +
  • Real-World Applications: Showing how math operations are used in real-life programming scenarios like data processing and analysis.
  • +
  • Engaging Challenges: Offering interactive coding exercises that allow learners to apply their knowledge and build confidence.
  • +
+
+ +
+

Features

+
    +
  • Interactive Tutorials: Step-by-step lessons focused on core mathematical operations and their implementation in Python.
  • +
  • Practical Examples: Real-world coding examples that demonstrate the application of math in data-related tasks.
  • +
  • Quizzes & Challenges: Engaging exercises to solidify learners' understanding of Python's math operations.
  • +
  • Integrated Code Editor: A built-in coding environment that enables learners to practice right inside the lessons.
  • +
+
+ +
+

What Our Learners Say

+
+

"Math4Python transformed the way I understand programming! The tutorials are clear and engaging." - Jane D.

+
+
+

"As a beginner, I found the step-by-step approach incredibly helpful. I feel more confident in my coding skills!" - Mark S.

+
+
+ +
+

Ready to Start Your Learning Journey?

+

Join Math4Python today and unlock the power of Python programming through mathematical concepts!

+ Get Started Now +
+
-