From 8e60f83dd19c03104151761437efbf2303fe3bcf Mon Sep 17 00:00:00 2001 From: QQ Date: Tue, 3 Nov 2026 10:55:38 +0800 Subject: [PATCH] =?UTF-8?q?style(fx):=20=E5=8E=BB=E6=8E=89=20Logo=20?= =?UTF-8?q?=E7=9A=84=E6=97=8B=E8=BD=AC=E5=85=89=E7=8E=AF=EF=BC=8C=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E9=9D=99=E6=80=81=E6=9F=94=E5=85=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - .qq-logo-halo::before 由 conic-gradient + qq-spin 旋转改为 radial-gradient 柔光 - 删除 ::after 的 1px 描边圆环(不再有「一圈光」的观感) - logo 浮动呼吸减到 5px / 7s - 三个样式表链接加 ?v=3,避免浏览器继续用旧 CSS --- custom/public/assets/css/qq-fx.css | 35 ++++++++++++----------------- custom/templates/custom/header.tmpl | 6 ++--- 2 files changed, 17 insertions(+), 24 deletions(-) diff --git a/custom/public/assets/css/qq-fx.css b/custom/public/assets/css/qq-fx.css index 9180208..e6103e2 100644 --- a/custom/public/assets/css/qq-fx.css +++ b/custom/public/assets/css/qq-fx.css @@ -120,7 +120,7 @@ body.qq-fx-active .page { transition: background 0.12s linear; } -/* 会转的光环 */ +/* 光晕:静态柔光,不旋转(QQ 反馈「这一圈光在转圈圈没必要」) */ .qq-logo-halo { position: relative; width: 172px; @@ -133,40 +133,33 @@ body.qq-fx-active .page { .qq-logo-halo::before { content: ""; position: absolute; - inset: -13px; + inset: -18px; border-radius: 50%; - background: conic-gradient(from 0deg, - transparent 0deg 200deg, - color-mix(in srgb, var(--color-primary) 85%, transparent) 260deg, - #38BDF8 300deg, - transparent 340deg); - filter: blur(9px); - opacity: 0.7; - animation: qq-spin 8s linear infinite; + background: radial-gradient( + circle at 50% 50%, + color-mix(in srgb, var(--color-primary) 34%, transparent) 0%, + color-mix(in srgb, var(--color-primary) 15%, transparent) 46%, + transparent 72% + ); + filter: blur(14px); + opacity: 0.9; } +/* 不再画细描边圆环:只留柔光,避免「一圈光」的观感 */ .qq-logo-halo::after { - content: ""; - position: absolute; - inset: -2px; - border-radius: 50%; - box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 22%, transparent); + content: none; } .qq-logo-halo .logo { width: 152px; height: 152px; border-radius: 50%; - animation: qq-breathe 6s ease-in-out infinite; -} - -@keyframes qq-spin { - to { transform: rotate(360deg); } + animation: qq-breathe 7s ease-in-out infinite; } @keyframes qq-breathe { 0%, 100% { transform: translateY(0) scale(1); } - 50% { transform: translateY(-6px) scale(1.03); } + 50% { transform: translateY(-5px) scale(1.02); } } /* 渐变标题:字色随背景流动 */ diff --git a/custom/templates/custom/header.tmpl b/custom/templates/custom/header.tmpl index ca9710e..e024a94 100644 --- a/custom/templates/custom/header.tmpl +++ b/custom/templates/custom/header.tmpl @@ -4,9 +4,9 @@ 注意:只做外观增强,不引入任何外部依赖,全部资源随 custom/ 一起发布 */}} - - - + + +