-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
149 lines (123 loc) · 4.03 KB
/
index.html
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@500&display=swap" rel="stylesheet">
<title>COVID Checklist</title>
<meta name="apple-mobile-web-app-title" content="COVID Checklist">
<meta name="application-name" content="COVID Checklist">
<meta name="description" content="Should you send your kid to school? Use this handy COVID-19 Checklist to figure it out.">
<meta name="msapplication-TileColor" content="#a8edea">
<meta name="theme-color" content="#a8edea">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<style>
:root {
--primary-color: #A8EDEA;
--primary-darker: #62A19E;
--primary-lighter: #CFFFFD;
--complementary-color: #A16D52;
--complementary-lighter: #EDC0A8;
--gradient-start: var(--primary-color);
--gradient-end: var(--complementary-lighter);
--headline-family: 'Oswald', Impact, sans-serif;
--headline-size: 2rem;
--headline-weight: 500;
}
* {
box-sizing: border-box;
transition: box-shadow 300ms ease;
}
*:focus {
outline: 2px auto var(--complementary-color);
outline-offset: 4px;
}
html,
body,
h1 {
margin: 0;
padding: 0;
}
html {
background: var(--gradient-end) no-repeat top center linear-gradient(to bottom, var(--gradient-start) 0%, var(--gradient-end) 100%);
background-size: cover;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 100%;
line-height: 1.3;
}
body {
min-height: 100vh;
padding: 1em;
}
@supports (-webkit-touch-callout: none) {
body {
min-height: -webkit-fill-available;
}
}
a,
a:link,
a:visited {
color: #A1976A;
}
a:hover,
a:active,
a:focus {
color: #564e28;
}
h1 {
font-family: var(--headline-family);
font-size: var(--headline-size);
font-weight: var(--headline-weight);
}
app-checklist {
background: rgba(255, 255, 255, .8);
border: 2px solid rgba(0, 0, 0, .6);
border-radius: .35em;
box-shadow: 0 0 8px 2px rgba(100, 100, 100, 0.2);
display: block;
padding: .5em 1em;
}
header {
--headline-size: 2rem;
text-align: center;
}
h1,
summary,
p,
* + * {
margin: 0 0 .5rem 0;
}
summary {
cursor: pointer;
}
.fallback {
font-size: 1em;
font-style: italic;
}
</style>
</head>
<body>
<app-checklist>
<header>
<h1>COVID Checklist</h1>
</header>
<details>
<summary>Learn more about the checklist…</summary>
<p>Parents and staff must complete a daily health check before going to school or work. For more information, and PDFs of this checklist, visit the <a href="http://www.sf.k12.sd.us/covid" target="_blank" rel="noopener">SFSD COVID-19 Resource Center</a>.</p>
</details>
<p class="fallback" slot="js-fallback" data-nojs>This web application version of the COVID checklist requires JavaScript to function. If your browser isn't loading the JavaScript correctly, you can visit the <a href="http://www.sf.k12.sd.us/covid" target="_blank" rel="noopener">SFSD COVID-19 Resource Center</a> to find PDF versions of this checklist.</p>
</app-checklist>
<script>
// Hacky way of hiding nojs content from yesjs users
for (const el of document.querySelectorAll('[data-nojs]')) {
el.style.display = 'none';
}
</script>
<script type="module" src="./src/app.js"></script>
</body>
</html>