-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwall.css
47 lines (41 loc) · 819 Bytes
/
wall.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
.image-wall {
list-style-type: none;
padding-left: 0;
}
.image-item {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
margin-bottom: 25px;
margin-right: 25px;
float: left;
}
.image-item figure {
position: relative;
margin: 0;
}
.image-item figcaption {
text-align: center;
padding-top: 15px;
padding-bottom: 15px;
background-color: white;
position: absolute;
bottom: 0;
left: 0;
right: 0;
opacity: 0.8;
}
.center-cropped {
display: block;
width: 400px;
height: 400px;
object-fit: cover;
object-position: center;
animation: reveal 1s ease;
}
a, a:active, a:hover, a:focus {
text-decoration: none;
color: black;
}
@keyframes reveal {
0% { opacity: 0; }
100% { opacity: 1; }
}