Created
July 1, 2024 05:03
-
-
Save not-ivy/b152397be4b72fcb5261c15e064be87e to your computer and use it in GitHub Desktop.
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
body { | |
min-height: fit-content; | |
background-color: #f7f2ff; | |
color: #392142; | |
font-family: 'Gambarino', serif; | |
&>.page { | |
min-height: 100dvh; | |
height: 100%; | |
padding: 3rem; | |
} | |
&>#page-1 { | |
display: flex; | |
align-items: center; | |
justify-content: space-between; | |
position: relative; | |
&>#hero { | |
position: relative; | |
&::after { | |
content: ""; | |
display: block; | |
position: absolute; | |
z-index: -5; | |
top: 0; | |
left: -3rem; | |
height: 100%; | |
width: 125%; | |
transform: scaleY(250%); | |
border-radius: 50px; | |
background: linear-gradient(to bottom, rgba(161, 140, 209, 0.5) 0%, rgba(251, 194, 235, 0.5) 100%); | |
filter: blur(50px); | |
} | |
&>h1 { | |
font-size: 3rem; | |
margin-bottom: 2.5rem; | |
letter-spacing: 0.05rem; | |
&::after { | |
display: block; | |
content: 'polyphony'; | |
font-family: 'Morsot'; | |
font-size: 3.5rem; | |
line-height: 0; | |
opacity: 90%; | |
} | |
} | |
&>h2 { | |
font-size: 1.75rem; | |
letter-spacing: 0.075rem; | |
&>span { | |
background: linear-gradient(to right, #4700ff9a 0%, #4700ffff 100%); | |
background-clip: text; | |
color: transparent; | |
position: relative; | |
display: inline-block; | |
&::after { | |
position: absolute; | |
display: block; | |
content: 'simple'; | |
font-family: 'Morsot'; | |
font-size: 2.5rem; | |
opacity: 90%; | |
line-height: 0.3; | |
height: 1ch; | |
background: linear-gradient(to right, #4700ff9a 0%, #4700ffff 100%); | |
background-clip: text; | |
color: transparent; | |
margin-top: -0.4rem; | |
} | |
} | |
} | |
} | |
&>img { | |
width: 30dvw; | |
aspect-ratio: 1/1; | |
margin-right: 10dvw; | |
} | |
&>footer { | |
position: absolute; | |
bottom: 0; | |
&>h3 { | |
font-size: 2rem; | |
display: flex; | |
align-items: center; | |
width: calc(100dvw - 3rem); | |
letter-spacing: 0.15rem; | |
text-wrap: nowrap; | |
&::after { | |
display: inline-block; | |
content: ''; | |
height: 2rem; | |
width: 100%; | |
background-color: #392142; | |
/* lol https://css-generators.com/wavy-shapes/ */ | |
--mask: | |
radial-gradient(48.22px at 50% calc(100% + 34.5px), #0000 calc(99% - 5px), #000 calc(101% - 5px) 99%, #0000 101%) calc(50% - 60px) calc(50% - 17.5px + .5px)/120px 35px repeat-x, | |
radial-gradient(48.22px at 50% -34.5px, #0000 calc(99% - 5px), #000 calc(101% - 5px) 99%, #0000 101%) 50% calc(50% + 17.5px)/120px 35px repeat-x; | |
-webkit-mask: var(--mask); | |
mask: var(--mask); | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment