From 1e16270280cf87119022b60c2b7b93ae74809b88 Mon Sep 17 00:00:00 2001 From: Firas <firas.bouzazi@imt-atlantique.net> Date: Tue, 25 Mar 2025 23:57:43 +0100 Subject: [PATCH] Changed front to responsive --- templates/home/index.html.twig | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/templates/home/index.html.twig b/templates/home/index.html.twig index 0358ab73..3e984d35 100644 --- a/templates/home/index.html.twig +++ b/templates/home/index.html.twig @@ -6,14 +6,19 @@ <style> body { font-family: Arial, sans-serif; - background: linear-gradient(135deg, #00B8DE, #99CC33); + background: linear-gradient(135deg, #00B8DE, #99CC33) fixed; color: white; text-align: center; padding: 20px; + margin: 0; + height: 100vh; + display: flex; + align-items: center; + justify-content: center; } .container { + width: 90%; max-width: 600px; - margin: auto; background: rgba(255, 255, 255, 0.2); padding: 20px; border-radius: 15px; @@ -43,7 +48,7 @@ font-weight: bold; transition: 0.3s; display: inline-block; - margin: 5px; + margin: 10px; } a:hover { background: #99CC33; -- GitLab