-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
124 lines (112 loc) · 2.19 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
.gallery {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
}
.gallery-titel{
margin: 30px ;
text-align: center;
}
.gallery-item {
position: relative;
overflow: hidden;
cursor: pointer;
padding: 10px;
}
.gallery-item img {
width: 100% !important;
height: 200px;
transition: transform 0.2s;
}
.gallery-item:hover img {
transform: scale(1.1);
}
/* Lightbox Styles */
.lightbox {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
opacity: 0;
pointer-events: none;
}
.lightbox.active {
opacity: 1;
pointer-events: auto;
}
.lightbox-content {
width: 90%;
height: 90%;
display: flex;
justify-content: center !important;
}
.lightbox-content img {
width: 70% ;
height: auto;
}
@media (max-width: 768px) {
.lightbox-content img {
width: 95% ;
}
}
.close-button {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
font-size: 24px;
color: white;
}
.next {
position: absolute;
top: 50%;
right: 15px;
font-size: 20px;
width: 30px;
height: 30px;
background-color: white;
border-radius: 100%;
color: black;
display: flex;
align-items: center;
justify-content: center;
font-weight: bolder;
cursor: pointer;
-webkit-border-radius: 100%;
-moz-border-radius: 100%;
-ms-border-radius: 100%;
-o-border-radius: 100%;
}
.prev {
position: absolute;
top: 50%;
left: 15px;
font-size: 20px;
width: 30px;
height: 30px;
background-color: white;
border-radius: 100%;
color: black;
display: flex;
align-items: center;
justify-content: center;
font-weight: bolder;
cursor: pointer;
-webkit-border-radius: 100%;
-moz-border-radius: 100%;
-ms-border-radius: 100%;
-o-border-radius: 100%;
transform: rotate(180deg);
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
}