-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpdf_style.css
60 lines (54 loc) · 1.06 KB
/
pdf_style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.page {
width: 210mm;
height: 297mm;
margin: 0 auto;
padding: 50px;
box-sizing: border-box;
page-break-after: none; /* 确保每页之后断开 */
border: 2px solid black; /* 添加黑色边框,宽度为10px */
}
.header-container, .footer-container {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.header-text, .footer-text {
font-size: 12px;
text-align: center;
}
.image-container {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}
.image-wrapper {
width: calc(14% - 10px); /* 每行显示四张图片 */
margin: 5px;
text-align: center;
box-sizing: border-box;
}
.image-wrapper img {
max-width: 100%;
height: auto;
}
.filename {
margin-top: 5px;
font-size: 12px;
word-wrap: break-word;
}
#pages {
width: 100%;
height: auto;
position: relative;
}
.confirmation-text {
padding: 20px;
font-size: 30px;
text-align: center;
}
.signature-text {
padding: 20px;
font-size: 20px;
text-align: center;
}