优化结构
Vercel Deploy / deploy (push) Successful in 2m8s

This commit is contained in:
2026-05-01 08:29:46 +08:00
Unverified
parent bad707fce1
commit b3a2199f28
25 changed files with 906 additions and 902 deletions
+5 -1
View File
@@ -71,6 +71,10 @@ body {
font-family: var(--font-family-sig);
}
.text-right {
text-align: right;
}
/* ===========================================
2. 原始场景皮肤 (Modern, Traditional, Vintage)
=========================================== */
@@ -179,4 +183,4 @@ body {
.theme-wabi .salutation { font-weight: normal; font-size: 1.2rem; color: #333; }
.theme-wabi .content p { text-indent: 2em; line-height: 2; color: #666; font-size: 0.95rem; }
.theme-wabi .wish-suffix { font-weight: normal; color: #777; }
.theme-wabi .signature { font-family: "Zhi Mang Xing", cursive; font-size: 1.8rem; color: #333; } /* 使用Google Font书法字体 */
.theme-wabi .signature { font-family: "Zhi Mang Xing", cursive; font-size: 1.8rem; color: #333; } /* 使用Google Font书法字体 */
+8
View File
@@ -72,6 +72,14 @@ a {
color: inherit;
}
.is-hidden {
display: none;
}
.mt-18 {
margin-top: 18px;
}
.page-shell {
width: min(calc(100% - 32px), var(--content-width));
margin: 0 auto;
+83
View File
@@ -0,0 +1,83 @@
body {
font-family: Arial, "Microsoft YaHei";
background: white;
}
/* ===== A4 容器 ===== */
.page {
width: 210mm;
min-height: 297mm;
margin: auto;
padding: 20mm;
position: relative;
background: white;
}
/* ===== 水印 ===== */
.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;
}
/* ===== 信息表格 ===== */
.table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
position: relative;
z-index: 1;
}
.table td {
border: 1px solid #ddd;
padding: 10px;
font-size: 14px;
}
.label {
width: 25%;
background: #f5f5f5;
}
/* ===== 页脚 ===== */
.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;
}
.page {
box-shadow: none;
}
}