-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlightbox.css
More file actions
54 lines (50 loc) · 942 Bytes
/
Copy pathlightbox.css
File metadata and controls
54 lines (50 loc) · 942 Bytes
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
.gallery{
border: 1px solid var(--accent);
padding: 5px;
height: 200px;
}
#imgtext{
padding: 5px 0px 10px;
background-color: var(--dk);
}
.container{
display: none;
text-align: center;
position: fixed;
padding-top: 1em;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.75);
}
/* Next & previous buttons */
#prev,
#next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -50px;
color: white;
font-weight: bold;
font-size: 20px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
-webkit-user-select: none;
}
/* Position the "next button" to the right */
#next {
right: 0;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
#prev:hover,
#next:hover {
color: var(--link2);
background-color: var(--dk);
}