From 7271852a3033f26c372231bac3a97a45861dede5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jimmy=20Labb=C3=A9?= Date: Thu, 11 Jun 2026 19:40:30 +0000 Subject: [PATCH] Actualiser Index Ajout version mobile --- index.html | 227 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 168 insertions(+), 59 deletions(-) diff --git a/index.html b/index.html index a12d981..17402fe 100644 --- a/index.html +++ b/index.html @@ -41,17 +41,22 @@ max-width:1200px; margin:auto; padding:0 2rem; display:flex; -justify-content:space-between; +justify-content:center; align-items:center; } +.logo{ +cursor:pointer; +} + .logo img{ height:65px; -cursor:pointer; } .lang-selector{ display:flex; +justify-content:center; +align-items:center; gap:10px; flex-wrap:wrap; } @@ -155,10 +160,32 @@ background:#f8f9fa; .code{ display:none; -font-size:2rem; +font-size:2.5rem; font-weight:bold; color:var(--gsk-orange); margin-top:20px; +background:white; +padding:15px; +border-radius:8px; +text-align:center; +letter-spacing:4px; +} + +.accept-checkbox{ +width:24px; +height:24px; +flex-shrink:0; +margin-top:3px; +} + +.accept-label{ +display:inline-flex; +align-items:flex-start; +gap:10px; +font-size:1.2rem; +margin-bottom:1rem; +cursor:pointer; +text-align:left; } footer{ @@ -167,6 +194,64 @@ color:#aaa; text-align:center; padding:2rem; margin-top:4rem; +} +@media (max-width: 768px){ + +.header-content{ +padding:0 1rem; +} + +.logo img{ +height:50px; +} + +.hero{ +height:auto; +padding:2rem 1rem; +} + +.hero h1{ +font-size:2rem; +} + +.lang-selector{ +flex-direction:column; +align-items:stretch; +width:100%; +max-width:350px; +margin:0 auto; +} + +.lang-btn{ +width:100%; +padding:14px; +font-size:1.1rem; +} + +.content{ +padding:0 1rem; +margin:1.5rem auto; +} + +.safety-text{ +padding:1.25rem; +} + +.confirmation{ +padding:1.25rem; +font-size:1rem; +} + +.code{ +font-size:1.8rem; +letter-spacing:2px; +word-break:break-word; +} + +footer{ +padding:1.5rem 1rem; +} + } @@ -179,16 +264,6 @@ margin-top:4rem; - -
- - - - - - -
- @@ -201,14 +276,31 @@ margin-top:4rem; Sélectionnez votre langue

-
+
- - - - - - + + + + + + + + + + +
@@ -216,15 +308,15 @@ Sélectionnez votre langue -
+

Règles de sûreté à l’intention des livreurs

-
@@ -247,7 +339,7 @@ Règles de sûreté à l’intention des livreurs
-