diff --git a/app/static/styles.css b/app/static/styles.css index 80b19ed..da6406d 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -722,10 +722,25 @@ a { color: inherit; text-decoration: none; } font-weight: 700; letter-spacing: 2px; color: rgba(255, 255, 255, .88); - text-shadow: 0 0 8px rgba(99, 179, 237, .55), 0 0 18px rgba(59, 130, 246, .3); white-space: nowrap; user-select: none; will-change: transform, opacity; + /* King 과 같은 반짝임(빛 번짐만 — 투명도는 앞뒤 깊이로 스크립트가 정함). 시작 시점은 사람마다 무작위 */ + animation: orbitSparkle 2.4s ease-in-out infinite; +} +@keyframes orbitSparkle { + 0%, 100% { + text-shadow: + 0 0 8px rgba(255, 255, 255, .6), + 0 0 18px rgba(99, 179, 237, .5); + } + 50% { + text-shadow: + 0 0 16px rgba(255, 255, 255, 1), + 0 0 36px rgba(99, 179, 237, 1), + 0 0 56px rgba(147, 197, 253, .9), + 0 0 80px rgba(59, 130, 246, .6); + } } @keyframes shapeFloat1 { diff --git a/app/templates/login.html b/app/templates/login.html index 6a0f99e..a4b3215 100644 --- a/app/templates/login.html +++ b/app/templates/login.html @@ -88,6 +88,7 @@ function rnd(a, b) { return a + Math.random() * (b - a); } var n = els.length; var orbs = els.map(function (el, i) { + el.style.animationDelay = (-Math.random() * 2.4).toFixed(2) + "s"; // 반짝임이 한꺼번에 맞지 않게 return { el: el, base: (i / n) * Math.PI * 2 + rnd(-0.4, 0.4),