From d124ee0cc2c6bf63e2b605bbee356be15397c211 Mon Sep 17 00:00:00 2001 From: dublUayaychtee Date: Sat, 31 Aug 2024 16:55:32 -0400 Subject: [PATCH] add team image --- src/index.html | 5 +++++ src/index.scss | 37 ++++++++++++++++++++++++++++++++++--- 2 files changed, 39 insertions(+), 3 deletions(-) diff --git a/src/index.html b/src/index.html index 0cbab6e..e598d2a 100644 --- a/src/index.html +++ b/src/index.html @@ -30,6 +30,11 @@ share the same interest—STEM! Everyone is welcome to join, and there are no prerequisites. + +
+ Image of Team 1721 + at 2024 New England Districts +

What is FIRST?

FIRST For Inspiration and Recognition of Science and Technology was diff --git a/src/index.scss b/src/index.scss index 66b7a6e..28f6e27 100644 --- a/src/index.scss +++ b/src/index.scss @@ -5,7 +5,6 @@ margin: 0; padding: 0; font-family: "HKGrotesk", Geneva, Verdana, sans-serif; - font: optional; } main { @@ -29,8 +28,13 @@ main { max-width: 1200px; color: #ebdbb2; position: relative; - padding: 64px 48px; border-radius: 32px; + padding: 64px 0; + + & > * { + margin-right: 48px; + margin-left: 48px; + } .splash { position: absolute; @@ -81,12 +85,36 @@ main { margin-top: 32px; font-size: 26px; } + + .team { + margin: 32px 0; + position: relative; + + img { + width: 100%; + display: block; + } + + span { + position: absolute; + bottom: 8px; + left: 50%; + transform: translateX(-50%); + color: #1d2021; + font-size: 20px; + font-weight: 400; + font-style: italic; + } + } } } @media (width <= 600px) { .content { - padding: 32px 20px !important; + & > * { + margin-right: 20px; + margin-left: 20px; + } .splash { top: -60px !important; font-size: 50px !important; @@ -95,5 +123,8 @@ main { font-size: 40px !important; } } + .team span { + font-size: 16px !important; + } } }