Improved Podium Aesthetic

This commit is contained in:
James Dinh 2022-06-01 18:54:41 -07:00
parent a8ab938ec7
commit 36519d52b5
2 changed files with 55 additions and 11 deletions

View File

@ -167,6 +167,16 @@ nav li a:focus::after{
#card-container { #card-container {
grid-template-columns: repeat(1, 1fr) !important; grid-template-columns: repeat(1, 1fr) !important;
} }
#prize-logo, .podium-label {
transform: scale(0.9);
font-size: 16px !important;
}
#podium-label-1 {
margin-right: 1px !important;
}
#podium-label-2 {
margin-left: 1px !important;
}
} }
@media (max-width: 500px) { @media (max-width: 500px) {
#event, #rules, #prizes, #team { #event, #rules, #prizes, #team {
@ -836,13 +846,6 @@ input[data-description="5"]:checked ~ #timeline-descriptions-wrapper div[data-de
margin-bottom: 10px; margin-bottom: 10px;
} }
#prize-logo {
margin-top: 18px;
height: 50px;
border-radius: 50%;
border: 1px solid white;
}
#second-column { #second-column {
width: 100%; width: 100%;
height: auto; height: auto;
@ -871,6 +874,10 @@ input[data-description="5"]:checked ~ #timeline-descriptions-wrapper div[data-de
width: 100%; width: 100%;
height: 90px; height: 90px;
background-color: #333; background-color: #333;
align-items: center;
text-align: center;
display: flex;
justify-content: center;
} }
#third-podium { #third-podium {
@ -879,6 +886,35 @@ input[data-description="5"]:checked ~ #timeline-descriptions-wrapper div[data-de
background-color: #333; background-color: #333;
} }
.podium-edge {
width: 105%;
height: 10px;
background-color: #24282e;
border-radius: 4px;
z-index: 1;
}
#prize-logo {
height: 50px;
border-radius: 50%;
border: 1px solid rgb(119, 119, 119);
}
.podium-label {
position: relative;
font-size: 20px;
}
#podium-label-1 {
margin-right: 7px;
color: #ff914d;
}
#podium-label-2 {
margin-left: 7px;
color: #ffde59;
}
/* Utilities */ /* Utilities */
#line-header { #line-header {
width: 200px; width: 200px;

View File

@ -51,7 +51,7 @@
<li><a href="#event">Event</a></li> <li><a href="#event">Event</a></li>
<li><a href="#rules">Rules</a></li> <li><a href="#rules">Rules</a></li>
<li><a href="#prizes">Prizes</a></li> <li><a href="#prizes">Prizes</a></li>
<li><a href="#teams">Team</a></li> <li><a href="#team">Team</a></li>
</ul> </ul>
</div> </div>
</nav> </nav>
@ -346,6 +346,7 @@
<img class="prize-laurel" src="img/silver-laurel.png" loading="lazy" alt="silver laurel"> <img class="prize-laurel" src="img/silver-laurel.png" loading="lazy" alt="silver laurel">
<div class="prize-title" id="pr-ti-2">2nd</div> <div class="prize-title" id="pr-ti-2">2nd</div>
<div class="prize-content">A lot of money</div> <div class="prize-content">A lot of money</div>
<div class="podium-edge"></div>
<div id="second-podium"></div> <div id="second-podium"></div>
</div> </div>
</article> </article>
@ -354,7 +355,12 @@
<img class="prize-laurel" src="img/gold-laurel.png" loading="lazy" alt="gold laurel"> <img class="prize-laurel" src="img/gold-laurel.png" loading="lazy" alt="gold laurel">
<div class="prize-title" id="pr-ti-1">1st</div> <div class="prize-title" id="pr-ti-1">1st</div>
<div class="prize-content">A lot of money</div> <div class="prize-content">A lot of money</div>
<div id="first-podium"><img id="prize-logo" src="img/Gilroy Hacks Logo [icon-tp-podium].png" loading="lazy" alt="logo"></div> <div class="podium-edge"></div>
<div id="first-podium">
<p class="podium-label" id="podium-label-1">Gilroy</p>
<img id="prize-logo" src="img/Gilroy Hacks Logo [icon-tp-podium].png" loading="lazy" alt="logo">
<p class="podium-label" id="podium-label-2">Hacks</p>
</div>
</div> </div>
</article> </article>
<article id="third-column"> <article id="third-column">
@ -362,14 +368,16 @@
<img class="prize-laurel" src="img/bronze-laurel.png" loading="lazy" alt="bronze laurel"> <img class="prize-laurel" src="img/bronze-laurel.png" loading="lazy" alt="bronze laurel">
<div class="prize-title" id="pr-ti-3">3rd</div> <div class="prize-title" id="pr-ti-3">3rd</div>
<div class="prize-content">A lot of money</div> <div class="prize-content">A lot of money</div>
<div class="podium-edge"></div>
<div id="third-podium"></div> <div id="third-podium"></div>
</div> </div>
</article> </article>
</div> </div>
</section> </section>
<section id="teams"> <section id="team">
<h2 class="topic">Team</h2> <h2 class="topic">Hackathon Team</h2>
<hr class="line"> <hr class="line">
</section> </section>
</main> </main>
<!--Footer--> <!--Footer-->