From 68023720adec33121b902b93469db971c0526b94 Mon Sep 17 00:00:00 2001 From: Kishore K <156045347+Kish0reo07@users.noreply.github.com> Date: Sat, 19 Oct 2024 05:08:08 +0530 Subject: [PATCH] Update about.css dark button code will be change --- css/about.css | 41 ++++++----------------------------------- 1 file changed, 6 insertions(+), 35 deletions(-) diff --git a/css/about.css b/css/about.css index 91149e6..1996c54 100644 --- a/css/about.css +++ b/css/about.css @@ -1,38 +1,9 @@ -.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.light-mode { + background-color: white; + color: black; } -.about-section h2 { - font-size: 36px; - margin-bottom: 20px; -} - -.about-section p { - font-size: 18px; - line-height: 1.6; - max-width: 800px; - margin: 0 auto 20px auto; -} - -.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; -} - -.about-section a:hover { - background-color: #0056b3; +body.dark-mode { + background-color: black; + color: white; }