From 17574b35cf68742890edcfc419090711bf01dced Mon Sep 17 00:00:00 2001 From: wonder Date: Tue, 3 Nov 2026 12:35:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0/PDF=20=E6=81=A2=E5=A4=8D?= =?UTF-8?q?=E5=B0=8F=E8=8A=82=E6=A0=87=E9=A2=98=E8=93=9D=E8=89=B2=E5=BA=95?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除打印时的白底覆盖规则,保留 print-color-adjust:exact 保证 标题栏(#EEF3FF)与简介框(#F5F7FB)底色输出;仍隐藏页脚/悬浮入口、条目不跨页 --- css/base.css | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/css/base.css b/css/base.css index 6e49976..8be1da3 100644 --- a/css/base.css +++ b/css/base.css @@ -442,7 +442,7 @@ body { margin-left: auto; } -/* Print:去掉底色、条目不跨页截断、隐藏页脚链接 */ +/* Print:保留底色(浏览器需开启"背景图形"或由 print-color-adjust 保证)、条目不跨页截断、隐藏页脚与悬浮入口 */ @media print { * { -webkit-print-color-adjust: exact !important; @@ -450,14 +450,6 @@ body { color-adjust: exact !important; } - .section-title { - background-color: #ffffff !important; - } - - .exp-intro { - background: #ffffff !important; - } - .section-title, .edu-header, .exp-header,