From 2cff4eeab1962cf6fc486073e75c579aa1c288d3 Mon Sep 17 00:00:00 2001 From: Souvik Majee Date: Mon, 14 Oct 2024 16:16:30 +0530 Subject: [PATCH] Home page fixed --- index.html | 4 ---- style.css | 15 +++++++-------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index 9826bca1..0512fd74 100644 --- a/index.html +++ b/index.html @@ -168,10 +168,6 @@ -
-
-
-
diff --git a/style.css b/style.css index dad5679a..c1b6f702 100644 --- a/style.css +++ b/style.css @@ -36,9 +36,6 @@ nav a { text-decoration: none; } -main { - padding: 20px; -} .post-container { background: #ffffff; @@ -201,7 +198,7 @@ button { /*background-color: transparent;*/ color: white; display: flex; - justify-content: center; /* Keep header centered */ + justify-content: flex-start; /* Keep header centered */ align-items: center; transition: background-color 0.3s ease; } @@ -212,10 +209,10 @@ button { nav { display: flex; align-items: center; - justify-content: space-between; + justify-content: flex-start; max-width: 1200px; /* Limit the width for better centering */ width: 100%; /* Ensure nav takes full width */ - margin: 0 auto; /* Center the nav */ + margin: 0 0; /* Center the nav */ } .logo { @@ -227,15 +224,17 @@ nav { display: flex; gap: 20px; list-style: none; - margin: 0; + margin-left: 200px; padding: 0; + align-items: center; } #nav-list li a { color: white; text-decoration: none; font-weight: 400; - + white-space: nowrap; + font-size: 20px; } .hamburger {