Skip to content

Commit

Permalink
misc style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
J164 committed Feb 28, 2025
1 parent f1fc30c commit b5de9d7
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 30 deletions.
4 changes: 2 additions & 2 deletions app/prizes/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const prizesList = [
{
title: "Autonomous Vehicles", // john deere
subheader: "(Track)",
amount: "One Raspberry Pi 4B and one Vehicle Kit per member",
amount: "Winning Team Gets 1 Raspberry Pi 4B and 4 New Vehicle Kits; All Teams Keep Their Vehicle Kit",
imageSrc: "/home/sponsors/john_deere.svg",
code: "john"
},
Expand All @@ -53,7 +53,7 @@ const prizesList = [
code: "agco"
},
{
title: "Most innovative use of Solana", // solana
title: "Most Innovative Use of Solana", // solana
subheader: "(Track)",
amount: "$2,000",
imageSrc: "/home/sponsors/solana.svg",
Expand Down
26 changes: 9 additions & 17 deletions app/prizes/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,11 @@
}

.prizesGrid {
display: grid;
grid-template-columns: repeat(2, 1fr);
display: flex;
flex-wrap: wrap;
row-gap: 10px;
justify-items: center;

:last-child {
grid-column: span 2;
justify-self: center;
}

@media screen and (max-width: 1152px) {
grid-template-columns: repeat(1, 1fr);
}
justify-content: center;
align-items: center;
}

.prizeInfo h2 {
Expand All @@ -70,11 +62,11 @@
}

@media screen and (max-width: 1152px) {
// .prizesGrid {
// grid-template-columns: 2fr;
// margin: 50px auto 0 auto;
// margin-top: 0;
// }
.prizesGrid {
grid-template-columns: 1fr;
margin: 50px auto 0 auto;
margin-top: 0;
}
.character {
margin-left: -100px;
overflow: hidden;
Expand Down
2 changes: 1 addition & 1 deletion app/schedule/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
display: flex;
flex-direction: column;
gap: 10px;
z-index: 999;
z-index: 9;
@media (max-width: 768px) {
width: fit-content;
flex-direction: row;
Expand Down
2 changes: 1 addition & 1 deletion components/GridLayout/GridLayout.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
justify-content: space-between;
align-items: center;
z-index: 1;
padding: 4rem;
padding: 4rem 3vw;
width: 100%;
}
16 changes: 9 additions & 7 deletions components/Navbar/Navbar.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
align-items: center;
justify-content: space-between;

@media screen and (max-width: 960px) {
@media screen and (max-width: 1365px) {
display: none;
}

Expand Down Expand Up @@ -55,7 +55,7 @@
font-weight: 500;
font-size: 20px;
gap: 48px;
@media screen and (max-width: 960px) {
@media screen and (max-width: 1365px) {
display: none;
visibility: hidden;
}
Expand Down Expand Up @@ -86,8 +86,9 @@
position: absolute;
width: 100vw;
z-index: 10;
z-index: 999;

@media screen and (max-width: 960px) {
@media screen and (max-width: 1365px) {
display: flex;
flex-direction: column;
}
Expand All @@ -100,6 +101,7 @@
align-items: center;
width: 100%;
position: relative;
z-index: 9999;

.title {
transform: scale(0.7);
Expand All @@ -114,8 +116,8 @@
margin: 35px 25px;
transform: rotate(0deg) scale(0.7);
transition: 0.5s ease-in-out;
z-index: 1001;
cursor: pointer;
z-index: 9999;

span {
display: block;
Expand Down Expand Up @@ -186,9 +188,9 @@
align-items: center;
margin-bottom: 20px;
width: 100%;
padding-top: 60px;
height: 50vh;
z-index: 6;
padding-top: 100px;
height: 85vh;
z-index: 999;

a {
font-size: x-large;
Expand Down
3 changes: 1 addition & 2 deletions components/Prize/Prize.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
position: relative;
width: 460px;
height: fit-content;
display: inline-block;

@media screen and (max-width: 1152px) {
width: 50vw;
Expand All @@ -17,7 +16,7 @@

.prizeIcon {
height: 25%;
z-index: 999;
z-index: 99;
width: 50%;
}

Expand Down

0 comments on commit b5de9d7

Please sign in to comment.