-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathGallery.css
More file actions
75 lines (65 loc) · 1.14 KB
/
Gallery.css
File metadata and controls
75 lines (65 loc) · 1.14 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
h1 {
font-family: Satisfy;
font-size: 50px;
text-align: center;
color: black;
padding: 1%;
}
#gallery {
-webkit-column-count: 4;
-moz-column-count: 4;
column-count: 4;
-webkit-column-gap: 20px;
-moz-column-gap: 20px;
column-gap: 20px;
padding-bottom: 4rem;
}
@media (max-width: 1200px) {
#gallery {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
-webkit-column-gap: 20px;
-moz-column-gap: 20px;
column-gap: 20px;
}
}
@media (max-width: 800px) {
#gallery {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
-webkit-column-gap: 20px;
-moz-column-gap: 20px;
column-gap: 20px;
}
}
@media (max-width: 600px) {
#gallery {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
}
#gallery img,
#gallery video {
width: 100%;
height: auto;
margin: 4% auto;
box-shadow: -3px 5px 15px #000;
cursor: pointer;
-webkit-transition: all 0.2s;
transition: all 0.2s;
object-fit: contain;
}
.modal-img,
.model-vid {
width: 100%;
height: auto;
}
.modal-body {
padding: 0px;
}
.container-fluid {
width: 76% !important;
}