-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
324 lines (290 loc) · 9.63 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="robots" content="noindex">
<meta charset="UTF-8">
<link rel="icon" href="/img/site-icon-32w.png" type="image/png">
<link rel="apple-touch-icon" href="/img/site-icon-180w.png">
<link rel="manifest" href="%BASE_URL%manifest.webmanifest">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Rise of U.S. Anti-Boycott Legislation — Visualizing Palestine</title>
<meta property="og:title" content="The Rise of U.S. Anti-Boycott Legislation">
<meta name="description" content="How a strategy designed to shield Israel from accountability paved the way for an all-out assault on the right to boycott.">
<meta property="og:description" content="How a strategy designed to shield Israel from accountability paved the way for an all-out assault on the right to boycott.">
<meta property="twitter:description" content="How a strategy designed to shield Israel from accountability paved the way for an all-out assault on the right to boycott.">
<meta property="og:image" content="%BASE_URL%img/og-image.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="twitter:image" content="%BASE_URL%img/og-image.png">
<meta property="twitter:card" content="summary_large_image">
<meta property="og:image:alt" content="Photo of a Boycott, Divestment, Sanctions (BDS) demonstration with the words: The Rise of U.S. Anti-Boycott Legislation">
<meta property="twitter:image:alt" content="Photo of a Boycott, Divestment, Sanctions (BDS) demonstration with the words: The Rise of U.S. Anti-Boycott Legislation">
<meta property="og:type" content="article">
<style type="text/css">
@font-face {
font-display: swap;
font-family: 'Maven Pro';
font-style: normal;
font-weight: 400;
src: url('fonts/maven-pro-v32-latin-regular.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Maven Pro';
font-style: normal;
font-weight: 500;
src: url('fonts/maven-pro-v32-latin-500.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Maven Pro';
font-style: normal;
font-weight: 600;
src: url('fonts/maven-pro-v32-latin-600.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Maven Pro';
font-style: normal;
font-weight: 700;
src: url('fonts/maven-pro-v32-latin-700.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Maven Pro';
font-style: normal;
font-weight: 900;
src: url('fonts/maven-pro-v32-latin-900.woff2') format('woff2');
}
*,
*:before,
*:after {
box-sizing: border-box;
margin: 0;
}
body {
color: #fff;
background: #213751;
font-family: 'Maven Pro',-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
font-size: 16px;
line-height: 1.5;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
[hidden] {
display: none !important;
}
.hero {
position: relative;
width: 100vw;
height: 100vh;
height: 100svh;
padding: 4vw;
overflow: hidden;
background-color: #213751;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.hero-title {
margin-top: 10vh;
font-size: 9vw;
line-height: 1.2;
font-weight: 900;
color: #FF882C;
text-transform: uppercase;
letter-spacing: 0.1em;
mix-blend-mode: screen;
opacity: 0.9;
}
.hero-lead {
margin-top: 1.5rem;
font-size: 6vw;
line-height: 1.5;
font-weight: 500;
color: #fff;
}
.hero-lead-highlight {
display: inline-block;
padding-left: 0.15em;
padding-right: 0.15em;
font-weight: 900;
background: #42C0E2;
color: #000;
margin-left: -0.15em;
}
.hero-scroll {
opacity: 0;
}
.hero {
background-image: url('img/boycott-israel-march-portrait-450w.jpg');
}
.loading-app {
display: block;
text-align: center;
max-width: 20em;
margin-left: auto;
margin-right: auto;
padding: 10rem 1rem;
}
.loading-app-spinner {
display: inline-block;
width: 2rem;
height: 2rem;
animation: spinner 1s linear infinite;
border-radius: 100%;
border-top: 2px solid #FD9647;
border-bottom: 2px solid transparent;
border-left: 2px solid #FD9647;
border-right: 2px solid transparent;
}
.loading-app p {
max-width: 20em;
}
.loading-app a {
color: #fff;
font-weight: bold;
text-decoration: underline;
text-decoration-thickness: 0.1em;
}
.loading-app-failed-icon {
width: 2rem;
height: 2rem;
}
@keyframes spinner {
0% {
transform: rotateZ(-360deg);
}
100% {
transform: rotateZ(0deg);
}
}
@media (min-width: 451px) {
.hero {
background-image: url('img/boycott-israel-march-portrait-827w.jpg');
}
}
@media (min-width: 767px) {
.hero {
padding: 8vw;
}
.hero-title {
font-size: 8vw;
}
.hero-lead {
font-size: 5vw;
}
.loading-app {
font-size: 2rem;
gap: 2rem;
}
.loading-app-failed-icon {
width: 4rem;
height: auto;
}
}
@media (orientation: landscape) {
.hero {
background-image: url('img/boycott-israel-march-700w.jpg');
padding: 4vh;
}
.hero-title {
margin-right: 0;
font-size: 4vw;
line-height: 1;
max-width: 45vw;
}
.hero-lead {
margin-top: 0.5rem;
font-size: 2.5vw;
line-height: 1.3;
max-width: 55vw;
}
@media (min-width: 701px) {
.hero {
background-image: url('img/boycott-israel-march-992w.jpg');
}
}
@media (min-width: 993px) {
.hero {
background-image: url('img/boycott-israel-march-1280w.jpg');
}
.hero-title {
font-size: 5vw;
max-width: 50vw;
}
.hero-lead {
font-size: 3vw;
max-width: 64vw;
}
}
@media (min-width: 1281px) {
.hero {
background-image: url('img/boycott-israel-march-1440w.jpg');
}
}
@media (min-width: 1441px) {
.hero {
background-image: url('img/boycott-israel-march-1600w.jpg');
}
}
@media (min-width: 1601) {
.hero {
background-image: url('img/boycott-israel-march-1771w.jpg');
}
}
}
</style>
</head>
<body>
<article>
<div class="hero">
<h1 class="hero-title">
The Rise of U.S. Anti-Boycott Legislation
</h1>
<div class="hero-lead">
This is the story of how a strategy designed to shield Israel from
accountability paved the way for an all-out assault on the
<span class="hero-lead-highlight">
right to boycott
</span>
</div>
<span href="#app" id="hero-scroll" class="hero-scroll" hidden aria-hidden="true">
Scroll Down
<svg xmlns="http://www.w3.org/2000/svg" height="48" viewBox="0 -960 960 960" width="48" fill="currentColor">
<path d="M480-345 240-585l43-43 197 198 197-197 43 43-240 239Z" />
</svg>
</span>
</div>
<div id="app">
<div id="load-pending" class="loading-app">
<span class="loading-app-spinner" aria-hidden="true"></span>
<p>
We're still loading the story. If it fails to load, please <a href="/">refresh</a> and try again.
</p>
</div>
<div id="load-failed" class="loading-app" hidden>
<svg class="loading-app-failed-icon" xmlns="http://www.w3.org/2000/svg" height="48" viewBox="0 -960 960 960" width="48"><path fill="#FF3D3D" d="M479.982-280q14.018 0 23.518-9.482 9.5-9.483 9.5-23.5 0-14.018-9.482-23.518-9.483-9.5-23.5-9.5-14.018 0-23.518 9.482-9.5 9.483-9.5 23.5 0 14.018 9.482 23.518 9.483 9.5 23.5 9.5ZM453-433h60v-253h-60v253Zm27.266 353q-82.734 0-155.5-31.5t-127.266-86q-54.5-54.5-86-127.341Q80-397.681 80-480.5q0-82.819 31.5-155.659Q143-709 197.5-763t127.341-85.5Q397.681-880 480.5-880q82.819 0 155.659 31.5Q709-817 763-763t85.5 127Q880-563 880-480.266q0 82.734-31.5 155.5T763-197.684q-54 54.316-127 86Q563-80 480.266-80Zm.234-60Q622-140 721-239.5t99-241Q820-622 721.188-721 622.375-820 480-820q-141 0-240.5 98.812Q140-622.375 140-480q0 141 99.5 240.5t241 99.5Zm-.5-340Z"/></svg>
<p>
Sorry, we're unable to show you this story because the browser you are using is not compatible. Try reading this on another device or <a href="https://visualizingpalestine.org/visuals/anti-boycott-laws">view the infographic</a>.
</p>
</div>
</div>
</article>
<script type="text/javascript">
if (!('IntersectionObserver' in window) ||
!('IntersectionObserverEntry' in window) ||
!('intersectionRatio' in window.IntersectionObserverEntry.prototype) ||
('ResizeObserver' in window === false)) {
const $loading = document.getElementById('load-pending')
const $failed = document.getElementById('load-failed')
if ($loading && $failed) {
$failed.removeAttribute('hidden')
$loading.setAttribute('hidden', 'hidden')
}
}
</script>
<script type="module" src="/src/main.ts"></script>
</body>
</html>