-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
424 lines (404 loc) · 10.2 KB
/
index.html
File metadata and controls
424 lines (404 loc) · 10.2 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
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<title>PDF Style Framework Demo</title>
<link
rel="stylesheet"
href="pdf-style.css"
/>
</head>
<body>
<div class="container">
<!-- Header Section -->
<header>
<h1 class="text-center">PDF Style Framework</h1>
<h2 class="text-center">Showcasing Clean and Print-Ready Designs</h2>
<p class="text-center text-italic">
Optimized for PDF creation and printing
</p>
</header>
<!-- Typography Showcase -->
<section>
<h2>Typography</h2>
<p>
This framework provides clean, readable typography with a base font
size of 12px and scalable units using <code>rem</code>.
</p>
<h3>Heading Levels</h3>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<h3>Text Utilities</h3>
<p class="text-bold">This is bold text.</p>
<p class="text-italic">This is italic text.</p>
<p class="text-underline">This is underlined text.</p>
</section>
<!-- Layout Showcase -->
<section>
<h2>Layout</h2>
<div class="row">
<div class="col-6">
<p class="text-center">Column 1 (50%)</p>
</div>
<div class="col-6">
<p class="text-center">Column 2 (50%)</p>
</div>
</div>
<div class="row">
<div class="col-4">
<p class="text-center">Column 1 (33%)</p>
</div>
<div class="col-4">
<p class="text-center">Column 2 (33%)</p>
</div>
<div class="col-4">
<p class="text-center">Column 3 (33%)</p>
</div>
</div>
</section>
<!-- Table Showcase -->
<section>
<h2>Table</h2>
<table>
<thead>
<tr>
<th>Header 1</th>
<th>Header 2</th>
<th>Header 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>Row 1, Cell 1</td>
<td>Row 1, Cell 2</td>
<td>Row 1, Cell 3</td>
</tr>
<tr>
<td>Row 2, Cell 1</td>
<td>Row 2, Cell 2</td>
<td>Row 2, Cell 3</td>
</tr>
</tbody>
</table>
</section>
<section>
<h2>Small Table</h2>
<table class="table-sm">
<thead>
<tr>
<th>Header 1</th>
<th>Header 2</th>
<th>Header 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>Row 1, Cell 1</td>
<td>Row 1, Cell 2</td>
<td>Row 1, Cell 3</td>
</tr>
<tr>
<td>Row 2, Cell 1</td>
<td>Row 2, Cell 2</td>
<td>Row 2, Cell 3</td>
</tr>
</tbody>
</table>
<h2>Extra Small Table</h2>
<table class="table-xs">
<thead>
<tr>
<th>Header 1</th>
<th>Header 2</th>
<th>Header 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>Row 1, Cell 1</td>
<td>Row 1, Cell 2</td>
<td>Row 1, Cell 3</td>
</tr>
<tr>
<td>Row 2, Cell 1</td>
<td>Row 2, Cell 2</td>
<td>Row 2, Cell 3</td>
</tr>
</tbody>
</table>
<h2>Striped Table</h2>
<table class="table-striped">
<thead>
<tr>
<th>Header 1</th>
<th>Header 2</th>
<th>Header 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>Row 1, Cell 1</td>
<td>Row 1, Cell 2</td>
<td>Row 1, Cell 3</td>
</tr>
<tr>
<td>Row 2, Cell 1</td>
<td>Row 2, Cell 2</td>
<td>Row 2, Cell 3</td>
</tr>
<tr>
<td>Row 3, Cell 1</td>
<td>Row 3, Cell 2</td>
<td>Row 3, Cell 3</td>
</tr>
</tbody>
</table>
</section>
<h2>Printable Form</h2>
<div class="printable-form">
<!-- First Row -->
<div class="form-row">
<div class="form-cell">
<div class="field-title">
First Name<span class="instruction-text"
>Please print clearly</span
>
</div>
<div class="font-handwriting">First</div>
</div>
<div class="form-cell w-15">
<div class="field-title">Middle Initial</div>
<div class="font-handwriting">M</div>
</div>
<div class="form-cell">
<div class="field-title">Last Name</div>
<div class="font-handwriting">Last</div>
</div>
<div class="form-cell w-20">
<div class="field-title">Date of Birth</div>
<div class="font-handwriting">11/23/1981</div>
</div>
</div>
<!-- Second Row -->
<div class="form-row">
<div
class="form-cell"
style="flex: 3"
>
<div class="field-title">Address, City, State, Zip</div>
<div class="font-handwriting">
12345 N 15 St, Phoenix, AZ, 85009
</div>
</div>
<div class="form-cell">
<div class="field-title">Phone</div>
<div class="font-handwriting">602-123-4567</div>
</div>
<div class="form-cell w-30">
<div class="field-title">Email</div>
<div class="font-handwriting">flast81@gmail.com</div>
</div>
</div>
<!-- Third Row -->
<div class="form-row large-row">
<div class="field-title">Knowledge, Skills & Abilities</div>
<div class="font-handwriting">
<p>
Pariatur nascetur nec! Itaque dolore curae necessitatibus aliquid
diam elit modi sem, illo voluptatibus molestias, turpis quidem
ultricies cum quidem. Potenti, augue eu eos, ridiculus aliquet
neque esse.
</p>
<p>
Tenetur provident mollitia voluptatibus! Modi non officiis rhoncus
numquam lobortis ligula.
</p>
<p>
Molestie quas laborum sunt feugiat, tincidunt veniam optio,
officia! Inventore! Ipsam accusamus? Vestibulum aliquet habitant
laborum reiciendis eveniet faucibus commodi voluptate inceptos
purus doloremque tempus metus fusce eius? Ratione fames duis
ullamco labore minima. Anim ad? Doloribus nunc. Magnam, placerat
ad excepteur, saepe nihil, nulla, eu hymenaeos ridiculus! Fuga!
Consequatur ad perspiciatis.
</p>
</div>
</div>
</div>
<!-- Chart Examples -->
<section>
<h2>Chart Examples</h2>
<h4>Bar Chart</h4>
<div class="bar-chart-container mb-5">
<div class="bar-chart">
<div
class="bar bg-sky-blue"
style="--bar-height: 80%"
>
80%
</div>
<div
class="bar bg-amber"
style="--bar-height: 60%"
>
60%
</div>
<div
class="bar bg-emerald-green"
style="--bar-height: 90%"
>
90%
</div>
<div
class="bar bg-tomato-red"
style="--bar-height: 50%"
>
50%
</div>
</div>
<div class="bar-legend">
<div>
<span class="bar-legend-color bg-sky-blue"></span>Category 1
</div>
<div><span class="bar-legend-color bg-amber"></span>Category 2</div>
<div>
<span class="bar-legend-color bg-emerald-green"></span>Category 3
</div>
<div>
<span class="bar-legend-color bg-tomato-red"></span>Category 4
</div>
</div>
</div>
<h4>Pie Chart</h4>
<div class="pie-chart-container mb-5">
<div class="pie-chart"></div>
<div class="pie-legend">
<div>
<span class="pie-legend-color bg-purple-orchid"></span>40% -
Purple Segment
</div>
<div>
<span class="pie-legend-color bg-cool-gray"></span>35% - Gray
Segment
</div>
<div>
<span class="pie-legend-color bg-sunset-orange"></span>25% -
Sunset Orange Segment
</div>
</div>
</div>
<h4>Line Chart</h4>
<div class="line-chart-container mb-5">
<div class="line-chart">
<div
class="line-point bg-sky-blue"
style="left: 10%; bottom: 20%"
></div>
<div
class="line-point bg-amber"
style="left: 30%; bottom: 50%"
></div>
<div
class="line-point bg-emerald-green"
style="left: 50%; bottom: 30%"
></div>
<div
class="line-point bg-tomato-red"
style="left: 70%; bottom: 80%"
></div>
<div
class="line-point bg-purple-orchid"
style="left: 90%; bottom: 40%"
></div>
</div>
<div class="line-legend">
<div>
<span class="line-legend-color bg-sky-blue"></span>Data Point 1
</div>
<div>
<span class="line-legend-color bg-amber"></span>Data Point 2
</div>
<div>
<span class="line-legend-color bg-emerald-green"></span>Data Point
3
</div>
<div>
<span class="line-legend-color bg-tomato-red"></span>Data Point 4
</div>
<div>
<span class="line-legend-color bg-purple-orchid"></span>Data Point
5
</div>
</div>
</div>
<h4>Donut Chart</h4>
<div class="donut-chart mb-5">
<div
class="donut"
style="--percent: 75"
>
75%
</div>
</div>
<h4>Heat Map</h4>
<table class="heatmap mb-5">
<tr>
<td style="--value: 10">10</td>
<td style="--value: 50">50</td>
<td style="--value: 90">90</td>
</tr>
<tr>
<td style="--value: 30">30</td>
<td style="--value: 70">70</td>
<td style="--value: 100">100</td>
</tr>
</table>
</section>
<h2>Utility Usage Example</h2>
<section>
<h5>Text Formatting</h5>
<p class="text-bold text-primary">
This is bold, primary-colored text.
</p>
<p class="text-italic text-success">
This is italic, success-colored text.
</p>
<h5>Borders</h5>
<div class="border border-primary p-3">
This box has a primary-colored border and padding.
</div>
<div class="border-top border-danger">
This has a danger-colored border at the top.
</div>
<h5>Background Colors</h5>
<div class="bg-warning p-3">
This box has a warning background with padding.
</div>
<div class="bg-dark text-light p-2">
This has a dark background with light text.
</div>
<h5>Spacing</h5>
<div class="m-3 p-2 border border-info">
This box has margin and padding applied.
</div>
</section>
<!-- Print Optimization -->
<section>
<h2>Print Optimization</h2>
<p>
Elements with the class <code>no-print</code> will be hidden when
printing or generating a PDF.
</p>
<p class="no-print">This paragraph will not appear in the PDF.</p>
</section>
</div>
</body>
</html>