Skip to content

Commit

Permalink
Merge pull request #667 from Son7c/main
Browse files Browse the repository at this point in the history
Home page fixed
  • Loading branch information
PriyaGhosal authored Oct 14, 2024
2 parents 5ee3ab8 + 2cff4ee commit 267e78a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
4 changes: 0 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,6 @@
</head>
<body class="light-mode">

<div id="progressBarContainer">
<div id="progressBar"></div>
</div>

<!-- Google Translate Button -->
<div class="translate-container">
<button class="language-toggle" id="languageToggle">🌐</button>
Expand Down
15 changes: 7 additions & 8 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ nav a {
text-decoration: none;
}

main {
padding: 20px;
}

.post-container {
background: #ffffff;
Expand Down Expand Up @@ -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;
}
Expand All @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 267e78a

Please sign in to comment.