From d24df2e6180d2cf21952e53d8b0cd68b006646d6 Mon Sep 17 00:00:00 2001 From: dekun Date: Sun, 4 Oct 2026 20:35:46 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B6=E6=A0=8F=E4=B8=8A=E6=96=B9=E7=95=99?= =?UTF-8?q?=E7=99=BD=E6=94=B9=E4=B8=BA=201.5=20=E5=80=8D=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E9=AB=98=E5=BA=A6=EF=BC=8C=E6=A0=87=E9=A2=98=E4=B8=8E=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E9=97=B4=E8=B7=9D=E6=94=B9=E4=B8=BA=200.8=20=E5=80=8D?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- static/hub.css | 6 ++++-- templates/base.html | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/static/hub.css b/static/hub.css index 6ce25c1..afa8f86 100644 --- a/static/hub.css +++ b/static/hub.css @@ -21,6 +21,8 @@ --hub-title-size: 1.75rem; --hub-title-lh: 1.25; --hub-title-h: calc(var(--hub-title-size) * var(--hub-title-lh)); + --hub-title-pad-top: calc(var(--hub-title-h) * 1.5); + --hub-title-nav-gap: calc(var(--hub-title-h) * 0.8); --hub-title-gap: calc(var(--hub-title-h) * 1.1); } * { box-sizing: border-box; } @@ -54,8 +56,8 @@ a:hover { color: #7dd3fc; } .topbar-brand { display: block; - margin: 0 auto var(--hub-title-gap); - padding-top: var(--hub-title-gap); + margin: 0 auto var(--hub-title-nav-gap); + padding-top: var(--hub-title-pad-top); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: var(--hub-title-size); font-weight: 700; diff --git a/templates/base.html b/templates/base.html index 9ae4b2e..2571b81 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,7 +4,7 @@ {% block title %}加密货币|OKX 期权中控{% endblock %} - + {% if session.get('logged_in') %}