Skip to content

Commit

Permalink
fixing spacing in prize section.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosendopili committed Sep 25, 2024
1 parent 3aee788 commit 9d581c9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ <h3>3. Debug</h3>
<div class="prize-container">
<h2 class="prize-name">Best Use of Defang</h2>
<p class ="prize prize-description">Use Defang in your project this weekend and you'll qualify to win a Touch Screen IoT Sensor for you and each of your team members! </p>
<br><br>
<a class="prize-link" href="https://www.seeedstudio.com/SenseCAP-Indicator-D1-p-5643.html" target="_blank">
<img class="prize-image" src="images/sensecap_indicator_image.png">
</a>
Expand Down
15 changes: 13 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,10 @@ section{
line-height: 1.5;
}

.prize{
font-weight: bold;
}

.prize-container{
background-image: linear-gradient(65deg, var(--highlight-yellow), var(--shadow-yellow));
background-color: var(--highlight-yellow);
Expand All @@ -291,7 +295,7 @@ section{
width: 300px;
border-radius: 30px;
box-shadow: 0 2px 20px 0px var(--shadow-yellow);
transition: opacity .5s ease-in-out;
transition: opacity .5s ease-in-out;
}

.prize-name{
Expand All @@ -301,6 +305,7 @@ section{

.prize-description {
margin-top: 10px;
margin-bottom: 10px;
width: 70vw;
line-height: 1.5;
color: var(--main-gray);
Expand Down Expand Up @@ -367,6 +372,10 @@ section{
padding-bottom: 20px;
}

.requirements-ul li{
font-size: 15px;
}

#projects-section {
background-image: linear-gradient(65deg, var(--main-dark), var(--main-blue));
padding-bottom: 50px;
Expand Down Expand Up @@ -400,5 +409,7 @@ section{
.hero-graphic, .header-square{
display: none;
}

.requirements-ul li {
font-size: 9px;
}
}

0 comments on commit 9d581c9

Please sign in to comment.