From ff1aa41c95df1a28058f949e107d1ad43e8c6651 Mon Sep 17 00:00:00 2001 From: Domenico Cipriani <77632814+lucretiomsp@users.noreply.github.com> Date: Wed, 30 Oct 2024 12:54:17 +0100 Subject: [PATCH] Update home2.css --- home2.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/home2.css b/home2.css index b128f73..4a83834 100644 --- a/home2.css +++ b/home2.css @@ -1,3 +1,24 @@ body { background-color: lightblue; } + + +/* Set up the grid container */ +.container { + display: grid; + grid-template-columns: 1fr 2fr 1fr; /* 1/3 - 1/3 - 1/3 layout */ + gap: 10px; /* Optional gap between columns */ + height: 100vh; /* Full viewport height */ +} + +/* Sidebar styling */ +.sidebar { + grid-column: 1 / 2; + background-color: #f0f0f0; /* Light background for visibility */ +} + +/* Home styling - Centered in the middle column */ +.home { + grid-column: 2 / 3; + background-color: #e0e0ff; /* Light background for visibility */ +}