From 150a351cb3bb0bbb1d74518b9f17a61d95b50895 Mon Sep 17 00:00:00 2001
From: Priya Ghosal <162816363+PriyaGhosal@users.noreply.github.com>
Date: Mon, 28 Oct 2024 14:54:11 +0530
Subject: [PATCH] Revert "Updated whole Blog page "
---
blog.html | 1132 ++++++++++++++++++++++++-----------------------------
1 file changed, 514 insertions(+), 618 deletions(-)
diff --git a/blog.html b/blog.html
index fcdcb4c0..1cbb68db 100644
--- a/blog.html
+++ b/blog.html
@@ -12,381 +12,496 @@
+
+
+
+
+
+
+
+
+
+
@@ -471,209 +586,6 @@
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
- /* Blog Card Styles */
-.blog-container {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
- gap: 2rem;
- padding: 2rem;
-}
-
-.blog-card {
- background: white;
- border-radius: 12px;
- overflow: hidden;
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
- transition: transform 0.3s ease, box-shadow 0.3s ease;
- position: relative;
-}
-
-.blog-card:hover {
- transform: translateY(-8px);
- box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
-}
-
-/* Image Container */
-.image-container {
- position: relative;
- height: 240px;
- overflow: hidden;
-}
-
-.post-image {
- width: 100%;
- height: 100%;
- object-fit: cover;
- filter: grayscale(100%);
- transition: transform 0.5s ease, filter 0.5s ease;
-}
-
-.blog-card:hover .post-image {
- transform: scale(1.1);
- filter: grayscale(0%);
-}
-
-.image-overlay {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(0, 0, 0, 0.3);
- transition: opacity 0.3s ease;
-}
-
-.blog-card:hover .image-overlay {
- opacity: 0;
-}
-
-/* Category Badge */
-.category-badge {
- position: absolute;
- top: 1rem;
- left: 1rem;
- background: rgba(255, 255, 255, 0.9);
- padding: 0.5rem 1rem;
- border-radius: 20px;
- font-weight: 600;
- font-size: 0.875rem;
- color: #333;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
-}
-
-/* Post Content */
-.post-content {
- padding: 1.5rem;
-}
-
-.post-meta {
- display: flex;
- gap: 1rem;
- font-size: 0.875rem;
- color: #666;
- margin-bottom: 1rem;
-}
-
-.post-meta i {
- margin-right: 0.5rem;
-}
-
-.post-title {
- font-size: 1.25rem;
- font-weight: 700;
- margin-bottom: 1rem;
- color: #333;
- transition: color 0.3s ease;
-}
-
-.blog-card:hover .post-title {
- color: #2563eb;
-}
-
-.post-excerpt {
- color: #666;
- margin-bottom: 1rem;
- line-height: 1.6;
-}
-
-/* Tags */
-.tags-container {
- display: flex;
- flex-wrap: wrap;
- gap: 0.5rem;
- margin-bottom: 1rem;
-}
-
-.tag {
- background: #f3f4f6;
- padding: 0.25rem 0.75rem;
- border-radius: 15px;
- font-size: 0.875rem;
- color: #666;
- transition: background-color 0.3s ease;
- display: flex;
- align-items: center;
- gap: 0.5rem;
-}
-
-.tag:hover {
- background: #e5e7eb;
-}
-
-/* Read More Button */
-.read-more-btn {
- display: flex;
- align-items: center;
- gap: 0.5rem;
- color: #2563eb;
- font-weight: 600;
- font-size: 0.875rem;
- transition: gap 0.3s ease;
- background: none;
- border: none;
- padding: 0;
- cursor: pointer;
-}
-
-.read-more-btn i {
- transition: transform 0.3s ease;
-}
-
-.read-more-btn:hover i {
- transform: translateX(4px);
-}
-
-/* Comments Section */
-.comments-section {
- padding: 1.5rem;
- border-top: 1px solid #e5e7eb;
-}
-
-.comment {
- background: #f9fafb;
- padding: 1rem;
- border-radius: 8px;
- margin-bottom: 1rem;
-}
-
-.comment-form {
- margin-top: 1rem;
-}
-
-.comment-form textarea {
- width: 100%;
- padding: 0.75rem;
- border: 1px solid #e5e7eb;
- border-radius: 8px;
- margin-bottom: 1rem;
- resize: vertical;
-}
-
-.comment-form button {
- background: #2563eb;
- color: white;
- padding: 0.5rem 1rem;
- border-radius: 6px;
- border: none;
- cursor: pointer;
- transition: background-color 0.3s ease;
-}
-
-.comment-form button:hover {
- background: #1d4ed8;
-}
-
-/* Responsive Design */
-@media (max-width: 768px) {
- .blog-container {
- grid-template-columns: 1fr;
- }
-
- .post-meta {
- flex-direction: column;
- gap: 0.5rem;
- }
-}