From 0643efa91246946b7192b2c42c7f177a22b1e7a6 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 5 Mar 2022 19:53:06 +0000 Subject: [PATCH] responsive CSS (?) --- public/css/style.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index 5b28d31..7ed63f7 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -48,13 +48,15 @@ text-decoration: none; #page { background-color: #ddd; -max-width: 80em; -margin: auto; display: grid; -grid-template-columns: auto minmax(25%,20em); -grid-column-gap: 1em; margin: 0 1em 1em 1em; } +@media (min-width: 640pt) { + #page { + grid-template-columns: auto minmax(25%,20em); + grid-column-gap: 1em; + } +} #content { background-color: white; @@ -64,6 +66,7 @@ padding: 1em; } #sidebar { + min-width: 15em; } #about, #getting-started { -- 2.39.5