Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 54 additions & 4 deletions src/SimpleLanding.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,54 @@
/* Simple Lightbot-style Landing Styles for SpidoCode */

/* Motion Experience V1: contenido visible por defecto, sin capas que intercepten enlaces. */
.motion-label { position:relative; display:inline-block; }
.motion-label > span:first-child { opacity:0; }
.motion-label-display { position:absolute; inset:0; }
.motion-experience .motion-title-text, .motion-experience .motion-title-text span { color:inherit; }
.motion-title-word { display:inline-block; white-space:nowrap; }
.motion-title-glyph { position:relative; display:inline-block; }
.motion-title-reserve { visibility:hidden; }
.motion-title-display { position:absolute; inset:0; text-align:center; }
.motion-title-accessible { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.motion-experience a:focus-visible,
.motion-experience button:focus-visible { outline:3px solid var(--color-soft-green-dark); outline-offset:5px; }
.motion-star-border { position:relative; isolation:isolate; }
.motion-star-border::before { content:''; position:absolute; inset:-3px; border-radius:inherit; padding:3px; pointer-events:none; background:linear-gradient(110deg,#7cbb8966 20%,#d6eedc 45%,#7cbb89 52%,#7cbb8966 75%); background-size:250% 100%; mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); mask-composite:exclude; }
@media (prefers-reduced-motion:no-preference) {
.motion-experience .sec-hero-title { animation:motion-hero-title 850ms cubic-bezier(.2,.7,.3,1) both; }
.motion-experience .sec-hero-subtitle { animation:motion-arrive 650ms 200ms ease-out both; }
.motion-experience .sec-hero-actions { animation:motion-arrive 650ms 380ms ease-out both; }
.motion-experience .sec-hero-face-standalone { animation:motion-float 6s ease-in-out infinite; }
.motion-experience .motion-star-border::before { animation:motion-star 4.5s linear infinite; }
.motion-experience a,
.motion-experience button { transition:background-color 180ms ease,color 180ms ease,box-shadow 180ms ease,transform 180ms ease; }
.motion-experience a:active,
.motion-experience button:active { transform:translateY(1px); }
.motion-experience .sec-hero-copy:focus-within .sec-hero-actions { animation:none; }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
.motion-experience [data-motion-card] { transform:perspective(950px) translateY(0) rotateX(0deg) rotateY(0deg); transition:transform 260ms ease-out,box-shadow 260ms ease-out; }
.motion-experience [data-motion-card]:hover { transform:perspective(950px) translateY(0) rotateX(0deg) rotateY(0deg); }
.motion-experience .game-app-card { transform-style:preserve-3d; }
.motion-experience .game-app-card:hover,
.motion-experience .lightbot-four-image-frame[data-motion-card]:hover { box-shadow:var(--motion-shadow-x,0px) var(--motion-shadow-y,16px) 34px #1618212b; }
.motion-experience .lightbot-card[data-motion-card]:hover { box-shadow:var(--motion-shadow-x,0px) var(--motion-shadow-y,16px) 38px #0005; }
.motion-experience .game-app-icon-placeholder { transition:transform 260ms ease-out; }
.motion-experience .game-app-card:hover .game-app-icon-placeholder { transform:translateZ(10px); }
.motion-experience .game-app-card:has(:focus-visible) .game-app-icon-placeholder { transform:none; }
.motion-experience [data-motion-card]:focus-visible,
.motion-experience [data-motion-card]:has(:focus-visible) { transform:none !important; }
}
@keyframes motion-hero-title { from { opacity:0; filter:blur(8px); transform:translateY(14px); } to { opacity:1; filter:blur(0); transform:translateY(0); } }
@keyframes motion-arrive { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
@keyframes motion-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
@keyframes motion-star { to { background-position:150% 0; } }
@media (prefers-reduced-motion:reduce) {
.motion-experience { scroll-behavior:auto; }
.motion-experience *, .motion-experience *::before, .motion-experience *::after { animation:none !important; transition:none !important; }
.motion-experience [data-motion-card] { transform:none !important; }
}

:root {
--color-light-gray: #9ea0b3;
--color-light-bg: #eef1f6;
Expand Down Expand Up @@ -280,12 +329,13 @@
}

.game-app-card:hover {
transform: translateY(-4px);
background: #ffffff;
border-color: rgba(124, 187, 137, 0.85);
box-shadow: 0 18px 40px rgba(76, 81, 95, 0.12);
}

.game-app-card:not([data-motion-card]):hover { transform:translateY(-4px); }

.game-app-icon-slot {
flex-shrink: 0;
}
Expand All @@ -307,7 +357,7 @@
transition: all 0.25s ease;
}

.game-app-card:hover .game-app-icon-placeholder {
.game-app-card:not([data-motion-card]):hover .game-app-icon-placeholder {
border-color: var(--color-soft-green-dark);
border-style: solid;
transform: scale(1.04);
Expand Down Expand Up @@ -498,7 +548,7 @@
transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.lightbot-four-image-frame:hover {
.lightbot-four-image-frame:not([data-motion-card]):hover {
transform: translateY(-4px) scale(1.015);
box-shadow: 0 22px 48px rgba(76, 81, 95, 0.22);
border-color: var(--color-soft-green);
Expand Down Expand Up @@ -761,7 +811,7 @@
transition: all 0.3s ease;
}

.lightbot-card:hover {
.lightbot-card:not([data-motion-card]):not(.motion-info-block):hover {
transform: translateY(-3px);
border-color: rgba(0, 255, 102, 0.5);
box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45), 0 0 24px rgba(0, 255, 102, 0.15);
Expand Down
Loading
Loading