From f0f72d8b57fbdf9307e84b9d059202f134618cc8 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Sat, 14 Oct 2023 15:08:17 -0500 Subject: [PATCH] optimized logo animation --- onyx-pkg.ini | 4 ++-- www/static/css/new_style.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/onyx-pkg.ini b/onyx-pkg.ini index 345f1de..c1adb62 100644 --- a/onyx-pkg.ini +++ b/onyx-pkg.ini @@ -14,8 +14,8 @@ debug_cmd=onyx run --debug build [native_library] [dependencies] -git://onyxlang.io/repo/http-server=0.2.19 -git://onyxlang.io/repo/otmp=0.0.24 +git://onyxlang.io/repo/http-server=0.2.20 +git://onyxlang.io/repo/otmp=0.0.25 [dependency_folders] git://onyxlang.io/repo/http-server=http-server diff --git a/www/static/css/new_style.css b/www/static/css/new_style.css index 03e085e..077bb77 100644 --- a/www/static/css/new_style.css +++ b/www/static/css/new_style.css @@ -352,7 +352,7 @@ main li { #desktop_logo:hover #path67 { transform: matrix(0.147954, 0, 0, 0.147954, 35, 9); } #desktop_logo:hover #path31 { transform: translate(21.5px, -2.5px) rotate(60deg); } #desktop_logo:hover #path1180 { transform: translate(34.25px, 7px) rotate(120deg); } - #desktop_logo:hover #path537 { transform: translate(51.5px, 11.01px) rotate(150deg); } + #desktop_logo:hover #path537 { transform-origin: center; transform: rotate(150deg) translate(17px, -4.3px); } #desktop_logo:hover #path1062 { transform: translate(36px, 2px) rotate(90deg); } #desktop_logo :not(#layer2) path { transition: all 1s ease-in-out; } } -- 2.25.1