-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlightbox.css
More file actions
74 lines (63 loc) · 1.28 KB
/
lightbox.css
File metadata and controls
74 lines (63 loc) · 1.28 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
/*
* I guess this goes without saying, but
* DO NOT change any names here, you can stylize these
* classes all you want, but keep the names exactly how they are
* otherwise funky stuff happens, also don't assign these classes
* to anything else on your website.
*/
.prevLB { /* LEFT ARROW */ }
.nextLB { /* RIGHT ARROW */ }
.lightbox-photoLB {
width: 250px;
height: 250px;
object-fit: cover;
margin: 10px;
cursor: pointer;
}
.lightboxLB {
position: fixed;
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, .65);
}
.lightbox-controlLB {
text-align: right;
user-select: none;
color: #fff;
}
.lightbox-controlLB > .lightbox-buttonLB {
cursor: pointer;
font-size: 55px;
}
.lightbox-controlLB > .lightbox-swap-inactiveLB {
color: grey;
opacity: 0.8;
cursor: default;
}
.lightbox-containerLB {
position: fixed;
z-index: 10;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.lightbox-photo-enlargedLB {
object-fit: cover;
border: 4px solid #fff;
border-radius: 3px;
}
@media screen and (max-width: 360px) {
.lightbox-photoLB {
width: 120px;
height: 120px;
}
.lightbox-controlLB > .lightbox-buttonLB {
font-size: 50px;
}
}
.lightbox-swapLB:first-child {
margin-right: 20px;
}