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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user