-
Notifications
You must be signed in to change notification settings - Fork 0
/
gallery.css
58 lines (49 loc) · 858 Bytes
/
gallery.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
@import url("https://fonts.googleapis.com/css2?family=Varela+Round&display=swap");
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: "Varela Round", sans-serif;
}
.back {
right: 5.5rem;
bottom: 6rem;
position: fixed;
right: 5.5rem;
bottom: 6rem;
cursor: pointer;
}
.display-gallery {
min-height: 100vh;
width: 100vw;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}
.media-gallery {
height: 15rem;
width: 15rem;
border: 10px solid #f4f4f5;
background-color: #f4f4f5;
margin: 2rem;
border-radius: 0.5rem;
}
.media {
height: calc(100% - 0.5rem - 2rem);
}
.media > * {
width: 100%;
height: 100%;
object-fit: fill;
}
.media-actions {
display: flex;
flex-direction: row;
justify-content: space-around;
cursor: pointer;
}
.media-actions img {
width: 40px;
}