-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
270 lines (238 loc) · 9.19 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Genetic Privacy in US Insurance and Criminal Law</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Work Sans", sans-serif;
background-color: #f7f7f7;
color: #333;
line-height: 1.6;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
position: relative;
padding-top: 0;
/* Default padding-top will be set via JS */
}
header {
background-color: #007BFF;
color: white;
text-align: center;
padding: 0px 20px;
position: fixed;
width: 100%;
top: 0;
left: 0;
z-index: 1000;
}
h1 {
font-size: 2.5rem;
margin-bottom: 10px;
font-family: "Forum", serif;
}
h3 {
font-family: "Forum", serif;
}
p {
text-align: left;
}
.subheading {
font-size: 1.2rem;
font-weight: 600;
text-align: center;
}
main {
display: flex;
justify-content: center;
/* Center the entire content horizontally */
gap: 40px;
/* Space between the two sections */
max-width: 1200px;
/* Limit the maximum width of the content */
width: 100%;
padding: 20px;
margin-top: 0px;
/* Offset for the fixed header */
}
.main-content {
display: flex;
gap: 40px;
/* Space between overview and links */
width: 100%;
/* Make sure it takes the full available space */
max-width: 1200px;
/* Limit the maximum width */
}
.overview {
flex: 1 1 50%;
/* Overview takes up 50% of the space */
font-size: 1.2rem;
padding: 20px;
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.links {
display: flex;
flex-wrap: wrap;
/* Allow wrapping */
gap: 20px;
flex: 1 1 45%;
/* Links take up the other 50% of the width */
justify-content: space-between;
}
.link-container {
display: flex;
justify-content: center;
flex: 1 1 calc(50% - 20px);
/* Each link-container takes 50% of the available width, minus the gap */
max-width: calc(50% - 20px);
/* Ensure it doesn't exceed 50% of the width */
}
@media (max-width: 768px) {
.link-container {
flex: 1 1 100%;
/* On smaller screens, each link takes up the full width */
max-width: 100%;
}
}
.link-card {
display: block;
text-decoration: none;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease-in-out;
width: 100%;
max-width: 400px;
text-align: center;
padding: 20px;
}
.link-card img {
width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.link-card h3 {
margin: 0px 0 10px;
font-size: 1.2rem;
color: #007BFF;
}
.link-card p {
font-size: 0.9rem;
color: #555;
}
.link-card:hover {
transform: translateY(-5px);
}
footer {
text-align: center;
padding: 20px;
background-color: #333;
color: white;
font-size: 0.9rem;
margin-top: 40px;
width: 100%;
}
</style>
</head>
<body>
<header>
<h1>Genetic Privacy in US Insurance and Criminal Law</h1>
<p class="subheading">Exploring the intersection of genetic privacy with legal frameworks in the US</p>
</header>
<main>
<div class="main-content">
<!-- Overview section (no change here) -->
<section class="overview">
<p class="subheading">Overview</p>
<p>
Between 2021-2023 alone, sixteen states introduced twenty-six bills to protect privacy in
direct-to-consumer (DTC) genetic testing. Eleven states, from California to South Dakota, have
enacted these bills, often with near-unanimous bipartisan support. Many of the bills carry a broad,
sweeping title full of promise—the Genetic Information Privacy Act. The public should not be fooled.
While the bills offer sensible and important protections, they miss the mark at fully addressing
genetic privacy concerns held by the public and many in the medical and research fields. Bipartisan
legislative interest in genetic privacy nonetheless presents great opportunity and promise to enact
more robust legislation.
<br><br>
This website focuses on two important aspects of genetic privacy: the use of genetic information by
life, long-term care, and disability insurers and the use by law enforcement.
<br><br>
To explore additional resources, please click <a href="resources.html"
style="color:#007BFF;">here</a>.
</p>
</section>
<!-- Updated links section with 2 columns -->
<section class="links">
<!-- Existing links on the left -->
<div class="link-container">
<a href="insurance.html" class="link-card">
<h3>Regulation of Insurance</h3>
<img src="img/insurance.jpg" alt="Insurance Law" />
<p>Learn how states regulate life, long-term care, and disability insurer use of genetic
information</p>
</a>
</div>
<div class="link-container">
<a href="criminal-law.html" class="link-card">
<h3>Regulation of Law Enforcement</h3>
<img src="img/insurance.jpg" alt="Criminal Law" />
<p>See how states regulate law enforcement access to and use of genetic information</p>
</a>
</div>
<!-- New links on the right -->
<div class="link-container">
<a href="protective-features-insurance.html" class="link-card">
<h3>Regulation of Insurance<br>Protective Features</h3>
<img src="img/insurance-pf.jpg" alt="Insurance Protective Features" />
<p>A deeper comparison of protective features in insurance regulation between selected states
</p>
</a>
</div>
<div class="link-container">
<a href="protective-features-law.html" class="link-card">
<h3>Regulation of Law Enforcement<br>Protective Features</h3>
<img src="img/insurance-pf.jpg" alt="Law Enforcement Protective Features" />
<p>A deeper comparison of protective features in law enforcement between selected states</p>
</a>
</div>
</section>
</div>
</main>
<footer>
<p><a href="https://uiowa.edu/" style="color:white;">University of Iowa</a> | <a href="https://law.uiowa.edu/"
style="color:white;">College of Law</a>
<br>This website is intended to provide general information about current state legislative trends. It is
not meant to confer legal advice.
</p>
</footer>
<script>
document.addEventListener('DOMContentLoaded', () => {
console.log('Splash page loaded successfully');
adjustBodyTop(); // Ensure body padding is adjusted when DOM is ready
});
function adjustBodyTop() {
// Get the height of the header
const headerHeight = document.querySelector('header').offsetHeight;
// Set the padding-top of the body to the height of the header
document.body.style.paddingTop = headerHeight + 'px';
};
// Adjust the padding-top when the page loads and when the window is resized
window.addEventListener('load', adjustBodyTop);
window.addEventListener('resize', adjustBodyTop);
</script>
</body>
</html>