-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathofficers.css
83 lines (65 loc) · 1007 Bytes
/
officers.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
.year-selector {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
padding: 3rem 0 1rem 0;
}
.year-selector .small.button.secondary {
font-size: 0.8rem;
}
.cover {
background-size: 150px;
}
.officers {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
max-width: 80rem;
margin: auto;
}
.officer {
position: relative;
overflow: hidden;
}
.officer-img {
width: 100%;
}
.officer img {
width:250px;
height:250px;
object-fit:cover;
}
.officer img:after {
content: "";
display: block;
padding-bottom: 100%;
}
.officer img.fun {
position:absolute;
top: 0;
left: 0;
width: 100%;
opacity: 0;
transition: .15s ease;
width:250x;
height:250px;
object-fit:cover;
}
.officer img.fun:hover{
opacity: 1;
}
.officer-desc {
margin: 20px 0 40px 0;
}
.intro {
margin-bottom: 20px;
}
.intro-text {
margin-bottom: 0px;
}
.intro-email {
font-style: italic;
}