diff --git a/web/website/src/styles/website.css b/web/website/src/styles/website.css index 5ff90fb..718092b 100644 --- a/web/website/src/styles/website.css +++ b/web/website/src/styles/website.css @@ -43,9 +43,9 @@ img,svg{display:block} .linklogin:hover{color:var(--accent)} /* 明/暗主题切换(顶栏图标按钮,随 token 自适配) */ -.themetoggle{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;border:1.5px solid var(--border-strong);border-radius:var(--radius-full);background:var(--surface);color:var(--fg2);cursor:pointer;transition:border-color var(--dur-fast) var(--ease-out),color var(--dur-fast) var(--ease-out)} -.themetoggle:hover{border-color:var(--accent);color:var(--accent)} -.themetoggle svg{width:18px;height:18px} +.themetoggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:none;background:transparent;color:var(--fg2);cursor:pointer;padding:6px;transition:color var(--dur-fast) var(--ease-out)} +.themetoggle:hover{color:var(--accent)} +.themetoggle svg{width:17px;height:17px} /* ---------- language dropdown ---------- */ .langwrap{position:relative;display:inline-block}