body { font-family: Arial, "Microsoft YaHei"; margin: 0; color: #172033; background: linear-gradient(128deg, rgba(255, 255, 255, 0.96) 0 34%, rgba(232, 249, 255, 0.9) 34% 58%, rgba(255, 246, 249, 0.92) 58% 100%); } body.print-skeuo { color: #243247; background: linear-gradient(90deg, rgba(255, 255, 255, 0.23) 1px, transparent 1px), linear-gradient(0deg, rgba(60, 47, 27, 0.07) 1px, transparent 1px), radial-gradient(circle at 18% 6%, rgba(255, 255, 255, 0.75), transparent 30%), linear-gradient(135deg, #d8cbae 0%, #eee7d7 38%, #c3cfda 100%); background-size: 24px 24px, 24px 24px, auto, auto; } /* ===== A4 容器 ===== */ .page { width: 210mm; min-height: 297mm; margin: 18px auto; padding: 20mm; position: relative; background: white; box-shadow: 0 18px 44px rgba(47, 74, 112, 0.12); border-top: 5px solid #2563eb; } body.print-skeuo .page { border: 1px solid #8d9bae; border-radius: 8px; background: linear-gradient(90deg, rgba(128, 105, 68, 0.035) 1px, transparent 1px), linear-gradient(0deg, rgba(128, 105, 68, 0.035) 1px, transparent 1px), linear-gradient(#fffdf8, #f4eee3); background-size: 22px 22px, 22px 22px, auto; box-shadow: 0 18px 34px rgba(68, 55, 34, 0.22), inset 0 1px 0 #ffffff; } /* ===== 水印 ===== */ .watermark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-30deg); font-size: 50px; color: rgba(0, 0, 0, 0.08); white-space: nowrap; pointer-events: none; z-index: 0; text-align: center; } /* ===== 标题 ===== */ .title { text-align: center; font-size: 22px; font-weight: bold; margin-bottom: 20px; color: #172033; letter-spacing: 0.04em; } body.print-skeuo .title { margin: -8mm -8mm 18px; padding: 14px; border: 1px solid #8998aa; border-radius: 6px; background: linear-gradient(#eef4fb, #cfd9e6 48%, #b6c4d5 49%, #e7edf4 100%); color: #223049; font-family: Georgia, "Times New Roman", "Noto Serif SC", serif; text-shadow: 0 1px 0 #ffffff, 0 2px 3px rgba(60, 74, 92, 0.18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95); } /* ===== 信息表格 ===== */ .table { width: 100%; border-collapse: collapse; margin-top: 10px; position: relative; z-index: 1; } .table td { border: 1px solid #dbe4ef; padding: 11px 12px; font-size: 14px; } body.print-skeuo .table td { border-color: #d7d0c2; background: linear-gradient(#fffdf8, #f3ecdf); color: #2c3544; } .label { width: 25%; color: #66758a; background: linear-gradient(135deg, #f3f8ff, #f8fbff); font-weight: 700; } body.print-skeuo .label { color: #45566d; background: linear-gradient(#e9f0f8, #c7d3e0); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72); } /* ===== 页脚 ===== */ .footer { position: absolute; bottom: 20mm; left: 20mm; right: 20mm; font-size: 12px; color: #666; display: flex; justify-content: space-between; } /* ===== 打印优化 ===== */ @media print { .no-print { display: none; } body { margin: 0; background: #ffffff; } .page { margin: auto; box-shadow: none; border-top: 0; } body.print-skeuo .page { border: 0; border-radius: 0; background: #ffffff; box-shadow: none; } body.print-skeuo .title { margin: 0 0 20px; border: 0; background: transparent; box-shadow: none; } }