-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.html
More file actions
470 lines (414 loc) · 13.5 KB
/
template.html
File metadata and controls
470 lines (414 loc) · 13.5 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
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="[ADD PAGE DESCRIPTION HERE]">
<title>[Page Title] - Housing Hope Data Team Infobase</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* =======================
TEMPLATE VARIABLES
Customize these colors for your page theme
======================= */
:root {
/* Primary gradient colors - customize these */
--gradient-start: #4A90E2;
--gradient-end: #007AFF;
--accent-color: #4A90E2;
--accent-dark: #007AFF;
/* Text colors */
--text-primary: #1a202c;
--text-secondary: #4a5568;
--text-light: #495057;
}
/* =======================
BASE STYLES
======================= */
body {
padding-top: 5rem;
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
background-size: 400% 400%;
animation: gradient-shift 12s ease infinite;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
line-height: 1.6;
color: #333;
}
@keyframes gradient-shift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.container {
padding: 2rem 1rem;
max-width: 900px;
}
/* =======================
PAGE HEADER
Professional card style with icon
======================= */
.page-header {
margin-bottom: 3rem;
padding: 2rem;
}
.header-card {
background: white;
border-radius: 16px;
padding: 2.5rem;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 15px rgba(0, 0, 0, 0.05);
display: flex;
align-items: center;
gap: 2rem;
max-width: 800px;
margin: 0 auto;
}
.header-icon-area {
flex-shrink: 0;
width: 80px;
height: 80px;
background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}
.header-icon-area i {
font-size: 2.2rem;
color: white;
}
.header-text-area {
flex: 1;
}
.header-text-area h1 {
font-size: 2rem;
font-weight: 700;
color: var(--text-primary);
margin: 0 0 0.5rem 0;
letter-spacing: -0.025em;
line-height: 1.2;
}
.header-text-area .subtitle {
font-size: 1.1rem;
font-weight: 400;
color: var(--text-secondary);
margin: 0;
line-height: 1.5;
}
/* =======================
CONTENT SECTIONS
White cards with consistent styling
======================= */
.content-section {
background: white;
border-radius: 12px;
padding: 2rem;
margin: 1.5rem 0;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
border-left: 5px solid var(--accent-color);
}
.content-section:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.content-section h2 {
color: var(--accent-color);
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1rem;
}
.content-section h3 {
color: var(--text-primary);
font-size: 1.3rem;
font-weight: 600;
margin-top: 2rem;
margin-bottom: 1rem;
}
.content-section p {
color: var(--text-light);
font-size: 1.05rem;
margin-bottom: 1.5rem;
}
.content-section ul,
.content-section ol {
color: var(--text-light);
font-size: 1.05rem;
padding-left: 1.5rem;
}
.content-section li {
margin-bottom: 0.75rem;
}
/* =======================
PROCESS STEPS
Numbered steps with badges
======================= */
.process-step {
background: white;
border-radius: 12px;
padding: 2rem;
margin: 1.5rem 0;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
border-left: 5px solid var(--accent-color);
}
.process-step:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.process-step h2 {
color: var(--accent-color);
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1rem;
display: flex;
align-items: center;
}
.step-number {
background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
color: white;
width: 35px;
height: 35px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
margin-right: 1rem;
font-size: 1.1rem;
box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}
/* =======================
ALERT/BANNER SECTIONS
For important notices
======================= */
.alert-section {
background: white;
border-radius: 12px;
padding: 2rem;
margin: 1.5rem 0;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
border-left: 5px solid #ffc107;
}
.alert-section .alert-icon {
font-size: 2rem;
color: #ffc107;
margin-bottom: 1rem;
}
.alert-section h3 {
color: #856404;
font-size: 1.4rem;
font-weight: 600;
margin-bottom: 1rem;
}
.alert-section p {
color: var(--text-light);
font-size: 1.05rem;
margin: 0;
}
/* =======================
INFO BANNER
For highlighting resources or links
======================= */
.info-banner {
background: white;
border-radius: 12px;
padding: 2rem;
margin: 1.5rem 0;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
border-left: 5px solid #17a2b8;
}
.info-banner h3 {
color: #17a2b8;
font-weight: 600;
margin-bottom: 0.5rem;
}
.info-banner a {
color: #17a2b8;
text-decoration: none;
font-weight: 600;
}
.info-banner a:hover {
text-decoration: underline;
}
/* =======================
NAVIGATION
Return to home button
======================= */
.nav-home {
text-align: center;
margin-top: 3rem;
padding-top: 2rem;
border-top: 2px solid rgba(255, 255, 255, 0.3);
}
.nav-home a {
color: white;
text-decoration: none;
font-weight: 600;
font-size: 1.1rem;
padding: 0.75rem 1.5rem;
border: 2px solid white;
border-radius: 8px;
transition: all 0.3s ease;
display: inline-block;
background: rgba(255, 255, 255, 0.1);
}
.nav-home a:hover {
background: white;
color: var(--accent-color);
transform: translateY(-2px);
}
/* =======================
RESPONSIVE DESIGN
Mobile-friendly adjustments
======================= */
@media (max-width: 768px) {
.container {
padding: 1rem;
}
.page-header {
padding: 1rem;
}
.header-card {
padding: 2rem;
flex-direction: column;
text-align: center;
gap: 1.5rem;
}
.header-icon-area {
width: 70px;
height: 70px;
}
.header-icon-area i {
font-size: 2rem;
}
.header-text-area h1 {
font-size: 1.75rem;
}
.header-text-area .subtitle {
font-size: 1rem;
}
.content-section,
.process-step {
padding: 1.5rem;
}
}
/* =======================
PRINT STYLES
Clean printing layout
======================= */
@media print {
body {
background: white !important;
color: black !important;
padding-top: 0;
}
#navbar-placeholder,
.nav-home {
display: none !important;
}
.header-card,
.content-section,
.process-step,
.alert-section,
.info-banner {
box-shadow: none !important;
border: 1px solid #ccc !important;
page-break-inside: avoid;
}
}
</style>
</head>
<body>
<!-- Navbar placeholder where the external navbar will be loaded -->
<div id="navbar-placeholder"></div>
<main class="container">
<!-- Page Header -->
<div class="page-header">
<div class="header-card">
<div class="header-icon-area">
<!-- Change icon class here - find icons at: https://fontawesome.com/icons -->
<i class="fas fa-file-alt"></i>
</div>
<div class="header-text-area">
<h1>[Page Title]</h1>
<div class="subtitle">[Brief description of what this page contains]</div>
</div>
</div>
</div>
<!-- EXAMPLE: Info Banner -->
<!-- Uncomment and customize if you need a special banner -->
<!--
<div class="info-banner">
<h3>
<i class="fas fa-info-circle me-2"></i><strong>Important Resource</strong>
</h3>
<p>Additional information or links to important resources can go here.</p>
</div>
-->
<!-- EXAMPLE: Alert Section -->
<!-- Uncomment and customize for important warnings or notices -->
<!--
<div class="alert-section">
<div class="alert-icon">⚠️</div>
<h3>Important Notice</h3>
<p>Critical information that users need to be aware of goes here.</p>
</div>
-->
<!-- EXAMPLE: Content Section -->
<div class="content-section">
<h2>Section Heading</h2>
<p>
This is a standard content section. You can add paragraphs, lists, and other content here.
Replace this text with your actual content.
</p>
<ul>
<li>Example list item 1</li>
<li>Example list item 2</li>
<li>Example list item 3</li>
</ul>
</div>
<!-- EXAMPLE: Process Steps -->
<!-- Use this pattern for step-by-step procedures -->
<div class="process-step">
<h2>
<span class="step-number">1</span>
Step One Title
</h2>
<p>
Description of what happens in step one. Provide clear, detailed instructions.
</p>
</div>
<div class="process-step">
<h2>
<span class="step-number">2</span>
Step Two Title
</h2>
<p>
Description of what happens in step two. Continue with additional steps as needed.
</p>
</div>
<!-- Additional content sections go here -->
<!-- Navigation - Return to Home -->
<div class="nav-home">
<a href="/">← Return to Home</a>
</div>
</main>
<!-- Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<!-- Load external navbar -->
<script>
// Fetch and insert the navbar
fetch('/navbar.html')
.then(response => response.text())
.then(data => {
document.getElementById('navbar-placeholder').innerHTML = data;
});
</script>
</body>
</html>