-
Notifications
You must be signed in to change notification settings - Fork 5
/
style.css
62 lines (57 loc) · 1.06 KB
/
style.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
#modal {
z-index: 1;
display: none;
position: fixed;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.9);
cursor: pointer;
}
/* Modal border */
#modal_inner {
position: absolute;
top: 40px;
bottom: 40px;
left: 40px;
right: 40px;
}
/* No modal border on smaller screens */
@media only screen and (max-width: 700px){
#modal_inner {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
}
#quantized_img {
z-index: 2;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
max-width: 100%;
max-height: 100%;
cursor: auto;
}
#close {
z-index: 3;
font-family: Arial, Helvetica, sans-serif;
position: absolute;
top: 15px;
left: 35px;
color: #f1f1f1;
font-size: 60px;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.9),
1px -1px 0 rgba(0, 0, 0, 0.9),
-1px 1px 0 rgba(0, 0, 0, 0.9),
-1px -1px 0 rgba(0, 0, 0, 0.9);
}
#close:hover, #close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}