-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
94 lines (81 loc) · 1.22 KB
/
style.css
File metadata and controls
94 lines (81 loc) · 1.22 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
body {
font-family: Arial;
text-align: center;
background: #111;
color: white;
}
h1 {
margin: 20px;
}
/* Buttons */
.filter-buttons {
margin-bottom: 20px;
}
.filter-btn {
padding: 10px 20px;
margin: 5px;
border: none;
cursor: pointer;
background: #333;
color: white;
border-radius: 20px;
transition: 0.3s;
}
.filter-btn:hover {
background: #ff9800;
transform: scale(1.1);
}
.filter-btn.active {
background: #ff5722;
}
/* Gallery */
.gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
}
.gallery img {
width: 200px;
height: 150px;
object-fit: cover;
cursor: pointer;
transition: 0.3s;
}
.gallery img:hover {
transform: scale(1.1);
}
/* Lightbox */
.lightbox {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.9);
}
.lightbox img {
max-width: 80%;
margin-top: 5%;
}
/* Close */
.close {
position: absolute;
top: 20px;
right: 40px;
font-size: 40px;
cursor: pointer;
}
/* Navigation */
.prev, .next {
position: absolute;
top: 50%;
font-size: 40px;
background: transparent;
border: none;
color: white;
cursor: pointer;
}
.prev { left: 20px; }
.next { right: 20px; }