forked from HPQC-LABS/HPQC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
people.css
715 lines (582 loc) · 12.9 KB
/
people.css
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
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
#header{
margin-top: 40px;
}
/*Formatting button used to scroll to top*/
.toTop{
position: fixed;
width: 60px;
height: 60px;
background-color: rgba(0, 0, 0, 0.3);
z-index: 9999;
float: right;
margin-top: 300px;
transition: all ease-in-out 0.5s;
}
/*Alters the position of scroll button for mobile screens*/
@media screen and (max-width: 500px) {
.toTop{
margin-top: 100px;
}
}
/*Creates the arrow used in the scroll to top button*/
.arrow {
border: solid rgba(0,0,0,0.7);
border-width: 0 3px 3px 0;
display: inline-block;
padding: 3px;
transform: rotate(-135deg) scale(2);
transition: all ease-in-out 0.5s;
}
/*Centers arrow inside the toTop Div*/
.center {
margin: auto;
margin-left: 25%;
margin-top: 25%;
padding: 10px;
}
/*Formatting for main div that contains all biography/person contents on the people page*/
.peopleBio
{
border-radius: 8px;
width: 80%;
margin: auto;
background-color: white;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
/*Formatting the container of each bio entry*/
.personBio
{
min-height: 400px;
background-color: rgb(253, 252, 252);
margin: 15px;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
width: 90%;
display: inline-block;
}
/*Biography text formatting*/
.personBio p
{
padding: 20px;
color: black;
text-align: left;
}
.personBio h1
{
font-size: 20px;
}
.personBio h3
{
text-align: left;
}
.personBio ul
{
color: black;
list-style-type: disc;
display: block;
text-align: left;
list-style-position:inside
}
.personBio li
{
color: black;
display: list-item;
margin-bottom: 5px;
}
.pubLink {
color: black !important;
}
.peopleList h1
{
font-size: 9px;
}
.personBio img
{
padding-right: 20px;
padding-bottom: 20px;
width: 100%;
height: auto;
max-width: 150px;
float: left;
}
/*Formatting of contact logos*/
.contactLogo{
margin-right: 15px;
width: 10%;
margin-bottom: 15px;
margin: 0;
}
#scholar:hover{
width: 4%;
box-shadow: 0px 3px 18px 3px rgba(0,0,0,0.4);
}
#scholar{
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
margin: 0;
padding: 5px;
display: block;
line-height: 45px;
border-radius: 50%;
transition: all ease 0.5s;
box-shadow: 0px 3px 18px 3px rgba(0,0,0,0.2);
width: 3%;
margin-left: 60px;
margin-bottom: 10px;
}
svg {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
}
/*Specific formatting for publications list*/
.publicationDiv{
margin-left: 20px;
}
.publicationDiv p{
margin: 0;
padding: 0;
padding-top: 10px;
}
/* Beginning of redesign for bios page
.head{
width: 100%;
border-radius: 0 0 10% 0;
border-radius: 8px;
background-image: linear-gradient(to bottom left, #82d35a 10%, rgba(75, 221, 3, 0.5) 115%);
}
*/
/*Formatting text for title headers (Faculty, Students, etc.)*/
.personBio ul
{
color: black;
list-style-type: disc;
display: block;
text-align: left;
list-style-position:inside
}
.personBio li
{
color: black;
display: list-item;
margin-bottom: 5px;
}
.peopleTitle
{
font-size: 26px;
text-align: center;
padding-top: 60px;
}
/*Formatting div for title headers (Faculty, Students, etc.)*/
.newSection
{
background-color: #FFF;
padding-bottom: 60px;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
width: 70%;
margin: auto;
margin-bottom: 30px;
}
/*Acts as a container for each person entry (split into groups 3 per row)*/
.band
{
width: 90%;
max-width: 900px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: auto;
grid-gap: 10px;
padding: 10px;
}
/*formatting for each individual entry*/
.card
{
min-height: 100%;
background: white;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
display: flex;
flex-direction: column;
text-decoration: none;
color: #444;
position: relative;
top: 0;
transition: all .1s ease-in;
}
/*Drop shadow and animation on hover*/
.card:hover
{
top: -2px;
box-shadow: 0 4px 5px rgba(0,0,0,0.2);
}
/*Formatting of card contents*/
.card article
{
padding: 8px;
display: flex;
flex: 1;
justify-content: space-between;
flex-direction: column;
}
.card .personPic
{
padding-bottom: 100%;
background-size: cover;
background-position: center center;
}
.card span
{
font-size: 8px;
font-weight: bold;
color: #999;
text-transform: capitalize; /*uppercase;*/
letter-spacing: .05em;
margin: 2em 0 0 0;
}
.peopleTitle h2
{
font-size: 25px;
}
/*Formatting button on biographies section*/
.backToPeopleList{
margin: auto;
margin-left: 10px;
margin-bottom: 10px;
border: none;
padding: 10px;
border-radius: 8px;
background-color: rgb(221, 221, 221);
outline: none;
transition: 0.5s ease-in-out;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.backToPeopleList:hover{
background-color: rgb(221, 221, 221, 0.5);
box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
/*Text Formatting for mobile screens*/
@media screen and (min-width: 430px)
{
.band
{
grid-gap: 20px;
}
.peopleList h1
{
font-size: 12px;
}
.personBio h1
{
font-size: 25px;
}
.card span
{
font-size: 9px;
font-weight: bold;
color: #999;
text-transform: capitalize; /*uppercase;*/
letter-spacing: .05em;
margin: 2em 0 0 0;
}
.card article
{
padding: 10px;
}
.peopleTitle h2
{
font-size: 30px;
}
}
/*Text Formatting for Desktop screens*/
@media screen and (min-width: 560px)
{
.personBio img
{
padding-right: 20px;
padding-bottom: 20px;
width: 100%;
height: auto;
max-width: 200px;
float: left;
}
.personBio h1
{
font-size: 30px;
}
.peopleList h1
{
font-size: 18px;
}
.card span
{
font-size: 12px;
font-weight: bold;
color: #999;
text-transform: capitalize; /*uppercase;*/
letter-spacing: .05em;
margin: 2em 0 0 0;
}
.peopleTitle h2
{
font-size: 35px;
}
#Faculty
{
max-width: 1000px;
margin: auto;
}
#Students
{
max-width: 1000px;
margin: auto;
}
#ProjectMembers
{
max-width: 1000px;
margin: auto;
}
#GuestLecturers
{
max-width: 1000px;
margin: auto;
}
#FormerStudents
{
max-width: 1000px;
margin: auto;
}
#Directors
{
max-width: 1000px;
margin: auto;
}
#header{
text-align: center;
font-size: 40px;
}
}
/*Biography formatting for mobile Screens*/
@media screen and (max-width: 480px)
{
.featured{
width: 100%;
}
.container{
width:100%;
}
.peopleBio
{
border-radius: 8px;
width: 100%;
margin: 0;
background-color: white;
}
.personBio img
{
margin: 0;
display: block;
padding-right: 250px;
padding-bottom: 20px;
width: 100%;
max-width: 150px;
}
.personBio
{
min-height: 400px;
background-color: rgb(253, 252, 252);
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
height: 100%;
overflow: hidden;
margin: 0;
}
.personBio p{
text-align: left;
margin: 0;
position: relative;
display: inline-block;
}
.newSection
{
width: 100%;
margin: auto;
margin-bottom: 30px;
}
}
/*Formatting for contact icons used*/
.contactLogo{
align-content: center;
width: 20px;
margin-bottom: 15px;
}
#scholar{
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}
/********************************************************************************/
/* UNUSED CSS */
/********************************************************************************/
/*Alternative formatting for people list*/
/*
.peopleContainer{
height: 600px;
display: flex;
}
.peopleList{
padding: 8%;
height: 600px;
background-color: rgb(224, 196, 250);
}
.peopleListTitle{
width: 100%;
text-align: center;
font-size: 1.8em;
}
.peopleBio{
background-color: rgb(202, 235, 202);
}
.person{
width: 300px;
float: left;
margin: 10px 10px 0px 10px;
text-align: center;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 8px;
}
.personName{
font-size: 30px;
}
.person img{
width: 270px;
height: 285px;
}
.personTitle {
font-size: 25px;
} */
/* CSS for card flip template
.itemInner{
text-align: center;
transition: transform 1s;
transform-style: preserve-3d;
cursor: pointer;
perspective: 1000;
position: relative;
}
.itemInner.is-flipped {
transform: rotateY(180deg);
}
.cardFace{
position: absolute;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
overflow: hidden;
box-shadow: 0px 3px 18px 3px rgba(0,0,0,0.2);
}
.cardFaceFront{
align-items: center;
justify-content: center;
}
.cardFaceFront h2{
color: #fff;
font-size: 12px;
}
.cardFaceFront p{
font-size: 12px;
font-weight: 700;
}
.frontContent span{
color: #999;
}
.cardFaceBack{
background-color: #fff;
transform:rotateY(180deg);
}
.cardContent{
width: 100%;
position: relative;
}
.cardHeader{
position: relative;
padding: 40px 15px 15px;
}
.cardHeader:after{
content: '';
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
border-radius: 0 0 25% 0;
}
.cardHeader h2{
color: #fff;
font-size: 32px;
font-weight: 900;
text-align: center;
}
#titleName{
font-size: 26px;
margin: 15px;
}
.cardBody{
padding: 30px;
color: black !important;
display: block;
padding-top: 0px;
overflow-y: scroll;
}
.cardBody::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
border-radius: 10px;
background-color: #F5F5F5;
}
.cardBody::-webkit-scrollbar
{
width: 8px;
background-color: #F5F5F5;
}
.cardBody::-webkit-scrollbar-thumb
{
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.1);
background-color: #555;
}
.cardBody h3{
color: black !important;
font-size: 24px;
font-weight: 600;
margin-bottom: 15px;
}
.cardBody p {
color: black !important;
font-size: 18px;
line-height: 1.2;
}
.cardBody a {
margin-top: 10px;
display: inline-block;
}
.itemInner h4{
font-size: 30px;
color: #fff;
text-transform: capitalize;
}
.itemInner p{
font-size: 18px;
color: #fff;
letter-spacing: 1px;
}
.contactLogo{
align-content: center;
margin-right: 15px;
width: 20px;
margin-bottom: 15px;
}
*/