From 1dc3c9f2580d0b3bec3df56eebe89032b165e0df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20MARQUET?= Date: Wed, 27 Nov 2024 13:38:37 +0100 Subject: [PATCH] Add background blur and change Title Font --- frontend/index.html | 6 ++++++ frontend/style.css | 29 +++++++++++++++++++++++++++-- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 31c9eb4..77e4def 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,10 +4,15 @@ Calendrier de l'Avent + + + +
+

Calendrier de l'avant 2024

5
17
@@ -34,6 +39,7 @@
16
21
+

Site réalisé par Appen pour le BDE de l’ISEN Nantes

diff --git a/frontend/style.css b/frontend/style.css index 4c866f0..cc362fb 100644 --- a/frontend/style.css +++ b/frontend/style.css @@ -7,13 +7,38 @@ body { } .background { - background: url('assets/bg-winter.png') no-repeat center center; - background-size: cover; + position: relative; height: 100vh; display: flex; justify-content: center; align-items: center; overflow: hidden; + flex-direction: column; +} + +h1,h2 { + font-family: "Jim Nightshade", cursive; + font-weight: 400; + font-style: normal; + margin: 0; + text-align: center; + color: black; +} + +h1 { + font-size: 5em; +} + +.background-blur { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: url('assets/bg-winter.png') no-repeat center center; + background-size: cover; + filter: blur(5px); + z-index: -1; } .grid {