-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstories.html
557 lines (469 loc) · 11.6 KB
/
stories.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
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
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/reset.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap" rel="stylesheet">
<title>Chérie · Stories</title>
<style>
html{
font-family: 'Open Sans', sans-serif;
overflow: scroll;
height: 100vh;
background-color: #E9DAC4;
}
h1{
font-size: 80px;
}
h2{
font-size: 50px;
}
p{
font-size: 20px;
}
li{
font-size: 20px;
}
#pageLinks{
display: flex;
align-items: center;
justify-content: center;
}
#pageLinks a{
text-decoration: none;
color: #E9DAC4;
}
#nav{
background-color: #290A00;
height: 90px;
width: 100%;
position: fixed;
top: 0;
animation: fadein 1s;
}
#nav img{
width: 75px;
float: left;
position: absolute;
}
#nav li{
list-style-type: none;
float: left;
padding-right: 30px;
color: #E9DAC4;
}
#nav ul{
padding-top: 30px;
}
#topBackground{
background-color: #290A00;
height: 80vh;
scroll-snap-align: center;
margin-top: 15px;
padding-top: 20vh;
}
#welcome {
padding: 15px;
background-color: #290A00;
margin: auto;
width: 300px;
height: 300px;
margin-top: 30px;
padding-top: 40px;
}
#welcome h1{
color: #E9DAC4;
display: inline-block;
/*border: 5px solid #E9DAC4;*/
}
.gradBorder{
margin: auto;
width: 415px;
height: 415px;
background-image: url("images/filler.jpg");
background-size: 500px;
padding: 10px;
}
#backtotop{
display: flex;
align-items: right;
justify-content: right;
position: fixed;
right: 5px;
bottom: 5px;
background-color: hsla(360, 100%, 0%, 0.5);
float: right;
border: 3px solid hsla(360, 100%, 100%, 0.73);
padding: 2px;
}
#backtotop a{
text-decoration: none;
color: hsla(360, 100%, 100%, 0.73);
}
#featured{
background-image: url("images/blm-collage.png");
color: white;
height: 55vh;
padding-top: 40vh;
}
#featured h1, #featured p{
display: inline-block;
display: flex;
justify-content: center;
align-items: center;
padding-bottom: 10px;
text-decoration: none;
background-color: black;
}
#featured h1{
font-weight: 700;
}
#featured a{
text-decoration: none;
color: white;
}
#featured h1:hover{
color: gray;
}
#bigStories{
min-height: 500px;
width: 98.5%;
margin:auto;
background-color: #E9DAC4;
padding-top: 15px;
overflow: hidden;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 20px;
}
#bigStories a{
text-decoration: none;
}
.story{
min-height: 300px;
border: 5px solid;
border-image-slice: 1;
border-image-source: linear-gradient(to left, #7A1F00, #290A00);
background-color: #E9DAC4;
color: #290A00;
text-align: center;
font-weight: 600;
margin-right: 1%;
margin-bottom: 10px;
text-decoration: none;
padding: 3px;
background-position: center;
background-blend-mode: screen;
background-repeat: no-repeat;
line-height: 150px;
}
.story h1{
margin-bottom: 10px;
vertical-align: text-top;
line-height: 1.3;
}
.story p{
line-height: 1.0;
}
#blm{
background-image: url("images/blm-collage.png");
background-size: 1000px;
margin-left: 5px;
}
#aapi{
background-image: url("images/aapi.jpg");
background-size: 1000px;
}
#aapi:hover{
background-position: center;
}
#meToo{
background-image: url("images/meToo.jpg");
background-size: 1000px;
}
#frHijabBan{
background-image: url("images/hijab.jpg");
background-size: 500px;
}
#climateChange{
background-image: url("images/climatechange.png");
background-size: 600px;
}
#uighurs{
background-image: url("images/uyghur.jpg");
background-size: 500px;
}
#syrianWar{
background-image: url("images/syrianWar.jpg");
background-size: 500px;
}
.story:hover{
color: white;
background-color: hsla(15, 100%, 8%, 0.85);
background-blend-mode: darken;
}
#allStories{
width: 99%;
margin: auto;
margin-top: 10px;
background-color: #E9DAC4;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
display: none;
}
.listStory{
border-right: 2px solid #290A00;
padding-left: 10px;
margin-bottom: 10px;
}
.listStory:hover{
color: #7A1F00;
}
#allStories a{
text-decoration: none;
color: #290A00;
}
#allStories h1{
font-weight: 800;
display: inline-block;
background-color: #290A00;
color: #E9DAC4;
margin-right: 10px 10px;
margin-bottom: 10px;
padding: 5px;
}
button{
background-color: #290A00;
color: #E9DAC4;
border: 5px solid #290A00;
margin-left: 10px;
border-radius: 10px;
margin-top: 10px;
}
@media screen and (max-width: 1000px) {
#nav li{
font-size: 15px;
padding-right: 10px;
}
#bigStories{
grid-template-columns: 1fr;
}
#bigStories a{
text-decoration: none;
}
.story{
float: none;
width: 90%;
margin: auto;
margin-top: 50px;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
text-decoration: none;
}
#blm{
margin: auto;
}
#frHijabBan{
background-size: 1000px;
}
#allStories{
display: grid;
grid-template-columns: 1fr;
}
#allStories h1{
width: 90%;
border: 2px solid #290A00;
margin: auto;
}
.listStory{
width: 90%;
margin: auto;
border: none;
border-bottom: 2px solid #290A00;
padding-bottom: 20px;
padding-top: 15px;
}
button{
margin-left: 20px;
}
}
footer{
clear: both;
height: 50px;
background-color: #290A00;
margin-top: 20px;
}
</style>
</head>
<body>
<div id="nav">
<img src="images/almondLogo.png">
<div id="pageLinks">
<ul>
<li> <a href="index.html"> Home </a> </li>
<li> <a href="stories.html"> Stories </a> </li>
<li> <a href="about.html"> About </a> </li>
<li> <a href="contact.html"> Contact </a> </li>
</ul>
</div>
<!-- <a href="what"> V </a> TODO: make this a sign to scroll down/ back to top button -->
</div>
<div id="topBackground">
<div class="gradBorder">
<div id="welcome">
<h1> Stories worth sharing. </h1>
</div>
</div>
<div id="backtotop">
<a href="#"> <p> ↑ </p> </a>
</div>
</div>
<div id="featured">
<a href="blm.html">
<h1> FEATURED: Black Lives Matter. </h1>
</a>
</div>
<div id="bigStories">
<a href="blm.html">
<div class="story" id="blm">
<h1>BLM</h1>
<p>
The Black Lives Matter movement amplifies the voices of Black
Americans. They strive to diminish the effects of systemic white
supremacy and racism in America and around the world by establishing
“the validity of black life.”
</p>
</div>
</a>
<a href="aapi.html">
<div class="story" id="aapi">
<h1>AAPI Hate</h1>
<p>
With the rise in COVID cases came the increase of xenophobic actions
against Asian-Americans and Pacific Islanders. With this, the amount
of AAPI hate crimes have skyrocketed, making it crucial to spread
the word and protect the AAPI community.
</p>
</div>
</a>
<a href="metoo.html">
<div class="story" id="meToo">
<h1>#meToo</h1>
<p>CW: mentions of sexual assault</p>
<p>- - -</p>
<p>
The Me Too movement recognizes survivors of and raises awareness
about sexual abuse. This critical movement has begun to spark change
all across America and push to end sexual violence.
</p>
</div>
</a>
<a href="islamophobia.html">
<div class="story" id="frHijabBan">
<!-- change frHijabBan to: islamophobia to be more general -->
<h1>Islamophobia</h1>
<p>Featured Story: Hijab Ban</p>
<p>- - -</p>
<p>
Today, islamophobia is ever present in media, society, and politics.
From laws like the France Hijab Ban to experiences of hate crimes in
America and more, similar acts of injustice against the Muslim
community must be actively fought against and prevented.
</p>
</div>
</a>
<a href="climatechange.html">
<div class="story" id="climateChange">
<h1>Climate Change</h1>
<p>
With the increased emissions of greenhouse gasses throughout the
globe, climate change has escalated and adversely impacted the
planet. If climate change were to persist, the entire world would be
at risk of experiencing devastating floods, wildfires, rising sea
levels, storms, high temperatures, and much more.
</p>
</div>
</a>
<a href="uighurs.html">
<div class="story" id="uighurs">
<h1>Uighur Muslims</h1>
<p>CW: mentions of sexual assault</p>
<p>- - -</p>
<p>
Millions from the Chinese Uighur Muslim community have been subject
to oppression and injustice within reeducation camps.
</p>
</div>
</a>
</div>
<div id="allStories">
<h1 id="more">MORE STORIES</h1>
<a href="genderEquality.html">
<div class="listStory">
<h2>Gender Equality</h2>
<br />
<p>
Due to rooted stereotypes, discrimination and bias, people who are
female, non-binary, or trangender, have had to make the constant
effort to obtain equal rights. It is important to support their
movement to ensure everyone is treated justly.
</p>
</div>
</a>
<a href="#">
<div class="listStory">
<h2>Afghanistan</h2>
<br />
<p>COMING SOON</p>
<p>
The US pulled out of Afghanistan, and now the Taliban has completely
taken over. Women's rights have been essentially stripped, people
are desperate to flee the country, and little has been done by the
world to step up.
</p>
</div>
</a>
<a href="#">
<div class="listStory">
<h2>Anti-Semitism</h2>
<p>Under Construction</p>
</div>
</a>
<a href="#">
<div class="listStory">
<h2>Israel/Palestine</h2>
<p>Under Construction</p>
</div>
</a>
<a href="#">
<div class="listStory">
<h2>Yemen</h2>
<p>Under Construction</p>
</div>
</a>
</div>
<button onclick="showExtra()" id="showButton">+ See more stories</button>
<footer></footer>
</body>
<script>
document.getElementById("allStories").style.display = "none";
function showExtra() {
var bigDiv = document.getElementById("allStories");
var story = document.getElementsByClassName("listStory");
var showBtn = document.getElementById("showButton");
if (bigDiv.style.display === "none") {
bigDiv.style.display = "grid";
showBtn.innerHTML = "- See less";
showBtn.style.backgroundColor = "#E9DAC4";
showBtn.style.color = "#290A00";
} else {
bigDiv.style.display = "none";
showBtn.innerHTML = "+ See more stories";
showBtn.style.backgroundColor = "#290A00";
showBtn.style.color = "#E9DAC4";
}
}
</script>
</html>