From be99e069df00a4620383c4eadf57d7292bf1607a Mon Sep 17 00:00:00 2001 From: seaHi Date: Sun, 16 Aug 2026 21:39:07 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=A0=B7=E5=BC=8F=E5=B9=B6=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E5=AF=BC=E8=88=AA=E6=A0=8F=E9=AB=98=E4=BA=AE=E6=8C=87=E7=A4=BA?= =?UTF-8?q?=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/app.css b/src/app.css index cce061d..83c122b 100644 --- a/src/app.css +++ b/src/app.css @@ -321,6 +321,15 @@ a:hover { .header nav .nav-dropdown:hover .dropdown-menu { display: block; } + .header nav a.active::after, + .header nav .nav-dropdown-trigger.active::after { + top: 0; + bottom: 0; + left: 0; + right: auto; + width: 4px; + height: 100%; + } } /* DoIt Style Home Profile */ @@ -1530,3 +1539,15 @@ footer section p:first-child { object-fit: contain; border-radius: 0; } + +/* 打印优化 */ +@media print { + /* 隐藏目录、浮动按钮面板、页脚、顶栏导航 */ + .TOC, + #ctrler-panel, + footer, + header nav, + header .mobile-menu-btn { + display: none !important; + } +}