Modified Executive Committee page
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 331 KiB After Width: | Height: | Size: 705 KiB |
@@ -18,14 +18,15 @@
|
|||||||
|
|
||||||
.banner-container {
|
.banner-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 4rem;
|
max-width: 1200px; /* Prevents the banner from getting absurdly wide */
|
||||||
|
margin: 0 auto 4rem auto; /* Centers the banner and keeps the bottom gap */
|
||||||
border-radius: 1.5rem;
|
border-radius: 1.5rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto; /* Allows the image to scale naturally based on its native aspect ratio */
|
height: auto;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -49,7 +50,7 @@
|
|||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
aspect-ratio: 1 / 1; /* CHANGED: Forces the images to be perfectly square */
|
aspect-ratio: 1 / 1;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user