From 4cfac04d858426fd67b32c7dc16ef7dbb9eca86d Mon Sep 17 00:00:00 2001 From: KaiiB <85962472+KaiiB@users.noreply.github.com> Date: Wed, 2 Oct 2024 21:36:09 -0700 Subject: [PATCH] container/alignment changes --- src/lib/client/infoCard.svelte | 58 +++++++++++++++++++++------- src/routes/+layout.svelte | 8 ++-- src/routes/get-involved/+page.svelte | 42 +++++++++++++++----- 3 files changed, 80 insertions(+), 28 deletions(-) diff --git a/src/lib/client/infoCard.svelte b/src/lib/client/infoCard.svelte index d84e724..e603c40 100644 --- a/src/lib/client/infoCard.svelte +++ b/src/lib/client/infoCard.svelte @@ -14,14 +14,14 @@ {:else}
+
As a not-for-profit student organization, the Data Science Student Society (DS3) is funded largely through donations. You can support our cause by donating, which allows us to increase the extent to which we can achieve our mission. Each donation goes a long way and makes a huge difference. @@ -50,7 +50,9 @@ font-family: 'Montserrat'; background-color: var(--base-bg); } - + .content { + white-space: normal; + } .title-sec { height: 40vh; background-image: url("/images/backgrounds/city_skyline.jpg"); @@ -60,6 +62,8 @@ align-items: center; text-align: center; justify-content: space-around; + text-wrap: wrap; + } .title-sec h1 { color: white; @@ -72,6 +76,8 @@ padding-bottom: 5vh; margin-left: 15vw; margin-right: 15vw; + + } .info-sec h2 { text-align: center; @@ -83,9 +89,27 @@ font-family: 'Montserrat'; font-size: 25px; } - + .card-container { - display: flex; - justify-content: space-around; + display: flex; + justify-content: space-around; + flex-direction: row; + } + @media (min-width: 912px) { + .card-container { + display: flex; + justify-content: space-around; + flex-direction: row; + } + } + + @media (max-width: 911px) { + .card-container { + display: block; + justify-content: space-around; + flex-direction: column; + } } + +