-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgallery.css
100 lines (88 loc) · 1.67 KB
/
gallery.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
.header_text {
font-size: 2rem;
padding:50px;
text-align: center;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
text-justify: distribute;
}
.carousel_container {
display: flex;
align-items: center;
flex-direction: column;
padding: 50px;
height: 800px;
background: #EEFEE9;
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
.swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.swiper {
width: 100%;
margin: 0 auto;
}
.swiper-slide {
width: 100%;
background-size: cover;
background-position: center;
}
.mySwiper2 {
border:black 3px solid;
margin-bottom: 20px;
height: 80%;
width: 80%;
}
.mySwiper {
border:black 3px solid;
width:80% ;
height: 20%;
box-sizing: border-box;
padding: 10px 0;
}
.mySwiper .swiper-slide {
width: 25%;
height: 100%;
opacity: 0.4;
}
.mySwiper .swiper-slide-thumb-active {
opacity: 1;
}
.swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
@media screen and (max-width: 960px){
.header_text {
font-size: 1rem;
padding:30px;
text-align: center;
}
.carousel_container {
padding: 30px;
height: 350px;
}
}