-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgallery.css
72 lines (67 loc) · 1.08 KB
/
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
*{
box-sizing: border-box;
}
body{
margin:0;
padding: 0;
}
.back{
width:5rem;
height: 5rem;
border-radius: 50%;
background-color: black;
color:white;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
bottom: 4rem;
right:5rem
}
.back:hover{
cursor: pointer;
}
.gallery-cont{
background-color: lightblue;
width: 100vw;
min-height: 100vh;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.media-cont{
height: 15rem;
width: 15rem;
border:10px solid white;
/* background-color: lightgreen; */
margin:2rem
}
.media{
height: calc(100% - 2rem - 2rem);
background-color: orange;
}
.media > * {
width:100%;
height:100%;
object-fit: fill;
}
.download{
height:2rem;
background-color: black;
}
.action-btn{
height: 2rem;
color: white;
display: flex;
justify-content: center;
align-items: center;
}
.action-btn:hover{
cursor: pointer;
}
.delete{
height: 2rem;
}
.delete{
background-color: rgb(223, 43,43);
}