From 3f00e0c0ce74f52de8f19a1ced6a972f54519008 Mon Sep 17 00:00:00 2001 From: seaHi Date: Sun, 16 Aug 2026 21:59:53 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E8=B0=83=E6=95=B4=E9=A1=B6=E9=83=A8?= =?UTF-8?q?=E5=AF=BC=E8=88=AA=E6=A0=8F=E6=A0=B7=E5=BC=8F=E5=B9=B6=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0=E7=89=88=E6=9D=83=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/app.css b/src/app.css index e703504..23e33f6 100644 --- a/src/app.css +++ b/src/app.css @@ -1559,4 +1559,22 @@ footer section p:first-child { .code-header-actions { display: none !important; } + + /* 让顶栏不再悬浮,仅在第一页显示 */ + .header { + position: static !important; + } + + /* 在顶栏的站点名称后追加版权声明 */ + .header .brand::after { + content: ' - 本站所有内容仅用于教学,未经作者允许,不得以任何其他形式使用'; + font-size: 14px; + font-weight: normal; + margin-left: 10px; + } + + /* 移除主容器为了悬浮顶栏而预留的顶部内边距 */ + main { + padding-top: 0 !important; + } }