From 04423aa6c703941a708bdb77f4214acfc9e4a08f Mon Sep 17 00:00:00 2001 From: C <38694948+CedricBeausseron@users.noreply.github.com> Date: Tue, 15 Nov 2022 15:06:42 +0100 Subject: [PATCH] fix - fixer le background sur le body --- styles/Index.module.css | 4 ---- styles/globals.css | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/styles/Index.module.css b/styles/Index.module.css index b1468d5..923c84e 100644 --- a/styles/Index.module.css +++ b/styles/Index.module.css @@ -4,10 +4,6 @@ } .masthead { - background-image: url('/images/pageprincipale.webp'); - background-size: cover; - background-position: 50% 50%; - background-repeat: no-repeat; padding-top: 5vh; height: 90vh; position: relative; diff --git a/styles/globals.css b/styles/globals.css index 0a0828c..087872d 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -6,6 +6,10 @@ body { font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; font-size: small; + background-image: url(/images/pageprincipale.webp); + background-size: cover; + background-position: 50% 50%; + background-repeat: no-repeat; } a,