Center navigation buttons except for the logo

Update CSS in `static/css/styles.css` to use flexbox properties for centering and positioning elements within the navbar.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 75bceff7-98f2-4f6e-ae8e-e735399a1fe8
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: b4a8c72f-eaa5-4469-a1a2-ee7846292e58
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d0a1d46d-d203-4308-bc6a-312ac7c0243b/75bceff7-98f2-4f6e-ae8e-e735399a1fe8/JZEfjne
This commit is contained in:
abhiramtx
2025-11-09 00:04:06 +00:00
parent bdb26a41db
commit 84a3dfb856

View File

@@ -64,7 +64,6 @@ body::after {
.navbar-inner { .navbar-inner {
display: flex; display: flex;
justify-content: space-between;
align-items: center; align-items: center;
padding: 12px 24px; padding: 12px 24px;
background: rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.5);
@@ -78,6 +77,7 @@ body::after {
align-items: center; align-items: center;
padding-right: 20px; padding-right: 20px;
border-right: 1px solid rgba(255, 255, 255, 0.1); border-right: 1px solid rgba(255, 255, 255, 0.1);
margin-right: auto;
} }
.navbar-logo img { .navbar-logo img {
@@ -89,6 +89,9 @@ body::after {
display: flex; display: flex;
gap: 8px; gap: 8px;
align-items: center; align-items: center;
position: absolute;
left: 50%;
transform: translateX(-50%);
} }
.navbar-links a { .navbar-links a {