From 3c0208c01de39cd54d2f74db6699acc95aad4ab1 Mon Sep 17 00:00:00 2001 From: Namrata Diware Date: Wed, 3 Jul 2024 22:01:01 +0530 Subject: [PATCH] added news section --- news.html => Html-Files/news.html | 39 ++++++++++++++++++------------- 1 file changed, 23 insertions(+), 16 deletions(-) rename news.html => Html-Files/news.html (96%) diff --git a/news.html b/Html-Files/news.html similarity index 96% rename from news.html rename to Html-Files/news.html index a73104a1..d4525aee 100644 --- a/news.html +++ b/Html-Files/news.html @@ -323,27 +323,32 @@ .news-section h2 { text-align: center; margin-bottom: 30px; - color: #333; + color: #faf8f8; } .news-container { display: flex; justify-content: space-between; flex-wrap: wrap; + } .news-item { width: calc(33.33% - 20px); margin-bottom: 30px; - background-color: #fff; + background-color:black; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; + box-shadow: 7px 0px 15px #70bde7, -7px 0px 15px #14aa21; + color: white; } .news-item:hover { transform: translateY(-5px); + background-color:#29888a; + box-shadow: 7px 0px 15px #fdfefe, -7px 0px 15px aqua; } .news-item img { @@ -356,14 +361,14 @@ padding: 15px; margin: 0; font-size: 18px; - color: #333; + color: white } .news-item p { padding: 0 15px 15px; margin: 0; font-size: 14px; - color: #666; + color: #c3b5b5; } .read-more { @@ -402,7 +407,6 @@ - @@ -421,15 +425,15 @@