Skip to content

Commit

Permalink
Update home2.css
Browse files Browse the repository at this point in the history
  • Loading branch information
lucretiomsp authored Oct 30, 2024
1 parent 71ce87f commit ff1aa41
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions home2.css
Original file line number Diff line number Diff line change
@@ -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 */
}

0 comments on commit ff1aa41

Please sign in to comment.