blob: 01e803769c2ced5a10cd54bc7c7ca356cf0d3080 (
plain)
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
|
.galleryContainer {
padding: 20px;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 99999;
background: rgba(0, 0, 0, 0.8);
}
.photoContainer {
width: 100%;
height: 100%;
padding: 20px;
position: relative;
}
.photo {
max-width: 100%;
max-height: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.btn {
position: absolute;
z-index: 99999;
font-size: 2rem;
color: #eee;
background: none;
border: none;
cursor: pointer;
outline: currentcolor none medium;
}
.btn:hover {
color: #fff;
}
.arrowLeft {
top: 50%;
left: 0;
transform: translateY(-50%);
}
.arrowRight {
top: 50%;
right: 0;
transform: translateY(-50%);
}
.closeBtn {
width: 64px;
height: 64px;
top: 0;
right: 0;
font-size: 4rem;
line-height: 4rem;
font-weight: 300;
}
|