From 35b3d21c8ed636146d34bfc79462b3552ae8e469 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sat, 22 Nov 2025 14:42:00 -0500 Subject: [PATCH] Fix du footer dans les sous pages du lore --- www/css/style.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/www/css/style.css b/www/css/style.css index 4f86747..d0f2bf0 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -9,8 +9,10 @@ box-sizing: border-box; } -main { - min-height: 85vh; +body { + min-height: 100vh; /* Pour footer at bottom from : https://douiri.org/blog/fix-footer-bottom-css/ */ + display: grid; + grid-template-rows: auto 1fr auto; /* SEE: https://www.geeksforgeeks.org/css/css-grid-layout-the-fr-unit/ */ } nav { @@ -103,6 +105,7 @@ footer { /* PAGE: Univers Sci-fi et sous-pages */ /* AUTEUR: Léa */ /**************************************/ + .lore { background: #13172c url("../images/ImagesLea/warframeLore.jpg") no-repeat center; background-size: cover; @@ -119,7 +122,7 @@ footer { margin: 10px; } -.lore p, blockquote{ +.lore article p, blockquote{ margin-left: 10px; margin-top: 15px; }