diff --git a/pages/index.module.css b/pages/index.module.css index cc1b36b0..83290fd0 100644 --- a/pages/index.module.css +++ b/pages/index.module.css @@ -19,7 +19,7 @@ flex-direction: row; justify-content: center; align-items: center; - gap: calc(15rem / 16); + gap: 1rem; } .clubTitleWrapper img { @@ -64,7 +64,7 @@ align-items: flex-start; gap: calc(100rem / 16); - padding: calc(42rem / 16); + padding: calc(42rem / 16) calc(100rem / 16); } .cardsHeading { @@ -101,10 +101,16 @@ padding-bottom: calc(20rem / 16); } -/* On a smaller desktop screen, decrease the horizontal space between events/news */ +/* On a smaller desktop screen, make the events/new flow vertically */ @media only screen and (max-width: calc(960rem / 16)) { .cards { - gap: calc(50rem / 16); + flex-direction: column; + align-items: center; + gap: calc(32rem / 16); + } + + .cards > section { + max-width: calc(540rem / 16); } } diff --git a/pages/index.tsx b/pages/index.tsx index 7721cec8..11e75087 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -24,7 +24,7 @@ export default function Home() { return ( <> -
+
CSC Logo @@ -41,12 +41,12 @@ export default function Home() { src="/images/home/codey_sitting.svg" alt="CSC mascot Codey, a blue shiba with circular glasses" /> -
+
{/* TODO: add links to past events and past news */}
-

Upcoming Events

+

Upcoming Events

See past events here


@@ -59,7 +59,7 @@ export default function Home() {
-

News

+

News

Updates from our execs!
See past news here @@ -79,5 +79,5 @@ export default function Home() { } Home.Layout = function HomeLayout(props: { children: React.ReactNode }) { - return props.children; + return

{props.children}
; };