From 000a32187b255d89698da38c1291f0163644cbc2 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 11 Dec 2022 19:18:44 +0100 Subject: [PATCH 1/2] fix - padding mobile des blocs content --- styles/Connexion.module.css | 8 +++++++- styles/Contact.module.css | 7 ++++++- styles/Index.module.css | 7 ++++++- styles/Login.module.css | 7 ++++++- styles/Register.module.css | 7 ++++++- styles/ToutSavoir.module.css | 12 ++++++++++-- styles/User.module.css | 7 ++++++- 7 files changed, 47 insertions(+), 8 deletions(-) diff --git a/styles/Connexion.module.css b/styles/Connexion.module.css index 1027061..0466847 100644 --- a/styles/Connexion.module.css +++ b/styles/Connexion.module.css @@ -1,5 +1,5 @@ .bloc-content { - padding: 10vh; + padding: 2vh; border-radius: 10px; background-position: 50% 50%; background-repeat: no-repeat; @@ -8,6 +8,12 @@ /* animation: zoomInOut 3s ease-in-out infinite; */ z-index: 8888 } +@media (min-width: 992px) { + .bloc-content { + padding: 5vh; + } +} + .cursor:hover { cursor: pointer; diff --git a/styles/Contact.module.css b/styles/Contact.module.css index 49a7a63..3e6fbfa 100644 --- a/styles/Contact.module.css +++ b/styles/Contact.module.css @@ -1,5 +1,5 @@ .bloc-content { - padding: 5vh; + padding: 2vh; border-radius: 10px; background-position: 50% 50%; background-repeat: no-repeat; @@ -8,6 +8,11 @@ /* animation: zoomInOut 3s ease-in-out infinite; */ z-index: 8888 } +@media (min-width: 992px) { + .bloc-content { + padding: 10vh; + } +} .masthead { padding-top: 5vh; diff --git a/styles/Index.module.css b/styles/Index.module.css index cba96bf..d21cb5b 100644 --- a/styles/Index.module.css +++ b/styles/Index.module.css @@ -9,7 +9,7 @@ .bloc-content { - padding: 10vh; + padding: 2vh; border-radius: 10px; background-image: url('/images/codebackground.webp'); background-position: 50% 50%; @@ -18,6 +18,11 @@ /* animation: zoomInOut 4s ease-in-out infinite; */ z-index: 9000; } +@media (min-width: 992px) { + .bloc-content { + padding: 10vh; + } +} .cadeau-bloc-content { text-shadow: rgb(255, 255, 255) 5px 0 10px; diff --git a/styles/Login.module.css b/styles/Login.module.css index 17ccd63..43a9317 100644 --- a/styles/Login.module.css +++ b/styles/Login.module.css @@ -26,10 +26,15 @@ } .bloc-content { - padding: 5vh; + padding: 2vh; border-radius: 10px; background-color: rgba(255, 255, 255, 0.8); } +@media (min-width: 992px) { + .bloc-content { + padding: 10vh; + } +} .logo { position: relative; diff --git a/styles/Register.module.css b/styles/Register.module.css index 7c1df1f..3acb8e0 100644 --- a/styles/Register.module.css +++ b/styles/Register.module.css @@ -26,10 +26,15 @@ } .bloc-content { - padding: 5vh; + padding: 2vh; border-radius: 10px; background-color: rgba(255, 255, 255, 0.8); } +@media (min-width: 992px) { + .bloc-content { + padding: 10vh; + } +} .logo { position: relative; diff --git a/styles/ToutSavoir.module.css b/styles/ToutSavoir.module.css index 385e855..c81ec90 100644 --- a/styles/ToutSavoir.module.css +++ b/styles/ToutSavoir.module.css @@ -1,5 +1,5 @@ .bloc-content { - padding: 10vh; + padding: 2vh; border-radius: 10px; background-position: 50% 50%; background-repeat: no-repeat; @@ -8,9 +8,17 @@ /* animation: zoomInOut 3s ease-in-out infinite; */ z-index: 8888 } +@media (min-width: 992px) { + .bloc-content { + padding: 5vh; + } + .masthead { + padding-top: 10vh; + } +} .masthead { - padding-top: 10vh; + padding-top: 2vh; position: relative; } diff --git a/styles/User.module.css b/styles/User.module.css index a8fd743..b649bf3 100644 --- a/styles/User.module.css +++ b/styles/User.module.css @@ -24,9 +24,14 @@ background-repeat: no-repeat; box-shadow: 5px 5px 15px 5px #000000; } +@media (min-width: 992px) { + .bloc-content { + padding: 5vh; + } +} .bloc-content { - padding: 5vh; + padding: 2vh; border-radius: 10px; background-color: rgba(255, 255, 255, 0.8); } From 3ea56473aa45ec6eab9b6691b3ee6a8674f9039b Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 11 Dec 2022 19:25:40 +0100 Subject: [PATCH 2/2] =?UTF-8?q?fix=20-=20retirer=20background=20image=20fo?= =?UTF-8?q?oter=20grass=20appel=C3=A9=20dans=20le=20footer=20car=20image?= =?UTF-8?q?=20utilis=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/Index.module.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/Index.module.css b/styles/Index.module.css index d21cb5b..0488206 100644 --- a/styles/Index.module.css +++ b/styles/Index.module.css @@ -238,7 +238,7 @@ .footerGrass { bottom: -5px; - background-image: url('/image/footer_image.webp'); + /* background-image: url('/image/footer_image.webp'); */ background-repeat: repeat-x; background-size: contain; width: 100vw;