From 496cdbe6b60d05e851c2d04c6f29f5cdd035b674 Mon Sep 17 00:00:00 2001 From: khtsly Date: Thu, 12 Feb 2026 15:55:19 +0700 Subject: [PATCH] feat(docs): floating icon --- docs/.vitepress/theme/style.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index 70957f2..74b911a 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -212,4 +212,29 @@ body::before { .VPHero .name { text-shadow: 0 0 40px rgba(254, 82, 52, 0.3); +} +.VPHero .image-src { + animation: float-premium 6s ease-in-out infinite; + transform-origin: center center; +} + +.VPHero .image-bg { + animation: pulse-glow-premium 5s ease-in-out infinite alternate; +} + +@keyframes float-premium { + 0% { transform: translate(-50%, -50%) translateY(0px); } + 50% { transform: translate(-50%, -50%) translateY(-16px); } + 100% { transform: translate(-50%, -50%) translateY(0px); } +} + +@keyframes pulse-glow-premium { + 0% { + opacity: 0.6; + transform: translate(-50%, -50%) scale(0.95); + } + 100% { + opacity: 1; + transform: translate(-50%, -50%) scale(1.1); + } } \ No newline at end of file