From c6be8c545df95cd4f75f8ad429cc561fc069fd2c Mon Sep 17 00:00:00 2001 From: adrien Date: Sun, 18 Jan 2026 00:11:47 +0100 Subject: [PATCH] sticky --- index.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 861d664..6e42cf5 100644 --- a/index.html +++ b/index.html @@ -16,8 +16,7 @@ body { display: flex; flex-direction: column; - min-height: 100vh; - min-height: 100dvh; + height: 100dvh; } @media (min-height: 600px) { @@ -29,6 +28,13 @@ body { background: linear-gradient(var(--pico-background-color) 60%, transparent); text-shadow: 0 0 10px var(--pico-background-color); } + + body > footer { + position: sticky; + bottom: 0; + z-index: 10; + background: var(--pico-background-color); + } } .container {