From b8f931a0a022211ea4397293717551c39ee3e4d0 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Sat, 30 Aug 2025 21:16:49 +0000 Subject: [PATCH] Make the website header sticky and visually enhanced Implement a sticky header with improved styling, including background blur and border, across multiple pages by changing CSS classes and ensuring proper positioning. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 051a65da-1176-4478-a61c-c662f2a15536 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/051a65da-1176-4478-a61c-c662f2a15536/qNN47yK --- client/src/index.css | 16 ++++---- client/src/pages/FolxStadlPage.tsx | 2 +- client/src/pages/VideoPage.tsx | 2 +- client/src/pages/home.tsx | 59 +++++++++++++++++++----------- client/src/pages/not-found.tsx | 2 +- 5 files changed, 49 insertions(+), 32 deletions(-) diff --git a/client/src/index.css b/client/src/index.css index 549287b..57d4a68 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -335,14 +335,14 @@ input[data-testid*="search"]::placeholder { filter: blur(0.5px); } -/* Force header to be non-sticky */ -.header-non-sticky { - position: static !important; - top: auto !important; - left: auto !important; - right: auto !important; - bottom: auto !important; - z-index: auto !important; +/* Sticky header */ +.header-sticky { + position: sticky !important; + top: 0 !important; + z-index: 50 !important; + backdrop-filter: blur(8px); + background: rgba(30, 20, 40, 0.85) !important; + border-bottom: 1px solid rgba(255, 255, 255, 0.1); } /* Test grid overlay */ diff --git a/client/src/pages/FolxStadlPage.tsx b/client/src/pages/FolxStadlPage.tsx index d947a9d..4366ac7 100644 --- a/client/src/pages/FolxStadlPage.tsx +++ b/client/src/pages/FolxStadlPage.tsx @@ -57,7 +57,7 @@ export default function FolxStadlPage() { return (