-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgallery.css
73 lines (62 loc) · 1.11 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
73
*{
box-sizing: border-box;
}
body{
margin: 0px;
}
.gallery-back{
height: 5rem;
width: 5rem;
position: fixed;
bottom: 7%;
right: 41px;
border-radius: 50%;
background-color: rgb(46, 45, 45);
color: white;
font-family: sans-serif;
}
.gallery-back:hover{
animation: gScaleUp 1s;
animation-fill-mode: forwards;
}
@keyframes gScaleUp {
0%{
transform: scale(1);
}
100%{
transform: scale(1.1);
}
}
.media-container{
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: space-around;
}
.gallery_video-container, .gallery_img-container{
width: 25rem;
background: white;
height: 25rem;
padding: 2rem;
margin: 2rem;
}
.gallery_video-container video, .gallery_img-container img{
width: 100%;
height: 80%;
display: block;
}
.gallery_delete-btn, .gallery_download-btn{
border: none;
height: 10%;
display: block;
color: white;
font-size: 1.2rem;
width: 100%;
cursor: pointer;
}
.gallery_delete-btn {
background: #d91d1d;
}
.gallery_download-btn {
background: #291e1e;
}