Add Nunito font, update styles, and remove CTAButtons component
This commit is contained in:
+72
-60
@@ -8,6 +8,7 @@
|
||||
--color-lavender: #f1e7ff;
|
||||
--color-white: #ffffff;
|
||||
--color-cyan-accent: #43d8ff;
|
||||
--font-copy: Nunito, Lexend, ui-sans-serif, system-ui, sans-serif;
|
||||
--glow-purple: 0 0 32px rgba(159, 95, 255, 0.45);
|
||||
--border-purple: rgba(190, 143, 255, 0.42);
|
||||
font-family:
|
||||
@@ -50,14 +51,25 @@ a {
|
||||
|
||||
.landing-page {
|
||||
min-height: 100svh;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
overflow: clip;
|
||||
background:
|
||||
radial-gradient(circle at 50% 0%, rgba(181, 140, 255, 0.22), transparent 34rem),
|
||||
linear-gradient(to bottom, rgba(7, 0, 20, 0.18), rgba(54, 0, 95, 0.38)),
|
||||
url('/assets/squiggleverse-bg.webp');
|
||||
background-attachment: fixed;
|
||||
linear-gradient(to bottom, rgba(7, 0, 20, 0.18), rgba(54, 0, 95, 0.38));
|
||||
}
|
||||
|
||||
.landing-page::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
inset: -8svh 0;
|
||||
background-image: url('/assets/squiggleverse-bg.webp');
|
||||
background-position: center top;
|
||||
background-size: cover;
|
||||
transform: translate3d(0, calc(var(--parallax-y, 0px) * -0.16), 0) scale(1.08);
|
||||
transform-origin: center top;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.hero {
|
||||
@@ -70,6 +82,24 @@ a {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
position: relative;
|
||||
width: min(1120px, 100%);
|
||||
margin-inline: auto;
|
||||
padding: 0 clamp(1rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2rem);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.site-footer p {
|
||||
margin: 0;
|
||||
color: rgba(241, 231, 255, 0.74);
|
||||
font-family: var(--font-copy);
|
||||
font-size: clamp(0.85rem, 1.3vw, 1rem);
|
||||
font-weight: 500;
|
||||
letter-spacing: 0;
|
||||
text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
|
||||
}
|
||||
|
||||
.hero-logo {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -112,59 +142,50 @@ a {
|
||||
.intro p {
|
||||
margin: 0;
|
||||
color: var(--color-lavender);
|
||||
font-family: var(--font-copy);
|
||||
font-size: clamp(1.2rem, 2.2vw, 2rem);
|
||||
font-weight: 500;
|
||||
line-height: 1.45;
|
||||
letter-spacing: 0;
|
||||
text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.cta-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 0.8rem;
|
||||
margin-top: clamp(1.4rem, 3vw, 2rem);
|
||||
}
|
||||
|
||||
.button {
|
||||
display: inline-flex;
|
||||
.star-divider {
|
||||
width: min(24rem, 72vw);
|
||||
margin: clamp(1.45rem, 3vw, 2.1rem) auto 0;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto 1fr;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 2.8rem;
|
||||
padding: 0.78rem 1.15rem;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 999px;
|
||||
font-size: 1rem;
|
||||
font-weight: 750;
|
||||
gap: 1.1rem;
|
||||
color: var(--color-purple-light);
|
||||
}
|
||||
|
||||
.star-divider span {
|
||||
height: 2px;
|
||||
background: linear-gradient(90deg, transparent, rgba(181, 140, 255, 0.9), transparent);
|
||||
filter: drop-shadow(0 0 8px rgba(181, 140, 255, 0.7));
|
||||
}
|
||||
|
||||
.star-divider strong {
|
||||
font-size: clamp(1.65rem, 3vw, 2.15rem);
|
||||
line-height: 1;
|
||||
letter-spacing: 0;
|
||||
text-decoration: none;
|
||||
transition:
|
||||
transform 160ms ease,
|
||||
border-color 160ms ease,
|
||||
background-color 160ms ease,
|
||||
box-shadow 160ms ease;
|
||||
font-weight: 900;
|
||||
text-shadow:
|
||||
0 0 12px rgba(181, 140, 255, 0.9),
|
||||
0 0 28px rgba(159, 95, 255, 0.58);
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
transform: translateY(-1px);
|
||||
.star-divider span:first-child {
|
||||
background: linear-gradient(90deg, transparent, rgba(181, 140, 255, 0.9));
|
||||
}
|
||||
|
||||
.button-primary {
|
||||
color: #06121a;
|
||||
background: var(--color-cyan-accent);
|
||||
box-shadow: 0 0 24px rgba(67, 216, 255, 0.28);
|
||||
.star-divider span:last-child {
|
||||
background: linear-gradient(90deg, rgba(181, 140, 255, 0.9), transparent);
|
||||
}
|
||||
|
||||
.button-secondary {
|
||||
color: var(--color-lavender);
|
||||
border-color: rgba(241, 231, 255, 0.34);
|
||||
background: rgba(10, 0, 28, 0.46);
|
||||
}
|
||||
|
||||
.button-secondary:hover {
|
||||
border-color: rgba(241, 231, 255, 0.6);
|
||||
background: rgba(42, 15, 86, 0.62);
|
||||
:focus-visible {
|
||||
outline: 3px solid var(--color-cyan-accent);
|
||||
outline-offset: 4px;
|
||||
}
|
||||
|
||||
.sr-only {
|
||||
@@ -180,11 +201,6 @@ a {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 3px solid var(--color-cyan-accent);
|
||||
outline-offset: 4px;
|
||||
}
|
||||
|
||||
.error-page {
|
||||
min-height: 100svh;
|
||||
display: grid;
|
||||
@@ -201,8 +217,9 @@ a {
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.landing-page {
|
||||
background-attachment: scroll;
|
||||
.landing-page::before {
|
||||
inset: -4svh 0;
|
||||
transform: translate3d(0, calc(var(--parallax-y, 0px) * -0.1), 0) scale(1.08);
|
||||
}
|
||||
|
||||
.hero {
|
||||
@@ -231,16 +248,6 @@ a {
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 440px) {
|
||||
.cta-row {
|
||||
width: min(19rem, 92vw);
|
||||
}
|
||||
|
||||
.button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
*::before,
|
||||
@@ -250,4 +257,9 @@ a {
|
||||
scroll-behavior: auto !important;
|
||||
transition-duration: 0.001ms !important;
|
||||
}
|
||||
|
||||
.landing-page::before {
|
||||
transform: none;
|
||||
will-change: auto;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user