From 0186370adc94c5a5bd3cf0d85a317ffff6fefaab Mon Sep 17 00:00:00 2001 From: trochas Date: Sun, 11 Jan 2026 20:56:39 +0100 Subject: [PATCH] fix back ground bug --- front_end/src/App.css | 7 +++++++ front_end/src/components/pages/pageAdmin.tsx | 1 + front_end/src/components/style/topBar.css | 10 +++++++++- front_end/src/components/topBar.tsx | 6 +++--- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/front_end/src/App.css b/front_end/src/App.css index d62514f..52d7034 100644 --- a/front_end/src/App.css +++ b/front_end/src/App.css @@ -56,6 +56,11 @@ padding: 0; } +html,body{ + width: 100%; + height: 100%; +} + body { margin: 0; font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', @@ -63,10 +68,12 @@ body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: linear-gradient(135deg, var(--tint0) 0%, var(--tint1) 100%); + height: 100%; color: var(--text); transition: background 0.4s ease, color 0.4s ease; font-weight: 400; line-height: 1.6; + background-attachment: fixed; } .padding { diff --git a/front_end/src/components/pages/pageAdmin.tsx b/front_end/src/components/pages/pageAdmin.tsx index 91e01ef..62e4197 100644 --- a/front_end/src/components/pages/pageAdmin.tsx +++ b/front_end/src/components/pages/pageAdmin.tsx @@ -5,6 +5,7 @@ function Admin() { return (

Admin

+ rien pour l'instant
) } diff --git a/front_end/src/components/style/topBar.css b/front_end/src/components/style/topBar.css index 1465d63..e912edd 100644 --- a/front_end/src/components/style/topBar.css +++ b/front_end/src/components/style/topBar.css @@ -118,4 +118,12 @@ .logo:hover { transform: scale(1.1) rotateY(10deg); -} \ No newline at end of file +} + +.logoLink:hover{ + border: 0px; +} + +.logoLink{ + border: 0px; +} diff --git a/front_end/src/components/topBar.tsx b/front_end/src/components/topBar.tsx index d07961e..039fc69 100644 --- a/front_end/src/components/topBar.tsx +++ b/front_end/src/components/topBar.tsx @@ -12,7 +12,7 @@ function TopBar(){ return(
- +

Frisbyee

@@ -23,8 +23,8 @@ function TopBar(){
- - + +
)