-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
105 lines (94 loc) · 3.83 KB
/
styles.css
File metadata and controls
105 lines (94 loc) · 3.83 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/* ----- Base ----- */
:root{
--bg: #f3f4f6; /* gray-100 */
--text: #111827; /* gray-900 */
--muted: #6b7280; /* gray-500 */
--card: #ffffff;
--border: #e5e7eb; /* gray-200 */
--shadow: 0 10px 30px rgba(0,0,0,.08);
--emerald: #10b981;
--sky: #0284c7;
--violet: #7c3aed;
--amber: #d97706;
--lime: #65a30d;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
margin: 0; background: var(--bg); color: var(--text);
font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, 'Apple Color Emoji','Segoe UI Emoji';
}
/* ----- Page (A4-like) ----- */
.page{
width: 794px; min-height: 1123px; /* A4 @ ~96dpi */
margin: 24px auto; background: var(--card); border: 1px solid var(--border);
border-radius: 20px; box-shadow: var(--shadow); overflow: hidden;
padding-bottom: 16px;
}
/* ----- Header ----- */
.header{
padding: 32px;
background: linear-gradient(90deg, #f59e0b, #f97316 60%, #f43f5e);
color: #fff;
}
.title{ font-weight: 800; font-size: 32px; letter-spacing: .2px; margin: 0 0 6px; }
.tagline{ font-weight: 600; font-size: 20px; margin: 0 0 4px; }
.subtag{ opacity: .95; font-size: 14px; margin: 0; }
/* ----- Badges ----- */
.badges{
display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 32px 0;
font-size: 14px;
}
.badge{ padding: 10px 14px; border-radius: 12px; border: 2px solid transparent; }
.badge-emerald{ background: #ecfdf5; color: #065f46; border-color: var(--emerald); }
.badge-sky{ background: #eff6ff; color: #0c4a6e; border-color: var(--sky); }
.badge-violet{ background: #f5f3ff; color: #4c1d95; border-color: var(--violet); }
.badge-amber{ background: #fffbeb; color: #78350f; border-color: var(--amber); }
.badge-lime{ background: #f7fee7; color: #365314; border-color: var(--lime); }
.badge-span{ grid-column: 1 / -1; }
/* ----- Sections ----- */
.section{ padding: 20px 32px 0; }
.section h2{ font-size: 22px; margin: 8px 0 12px; }
.cols{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cols ul{ margin: 0; padding-left: 20px; }
.cols li{ margin: 6px 0; }
/* ----- Cards ----- */
.cards{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card{ border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: #fff; }
.card h3{ margin: 4px 0 8px; font-size: 18px; }
.card p{ margin: 4px 0; }
.muted{ color: var(--muted); }
/* ----- CTA ----- */
.cta{
margin: 16px 32px; border: 2px dashed var(--border); border-radius: 18px;
padding: 16px; display: flex; gap: 12px; justify-content: space-between; align-items: center;
}
.cta-title{ font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.cta-right{ text-align: right; }
.cta-phone{ color: #059669; font-weight: 800; font-size: 24px; margin: 0 0 6px; }
.cta-line{ margin: 2px 0; }
/* ----- Footer ----- */
.footer{ padding: 0 32px 24px; font-size: 12px; color: #6b7280; }
/* ----- Print button ----- */
.print-button{
position: fixed; right: 16px; top: 16px; z-index: 10;
border: 0; padding: 10px 14px; border-radius: 12px; cursor: pointer;
background: #111827; color: #fff; box-shadow: var(--shadow);
}
.print-button:hover{ filter: brightness(1.05); }
/* ----- Responsive ----- */
@media (max-width: 840px){
.page{ width: 100%; min-height: auto; border-radius: 0; margin: 0; border-left: 0; border-right: 0; }
.badges{ grid-template-columns: 1fr; }
.cols{ grid-template-columns: 1fr; }
.cards{ grid-template-columns: 1fr; }
.cta{ flex-direction: column; align-items: flex-start; }
.cta-right{ text-align: left; }
}
/* ----- Print styles ----- */
@page { size: A4; margin: 0.5in; }
@media print{
body{ background: #fff; }
.page{ box-shadow: none; border: 0; width: auto; min-height: auto; }
.print-button{ display: none; }
}