From 6cfe6b2bd868c8c7aea93bb3bd50d1187e078da6 Mon Sep 17 00:00:00 2001 From: Kishore K <156045347+Kish0reo07@users.noreply.github.com> Date: Fri, 18 Oct 2024 19:01:25 +0530 Subject: [PATCH] Update about.css i recrete the code --- css/about.css | 57 +++++++++++++++++++++++++-------------------------- 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/css/about.css b/css/about.css index 91149e6..3399c0c 100644 --- a/css/about.css +++ b/css/about.css @@ -1,38 +1,37 @@ -.about-section { - margin-top: 70px; - padding-top: 40px; - background: linear-gradient(135deg, rgba(28, 31, 36, 0.8), rgba(45, 59, 69, 0.8), rgba(0, 0, 0, 0.8)); - color: #dfe1e5; - text-align: center; - height: 82vh; - background-repeat: no-repeat; - background-size: cover; - position: relative; - overflow: hidden; +body { + font-family: Arial, sans-serif; + background-color: #f4f4f4; + margin: 0; + padding: 0; +} + +.container { + max-width: 1200px; + margin: auto; + padding: 20px; } -.about-section h2 { - font-size: 36px; - margin-bottom: 20px; +h1 { + text-align: center; + color: #007bff; } -.about-section p { - font-size: 18px; - line-height: 1.6; - max-width: 800px; - margin: 0 auto 20px auto; +.badges { + display: flex; + flex-wrap: wrap; + justify-content: center; } -.about-section a { - display: inline-block; - padding: 10px 20px; - background-color: #007BFF; - color: white; - text-decoration: none; - border-radius: 5px; - transition: background-color 0.3s; +.badge { + background-color: #007bff; + color: white; + padding: 15px 20px; + margin: 10px; + border-radius: 5px; + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); + transition: transform 0.3s; } -.about-section a:hover { - background-color: #0056b3; +.badge:hover { + transform: scale(1.05); }