-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
63 lines (63 loc) · 1.31 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
63
/*Copyright 2023 Nick Falbo (https://nick.falbo.dev)
SPDX-License-Identifier: Apache-2.0*/
.pop-up-img {
height: 200px;
width: 200px;
cursor: pointer;
}
.pop-up-frame {
background-color: rgba(0, 0, 0, 0.9);
position: fixed;
display: none;
flex-direction: column;
justify-content: center;
align-items: center;
top:0;
left:0;
bottom:0;
right:0;
height: 100%;
width: 100%;
}
.zoomed-img {
/* Change height and width to match dimensions of the images in your project */
height: 35em;
width: 35em;
}
@media screen and (max-width: 600px) {
/* Change height and width to match dimensions of the images in your project */
.zoomed-img {
height: 21em;
width: 21em;
}
}
.pop-up-exit-button {
cursor: pointer;
height: 55px;
width: 55px;
border: 0;
background-color: transparent;
padding-left: 75%;
margin-bottom: 1%;
}
@media screen and (max-width: 600px) {
.pop-up-exit-button {
padding-left: 70%;
}
}
/* make two button spans cross for an 'x' */
.cross-one, .cross-two {
display: block;
position: absolute;
border: 0;
border-radius: 15px;
background-color: white;
height: 5px;
width: 40px;
}
.cross-one {
transform: rotate(45deg);
}
.cross-two {
transform: rotate(-45deg);
}