-
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
6f5e2cd
commit b21d839
Showing
8 changed files
with
275 additions
and
109 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
src/app/pages/Designathons/Designathon24/assets/graphics/splash/bl_star_stripe.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions
9
src/app/pages/Designathons/Designathon24/assets/graphics/splash/br_star_stripe.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions
23
src/app/pages/Designathons/Designathon24/assets/graphics/splash/butterfly.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions
9
src/app/pages/Designathons/Designathon24/assets/graphics/splash/clouds.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions
22
src/app/pages/Designathons/Designathon24/assets/graphics/splash/mr_cloud_stars.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
266 changes: 158 additions & 108 deletions
266
src/app/pages/Designathons/Designathon24/components/Splash/Splash.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,114 +1,164 @@ | ||
.container { | ||
background-color: #fff5e0; | ||
height: 100%; | ||
width: 100%; | ||
position: absolute; | ||
display: grid; | ||
place-content: center; | ||
|
||
.logo { | ||
max-width: max(50vw, 360px); | ||
margin: 0 auto; | ||
padding-bottom: 60%; | ||
|
||
@media screen and (min-width: 800px) { | ||
padding-bottom: 30%; | ||
} | ||
|
||
path { | ||
stroke-width: 5; | ||
.word { | ||
stroke-dashoffset: 10px; | ||
stroke-width: 5; | ||
stroke-dasharray: 1500; | ||
opacity: 0; | ||
|
||
@for $i from 1 through 10 { | ||
&:nth-child(#{$i}n) { | ||
animation: fadeIn forwards 1s #{$i * 350}ms ease-in; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
.info { | ||
font-size: 1.8em; | ||
text-align: center; | ||
position: absolute; | ||
place-self: center; | ||
bottom: 15%; | ||
z-index: 110; | ||
|
||
.time { | ||
font-size: min(4vw, 40px); | ||
grid-column: 1/3; | ||
font-family: "Gluten", cursive; | ||
font-weight: 600; | ||
margin-bottom: 24px; | ||
|
||
} | ||
|
||
.wrapper { | ||
display: grid; | ||
grid-template-columns: 1fr; | ||
column-gap: 40px; | ||
row-gap: 10px; | ||
max-width: 800px; | ||
margin: 0 auto; | ||
|
||
@media screen and (max-width: 800px) { | ||
grid-template-columns: 1fr; | ||
.border{ | ||
padding: 4px !important; | ||
} | ||
.app { | ||
border-radius: 16px !important; | ||
padding: 14px 20px !important; | ||
font-size: 18px !important; | ||
|
||
} | ||
} | ||
|
||
.border { | ||
margin: 0 auto; | ||
width: max-content; | ||
border-radius: 20px; | ||
background: linear-gradient(93.29deg, #1F3066 8.27%, #F84E72 74.24%, #FF6969 99.26%); | ||
padding: 6px; | ||
transition: background 250ms; | ||
|
||
&:hover { | ||
|
||
background: #1F3066; | ||
.app { | ||
background: #1F3066; | ||
color: white; | ||
} | ||
|
||
} | ||
|
||
.app { | ||
transition: background 250ms, color 250ms; | ||
background-color: #fff5e0; | ||
width: 100%; | ||
border-radius: 14px; | ||
font-size: 0.6em; | ||
padding: 20px 40px; | ||
} | ||
} | ||
|
||
} | ||
} | ||
background-color: #fff5e0; | ||
height: 100%; | ||
width: 100%; | ||
position: absolute; | ||
display: grid; | ||
place-content: center; | ||
|
||
.logo { | ||
position: relative; | ||
max-width: max(50vw, 360px); | ||
margin: 0 auto; | ||
padding-bottom: 60%; | ||
|
||
@media screen and (min-width: 800px) { | ||
padding-bottom: 40%; | ||
} | ||
|
||
path { | ||
stroke-width: 5; | ||
.word { | ||
stroke-dashoffset: 10px; | ||
stroke-width: 5; | ||
stroke-dasharray: 1500; | ||
opacity: 0; | ||
|
||
@for $i from 1 through 10 { | ||
&:nth-child(#{$i}n) { | ||
animation: fadeIn forwards 1s #{$i * 350}ms ease-in; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
.info { | ||
font-size: 1.8em; | ||
text-align: center; | ||
position: absolute; | ||
place-self: center; | ||
bottom: 15%; | ||
z-index: 110; | ||
|
||
.time { | ||
font-size: min(4vw, 40px); | ||
grid-column: 1/3; | ||
font-family: "Gluten", cursive; | ||
font-weight: 600; | ||
margin-bottom: 24px; | ||
} | ||
|
||
.wrapper { | ||
display: grid; | ||
grid-template-columns: 1fr; | ||
column-gap: 40px; | ||
row-gap: 10px; | ||
max-width: 800px; | ||
margin: 0 auto; | ||
|
||
@media screen and (max-width: 800px) { | ||
grid-template-columns: 1fr; | ||
.border { | ||
padding: 4px !important; | ||
} | ||
.app { | ||
border-radius: 16px !important; | ||
padding: 14px 20px !important; | ||
font-size: 18px !important; | ||
} | ||
} | ||
|
||
.border { | ||
margin: 0 auto; | ||
width: max-content; | ||
border-radius: 20px; | ||
background: linear-gradient( | ||
93.29deg, | ||
#1f3066 8.27%, | ||
#f84e72 74.24%, | ||
#ff6969 99.26% | ||
); | ||
padding: 6px; | ||
transition: background 250ms; | ||
|
||
&:hover { | ||
background: #1f3066; | ||
.app { | ||
background: #1f3066; | ||
color: white; | ||
} | ||
} | ||
|
||
.app { | ||
transition: | ||
background 250ms, | ||
color 250ms; | ||
background-color: #fff5e0; | ||
width: 100%; | ||
border-radius: 14px; | ||
font-size: 0.6em; | ||
padding: 20px 40px; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
@keyframes fadeIn { | ||
from { | ||
opacity: 0; | ||
} | ||
from { | ||
opacity: 0; | ||
} | ||
|
||
to { | ||
opacity: 1; | ||
} | ||
} | ||
|
||
.decoration { | ||
position: absolute; | ||
|
||
to { | ||
opacity: 1; | ||
} | ||
max-width: 30%; | ||
} | ||
|
||
.tl_clouds { | ||
top: 0; | ||
left: 0; | ||
|
||
max-width: 40%; | ||
|
||
@media screen and (min-width: 800px) { | ||
max-width: 20%; | ||
} | ||
} | ||
|
||
.butterfly { | ||
top: 55%; | ||
left: 0; | ||
|
||
@media screen and (min-width: 800px) { | ||
top: 30%; | ||
} | ||
} | ||
|
||
.bl_star_stripe { | ||
bottom: 0; | ||
left: 0; | ||
} | ||
|
||
.mr_cloud_stars { | ||
top: unset; | ||
bottom: 35%; | ||
right: 0; | ||
max-width: 40%; | ||
|
||
} | ||
@media screen and (min-width: 800px) { | ||
top: 20%; | ||
max-width: 20%; | ||
} | ||
} | ||
|
||
.br_star_stripe { | ||
bottom: 0; | ||
right: 0; | ||
} |
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