From 92aa944f928d31e5c92642cbe1470e1bd3b6c5d4 Mon Sep 17 00:00:00 2001 From: Hieu Nguyen Date: Sat, 18 Jan 2025 14:15:15 -0800 Subject: [PATCH] Feat: sponsor media query changes --- styles.css | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/styles.css b/styles.css index 593bfdd..325180f 100644 --- a/styles.css +++ b/styles.css @@ -512,23 +512,22 @@ footer #icon-row { font-size: 1.2rem; } #sponsor-row { - display: flex; - flex-wrap: wrap; - justify-content: space-evenly; - /* flex-direction: column; */ + display:block; width: 100%; - margin: 2rem auto; + margin: 2rem auto; gap: 1rem; } .sponsor-card { - width: 85vw; + width: 100%; height: 10vh; border: 1px solid black; margin: 1rem 0; } - .sponsor-card:nth-child(3) { + /* .sponsor-card:nth-child(3) { + margin-let:auto; + width: 60%; /* Centered card spans a larger width */ - } + } */ .sponsor-card .img { height: 100%; width: 100%;