fix landing page styles

This commit is contained in:
SowinskiBraeden committed 2026-05-08 18:12:43 -07:00
1 parent df29374ad8
commit b8172f68a1
1 file changed
+141 -56
+141 -56
View File
@@ -56,8 +56,18 @@ body {
line-height: 1.6;
word-break: break-word;
background: var(--theme);
font-family: "Poppins", -apple-system, BlinkMacSystemFont, segoe ui, Roboto, Oxygen, Ubuntu, Cantarell, open sans,
helvetica neue, sans-serif;
font-family:
"Poppins",
-apple-system,
BlinkMacSystemFont,
segoe ui,
Roboto,
Oxygen,
Ubuntu,
Cantarell,
open sans,
helvetica neue,
sans-serif;
min-height: 100vh;
position: relative;
overflow-x: hidden;
@@ -70,25 +80,52 @@ body::after {
inset: -20%;
pointer-events: none;
z-index: 0;
transition: transform 0.18s ease-out, opacity 0.25s ease-out;
transition:
transform 0.18s ease-out,
opacity 0.25s ease-out;
}
body::before {
background:
radial-gradient(circle at var(--hero-glow-x) var(--hero-glow-y), rgba(235, 82, 52, 0.24), transparent 18%),
radial-gradient(circle at var(--hero-glow-alt-x) var(--hero-glow-alt-y), rgba(255, 0, 90, 0.14), transparent 20%);
radial-gradient(
circle at var(--hero-glow-x) var(--hero-glow-y),
rgba(235, 82, 52, 0.24),
transparent 18%
),
radial-gradient(
circle at var(--hero-glow-alt-x) var(--hero-glow-alt-y),
rgba(255, 0, 90, 0.14),
transparent 20%
);
filter: blur(48px);
opacity: 0.9;
transform: translate3d(var(--hero-glow-shift-x), var(--hero-glow-shift-y), 0) rotate(var(--hero-glow-rotate));
transform: translate3d(
var(--hero-glow-shift-x),
var(--hero-glow-shift-y),
0
)
rotate(var(--hero-glow-rotate));
}
body::after {
background:
radial-gradient(circle at 20% 20%, rgba(235, 82, 52, 0.08), transparent 20%),
radial-gradient(circle at 80% 18%, rgba(255, 0, 90, 0.05), transparent 18%);
radial-gradient(
circle at 20% 20%,
rgba(235, 82, 52, 0.08),
transparent 20%
),
radial-gradient(
circle at 80% 18%,
rgba(255, 0, 90, 0.05),
transparent 18%
);
filter: blur(90px);
opacity: 0.55;
transform: translate3d(calc(var(--hero-glow-shift-x) * -0.35), calc(var(--hero-glow-shift-y) * -0.35), 0)
transform: translate3d(
calc(var(--hero-glow-shift-x) * -0.35),
calc(var(--hero-glow-shift-y) * -0.35),
0
)
rotate(calc(var(--hero-glow-rotate) * -0.45));
}
@@ -135,7 +172,7 @@ ul {
}
ul li::before {
content: '';
content: "";
position: absolute;
margin-top: 42pt;
width: 0;
@@ -249,18 +286,11 @@ ul {
position: absolute;
}
.hero-nameplate {
position: relative;
width: 320pt;
height: 64pt;
margin: 0 auto;
}
.svg-wrapper {
margin: 0 auto;
width: 320pt;
position: absolute;
inset: 0;
position: relative;
height: 64pt;
overflow-y: hidden;
}
@@ -272,7 +302,10 @@ ul {
stroke-width: 8pt;
fill: transparent;
stroke: var(--secondary);
transition: stroke-width 1s, stroke-dashoffset 1s, stroke-dasharray 1s;
transition:
stroke-width 1s,
stroke-dashoffset 1s,
stroke-dasharray 1s;
}
.svg-wrapper:hover .shape {
@@ -285,16 +318,13 @@ ul {
transition: 0.8s;
font-size: 30px;
font-weight: 900;
margin: 0;
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 10pt;
transform: translate(0, -64pt);
}
.name:hover,
.des:hover {
.des:hover,
.mobile-name:hover {
color: var(--secondary);
cursor: default;
}
@@ -465,7 +495,9 @@ body:not(.light) #sun {
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity 0.28s ease, visibility 0.28s ease;
transition:
opacity 0.28s ease,
visibility 0.28s ease;
}
.overlay--active {
@@ -485,7 +517,9 @@ body:not(.light) #sun {
justify-content: center;
opacity: 0;
transform: translateY(12px) scale(0.985);
transition: opacity 0.24s ease, transform 0.24s ease;
transition:
opacity 0.24s ease,
transform 0.24s ease;
}
.overlay--active .overlay__content {
@@ -501,7 +535,9 @@ body:not(.light) #sun {
line-height: 1.1;
display: block;
text-align: center;
transition: color 0.24s ease, transform 0.24s ease;
transition:
color 0.24s ease,
transform 0.24s ease;
}
.overlay__content a {
@@ -530,6 +566,13 @@ body:not(.light) #sun {
appearance: none;
}
.mobile-name {
display: none;
transition: 0.8s;
font-size: 30px;
font-weight: 900;
}
body.menu-open {
overflow: hidden;
}
@@ -585,18 +628,8 @@ body.menu-open .overlay * {
display: none;
}
.menu {
display: block;
}
.hero-nameplate {
width: auto;
height: auto;
margin-top: 2pt;
}
.name {
position: static;
.menu,
.mobile-name {
display: block;
}
@@ -639,7 +672,6 @@ body.menu-open .overlay * {
}
}
@media (prefers-reduced-motion: reduce) {
body::before,
body::after {
@@ -674,18 +706,42 @@ body {
body::before {
background:
radial-gradient(circle at var(--hero-glow-x) var(--hero-glow-y), rgba(255, 255, 255, 0.08), transparent 12%),
radial-gradient(circle at var(--hero-glow-x) var(--hero-glow-y), rgba(235, 82, 52, 0.3), transparent 24%),
radial-gradient(circle at var(--hero-glow-alt-x) var(--hero-glow-alt-y), rgba(255, 0, 90, 0.18), transparent 24%);
radial-gradient(
circle at var(--hero-glow-x) var(--hero-glow-y),
rgba(255, 255, 255, 0.08),
transparent 12%
),
radial-gradient(
circle at var(--hero-glow-x) var(--hero-glow-y),
rgba(235, 82, 52, 0.3),
transparent 24%
),
radial-gradient(
circle at var(--hero-glow-alt-x) var(--hero-glow-alt-y),
rgba(255, 0, 90, 0.18),
transparent 24%
);
filter: blur(78px);
opacity: 1;
}
body::after {
background:
radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.055), transparent 15%),
radial-gradient(circle at 82% 14%, rgba(235, 82, 52, 0.08), transparent 18%),
radial-gradient(circle at 70% 76%, rgba(255, 255, 255, 0.03), transparent 20%);
radial-gradient(
circle at 18% 18%,
rgba(255, 255, 255, 0.055),
transparent 15%
),
radial-gradient(
circle at 82% 14%,
rgba(235, 82, 52, 0.08),
transparent 18%
),
radial-gradient(
circle at 70% 76%,
rgba(255, 255, 255, 0.03),
transparent 20%
);
filter: blur(110px);
opacity: 0.82;
}
@@ -714,7 +770,11 @@ button#theme-toggle {
padding: 34px 28px 18px;
border: 1px solid rgba(255, 255, 255, 0.13);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
linear-gradient(
180deg,
rgba(255, 255, 255, 0.12),
rgba(255, 255, 255, 0.02)
),
linear-gradient(135deg, rgba(235, 82, 52, 0.09), transparent 42%),
linear-gradient(225deg, rgba(255, 0, 90, 0.05), transparent 34%),
rgba(20, 21, 24, 0.44);
@@ -726,12 +786,19 @@ button#theme-toggle {
-webkit-backdrop-filter: blur(22px) saturate(135%);
isolation: isolate;
transform: none;
transition: transform 0.18s ease-out, border-color 0.25s ease-out, box-shadow 0.25s ease-out;
transition:
transform 0.18s ease-out,
border-color 0.25s ease-out,
box-shadow 0.25s ease-out;
}
body.light .hero-shell {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.4)),
linear-gradient(
180deg,
rgba(255, 255, 255, 0.72),
rgba(255, 255, 255, 0.4)
),
linear-gradient(135deg, rgba(235, 82, 52, 0.08), transparent 42%),
linear-gradient(225deg, rgba(255, 0, 90, 0.04), transparent 34%),
rgba(255, 255, 255, 0.42);
@@ -752,7 +819,11 @@ body.light .hero-shell {
}
.hero-shell::before {
background: radial-gradient(circle at var(--hero-shell-spot-x) var(--hero-shell-spot-y), rgba(255, 255, 255, 0.14), transparent 26%);
background: radial-gradient(
circle at var(--hero-shell-spot-x) var(--hero-shell-spot-y),
rgba(255, 255, 255, 0.14),
transparent 26%
);
opacity: 0.85;
z-index: 0;
}
@@ -765,8 +836,18 @@ body.light .hero-shell {
}
.hero-shell__shine {
background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.085) 42%, transparent 68%);
transform: translate3d(calc(var(--hero-glow-shift-x) * 0.18), calc(var(--hero-glow-shift-y) * 0.16), 0) rotate(0deg);
background: linear-gradient(
115deg,
transparent 18%,
rgba(255, 255, 255, 0.085) 42%,
transparent 68%
);
transform: translate3d(
calc(var(--hero-glow-shift-x) * 0.18),
calc(var(--hero-glow-shift-y) * 0.16),
0
)
rotate(0deg);
opacity: 0.9;
z-index: 0;
}
@@ -814,7 +895,11 @@ body.light .badge {
}
.button-primary {
background: linear-gradient(135deg, rgba(255, 108, 74, 0.96), rgba(235, 82, 52, 0.9));
background: linear-gradient(
135deg,
rgba(255, 108, 74, 0.96),
rgba(235, 82, 52, 0.9)
);
box-shadow:
0 10px 24px rgba(235, 82, 52, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.14);