-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0625104
commit c5f6031
Showing
9 changed files
with
193 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
src/app/pages/Designathons/Designathon24/assets/graphics/rules/cream.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
src/app/pages/Designathons/Designathon24/assets/graphics/rules/cream_hot_pink.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions
30
src/app/pages/Designathons/Designathon24/assets/graphics/rules/hearts.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
src/app/pages/Designathons/Designathon24/assets/graphics/rules/peach_cream.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
src/app/pages/Designathons/Designathon24/assets/graphics/rules/pink.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
107 changes: 102 additions & 5 deletions
107
src/app/pages/Designathons/Designathon24/components/Rules/Rules.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,106 @@ | ||
.container { | ||
background-color: var(--silver); | ||
position: relative; | ||
background-color: var(--des24-black); | ||
|
||
& h2 { | ||
padding-bottom: 20px; | ||
font-size: 3em; | ||
font-weight: bold; | ||
padding: 5rem 2rem; | ||
font-size: 1em; | ||
|
||
.heading { | ||
color: var(--des24-hot-pink); | ||
font-size: 3rem; | ||
font-weight: 700; | ||
margin-bottom: 4rem; | ||
|
||
@media screen and (min-width: 640px) { | ||
font-size: 5rem; | ||
} | ||
|
||
@media screen and (min-width: 1280px) { | ||
font-size: 6rem; | ||
} | ||
} | ||
|
||
.rules { | ||
height: 100%; | ||
min-height: 100%; | ||
|
||
display: grid; | ||
grid-template-columns: repeat(1, 1fr); | ||
gap: 1.5rem; | ||
|
||
@media screen and (min-width: 768px) { | ||
grid-template-columns: repeat(2, 1fr); | ||
gap: 3rem; | ||
} | ||
|
||
@media screen and (min-width: 1280px) { | ||
grid-template-columns: repeat(3, 1fr); | ||
gap: 5rem; | ||
} | ||
|
||
.rule { | ||
width: 100%; | ||
max-width: 400px; | ||
aspect-ratio: 1; | ||
|
||
position: relative; | ||
display: flex; | ||
justify-content: center; | ||
margin: auto; | ||
|
||
.text { | ||
color: var(--des24-black); | ||
width: 75%; | ||
margin: auto 10%; | ||
|
||
font-size: 0.75rem; | ||
|
||
display: flex; | ||
flex-direction: column; | ||
gap: 0.5rem; | ||
|
||
font-size: 1rem; | ||
|
||
@media screen and (min-width: 1280px) { | ||
font-size: 1.5rem; | ||
} | ||
|
||
.number { | ||
font-size: 1.5rem; | ||
text-align: center; | ||
|
||
@media screen and (min-width: 1024px) { | ||
font-size: 2rem; | ||
} | ||
} | ||
} | ||
|
||
.bg { | ||
position: absolute; | ||
z-index: -1; | ||
|
||
height: 100%; | ||
|
||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
} | ||
} | ||
} | ||
|
||
@media screen and (min-width: 768px) { | ||
padding: 6rem 5rem; | ||
} | ||
} | ||
|
||
.hearts { | ||
position: absolute; | ||
width: 25%; | ||
|
||
top: 2.5%; | ||
right: 2.5%; | ||
|
||
@media screen and (min-width: 768px) { | ||
width: 15%; | ||
} | ||
} |
68 changes: 46 additions & 22 deletions
68
src/app/pages/Designathons/Designathon24/components/Rules/index.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters