From a2d75c2b59f192e7c78dae64d7a87338bc6a3107 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Mon, 9 Nov 2020 01:12:59 +0100 Subject: Make sidebars sticky --- commun.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'commun.css') diff --git a/commun.css b/commun.css index 5778c4a..a272264 100644 --- a/commun.css +++ b/commun.css @@ -52,6 +52,8 @@ header.social { display: flex; flex-direction: column; align-items: center; + position: sticky; + top: 0; } .social img { @@ -72,15 +74,12 @@ header.social { body { + height: 100vh; display: flex; flex-direction: column; margin: 0; } -.main { - background: #f00; -} - footer { margin: auto; } -- cgit v1.2.3