-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
255 lines (217 loc) · 4.02 KB
/
styles.css
File metadata and controls
255 lines (217 loc) · 4.02 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
/* =============================================================
EEA Chatbot Test Report — PDF Stylesheet
Rendered via md2pdf (WeasyPrint)
============================================================= */
/* --- Page setup --- */
@page {
size: A4;
margin: 25mm 20mm 25mm 20mm;
@bottom-center {
content: counter(page);
font-size: 9pt;
color: #999;
}
}
@page :first {
@bottom-center {
content: none;
}
}
/* --- Page header: logo + metadata --- */
.page-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin: 0 0 24px 0;
}
.eea-logo {
width: 160px;
flex-shrink: 0;
}
.run-metadata {
text-align: left;
font-size: 9.5pt;
line-height: 1.7;
color: #2c2c2c;
}
/* --- Base typography --- */
body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 10.5pt;
line-height: 1.65;
color: #2c2c2c;
}
p {
margin: 0 0 10px 0;
orphans: 3;
widows: 3;
}
/* --- Headings --- */
h1 {
font-size: 22pt;
font-weight: 700;
color: #1a3c5e;
border-bottom: 3px solid #2a7f9e;
padding-bottom: 10px;
margin: 0 0 20px 0;
}
h2 {
font-size: 15pt;
font-weight: 600;
color: #1a3c5e;
border-bottom: 1px solid #d0d7de;
padding-bottom: 6px;
margin: 28px 0 14px 0;
}
h3 {
font-size: 12pt;
font-weight: 600;
color: #2d4a6f;
margin: 20px 0 8px 0;
}
h4 {
font-size: 10.5pt;
font-weight: 600;
color: #3d5a80;
margin: 14px 0 6px 0;
}
/* --- Horizontal rules — subtle section dividers --- */
hr {
border: none;
border-top: 1px solid #e1e4e8;
margin: 20px 0;
}
/* --- Tables --- */
table {
width: 100%;
border-collapse: collapse;
margin: 14px 0 18px 0;
font-size: 9.5pt;
line-height: 1.5;
}
thead th {
background-color: #4a90a4;
color: #ffffff;
font-weight: 600;
font-size: 9pt;
text-transform: uppercase;
letter-spacing: 0.3px;
text-align: left;
padding: 10px 14px;
}
td {
padding: 9px 14px;
border-bottom: 1px solid #e1e4e8;
vertical-align: top;
color: #2c2c2c;
}
/* First column — often labels — slightly emphasized */
td:first-child {
font-weight: 500;
color: #1a3c5e;
}
tr:nth-child(even) {
background-color: #f6f8fa;
}
tr:last-child td {
border-bottom: none;
}
/* --- Lists --- */
ul,
ol {
margin: 8px 0 14px 0;
padding-left: 22px;
}
li {
margin-bottom: 5px;
}
li > ul,
li > ol {
margin-top: 4px;
margin-bottom: 0;
}
/* --- Inline code --- */
code {
font-family: 'SFMono-Regular', Consolas, 'Courier New', monospace;
font-size: 9pt;
background-color: #f0f3f6;
padding: 2px 6px;
border-radius: 3px;
border: 1px solid #e1e4e8;
color: #1a3c5e;
word-break: break-all;
}
/* --- Bold text --- */
strong {
font-weight: 600;
color: #1a1a2e;
}
/* --- Blockquotes — callout style --- */
blockquote {
border-left: 4px solid #2a7f9e;
margin: 14px 0;
padding: 10px 16px;
background-color: #f0f7fa;
font-style: normal;
color: #2c2c2c;
}
blockquote p {
margin: 0;
}
/* --- Links --- */
a {
color: #2a7f9e;
text-decoration: none;
}
/* =============================================================
Page break rules
============================================================= */
/* Prevent orphaned headings */
h2,
h3,
h4 {
break-after: avoid;
page-break-after: avoid;
}
/* Keep heading with following content */
h2 + *,
h3 + *,
h2 + hr + *,
h3 + hr + * {
break-before: avoid;
page-break-before: avoid;
}
/* Keep individual rows together, allow tables to span pages */
tr {
page-break-inside: avoid;
break-inside: avoid;
}
/* Repeat table headers on every page */
thead {
display: table-header-group;
}
/* Avoid orphans and widows in paragraphs and list items */
p,
li {
orphans: 2;
widows: 2;
}
span.health {
padding: 4px 8px;
border-radius: 4px;
font-weight: 500;
color: #ffffff;
text-transform: capitalize;
}
span.health.healthy {
background-color: #28a745;
}
span.health.degraded {
background-color: #ffc107;
}
span.health.unstable {
background-color: #fd7e14;
}
span.health.critical {
background-color: #dc3545;
}