-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgallery.css
More file actions
105 lines (87 loc) · 1.65 KB
/
Copy pathgallery.css
File metadata and controls
105 lines (87 loc) · 1.65 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
* {
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;
cursor: pointer;
position: fixed;
bottom: 4%;
right: 4%;
}
.gallery-cont {
min-height: 100vh;
width: 100vw;
background-color: rgba(180, 208, 215, 0.488);
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
}
.media-cont {
height: 15rem;
width: 15rem;
border: 5px solid white;
background-color: lightgreen;
transition: transform 450ms ease;
}
.media-cont:hover {
transform: scale(1.106);
}
.media {
height: calc(100% - 1rem);
background-color: orange;
}
video {
border-radius: 3px;
}
.media > * {
width: 100%;
height: 100%;
object-fit: fill;
}
.action-btn-cont {
height: 1rem;
display: flex;
}
.action-btn {
/* height: 2rem; */
height: 100%;
width: 50%;
color: white;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
content: none;
}
.download {
background-color: black;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.download:hover span{
opacity: 1;
}
.delete {
background-color: crimson;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
.delete:hover span{
opacity: 1;
}
span {
opacity: 0;
transition: opacity 300ms ease-in;
}