From aff82ae0889190dafce588e571d91d45ef5a2023 Mon Sep 17 00:00:00 2001 From: Ahurac Date: Wed, 31 Jan 2024 15:00:43 +0100 Subject: [PATCH] =?UTF-8?q?index=20:=20mise=20=C3=A0=20jour=20du=20style?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index.astro | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 3191e1b..2519cb6 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -52,24 +52,23 @@ import Card from '../components/Card.astro'; } body { - /* - background: - linear-gradient(135deg, #4d0099 0%, #00000000 100%), - linear-gradient(-135deg, #9933ff 0%, #00000000 100%), - linear-gradient(45deg, #ff4dff 0%, #00000000 100%), - linear-gradient(-45deg, #3366ff 0%, #00000000 100%); - */ + /* Background */ + background: linear-gradient(90deg, #08001a 0%, #000d1a 100%); background-size: cover; background-repeat: no-repeat; background-attachment: fixed; background-color: black; + /* Text */ color: white; font-family: 'Cantarell', sans-serif; + /* Flex */ display: flex; - justify-content: center; + align-items: center; + margin: 0; + flex-direction: column; } main { - width: 30%; + width: 40%; }