From 84a3dfb85682939d606a5874d82aae8e96b4bf26 Mon Sep 17 00:00:00 2001 From: abhiramtx <7253115-abhiramtx@users.noreply.replit.com> Date: Sun, 9 Nov 2025 00:04:06 +0000 Subject: [PATCH] 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 --- static/css/styles.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/css/styles.css b/static/css/styles.css index 9449fbe..c0ba151 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -64,7 +64,6 @@ body::after { .navbar-inner { display: flex; - justify-content: space-between; align-items: center; padding: 12px 24px; background: rgba(0, 0, 0, 0.5); @@ -78,6 +77,7 @@ body::after { align-items: center; padding-right: 20px; border-right: 1px solid rgba(255, 255, 255, 0.1); + margin-right: auto; } .navbar-logo img { @@ -89,6 +89,9 @@ body::after { display: flex; gap: 8px; align-items: center; + position: absolute; + left: 50%; + transform: translateX(-50%); } .navbar-links a {