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
39 changes: 17 additions & 22 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,12 @@
}

:root {
--color-a: #4a34b8; /* morado */
--color-b: #946ec8; /* rosa */
--color-c: #ed541d; /* ámbar */
--color-d: #24879a; /* cian */
--color-a: #4a34b8;
--color-b: #946ec8;
--color-c: #ed541d;
--color-d: #24879a;
}

/* --- contenedor del splash ----------------------------------------- */
#splash {
position: fixed;
inset: 0;
Expand All @@ -91,17 +90,23 @@
align-items: center;
justify-content: center;
background: #1e1f22;
overflow: hidden; /* oculta los brillos que se salen */
overflow: hidden;
}

/* --- logo con destello pulsante ------------------------------------ */
#splash img {
z-index: 10;
border: 1px solid rgb(255 255 255 / 30%);
border-radius: 50%;
width: clamp(130px, 18vw, 200px);
height: auto;
transform-origin: center;
will-change: transform, filter;
animation: pulseScale 1.8s ease-in-out infinite;
}

@keyframes pulseScale {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.1); }
}

/* --- “neones” de colores ------------------------------------------- */
#splash::before,
#splash::after {
content: "";
Expand All @@ -111,42 +116,32 @@
border-radius: 50%;
filter: blur(100px);
opacity: 0.7;
mix-blend-mode: screen; /* hace que los colores se mezclen */
mix-blend-mode: screen;
animation: orbit 14s linear infinite;
}

/* blob 1 */
#splash::before {
background: var(--color-a);
animation-delay: -3s;
}

/* blob 2 (otro color y ritmo) */
#splash::after {
background: var(--color-c);
animation-direction: reverse;
}

/* --- animaciones ---------------------------------------------------- */
@keyframes orbit {
0% { transform: translate(-150%, -80%) scale(0.8); }
25% { transform: translate(60%, -120%) scale(1.1); }
50% { transform: translate(120%, 60%) scale(0.9); }
75% { transform: translate(-80%, 120%) scale(1.2); }
100% { transform: translate(-150%, -80%) scale(0.8); }
}

@keyframes pulseShadow {
0%,100% { filter: drop-shadow(0 0 0px var(--color-b))
drop-shadow(0 0 0px var(--color-d)); }
50% { filter: drop-shadow(0 0 12px var(--color-b))
drop-shadow(0 0 24px var(--color-d)); }
}
</style>
</head>
<body style="margin: 0">
<div id="splash">
<img src="/favicon/android-chrome-192x192.png" width="96" height="96"
<img src="/assets/white_logo.png" width="130" height="85"
alt="Watchit logo">
</div>

Expand Down
Binary file added public/assets/white_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading