-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathindex.html
More file actions
71 lines (64 loc) · 1.89 KB
/
Copy pathindex.html
File metadata and controls
71 lines (64 loc) · 1.89 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="/favicon.png" />
<title>人生K线 | 八字命理可视化</title>
<style>
body {
font-family: 'Inter', "PingFang SC", "Hiragino Sans GB", "Noto Serif SC", sans-serif;
background-color: #f8f9fa;
}
.font-serif-sc {
font-family: 'Noto Serif SC', serif;
}
/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
width: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: #f1f1f1;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #d1d5db;
border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #9ca3af;
}
/* Print Styles for Save Report */
@media print {
/* Hide UI elements not needed in the report */
.no-print, header, footer, button {
display: none !important;
}
/* Reset layout for paper */
body {
background-color: white !important;
margin: 0 !important;
padding: 0 !important;
}
main {
margin: 0 !important;
padding: 0 !important;
max-width: 100% !important;
box-shadow: none !important;
}
/* Ensure charts and colored bars print correctly */
* {
-webkit-print-color-adjust: exact !important;
print-color-adjust: exact !important;
}
/* Ensure page breaks don't cut cards in half */
.break-inside-avoid {
page-break-inside: avoid;
}
}
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>