style: 优化页面打印样式并调整导航栏高亮指示器
continuous-integration/drone/push Build is passing

This commit is contained in:
seahi committed 2026-08-16 21:39:07 +08:00
1 parent d6d106b789
commit be99e069df
1 file changed
+21
+21
View File
@@ -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;
}
}