aboutsummaryrefslogtreecommitdiff
path: root/public/assets/carousel.css
blob: 2465370574dffad7b73356b4419bfc05531d482b (plain) (blame)
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
.carousel-content {
  align-self: center;
  max-height: 100%;
  white-space: nowrap;
  -ms-overflow-style: none;  /* hide scrollbar in IE and Edge */
  scrollbar-width: none;  /* hide scrollbar in Firefox */
}

.carousel-item {
  width: 100%;
  flex-shrink: 0;
  height: auto;
  float: left;
  text-align: center;
  transition: all 250ms linear;
  white-space: nowrap;
  vertical-align: middle;
}

.slick-slider {
  margin: 24px;
}

.slick-slide {
  margin: 0 auto;
  border-radius: 10px;
  text-align: center;
  float: none !important;
  display: inline-block !important;
  vertical-align: middle;
  min-height: 1px;
}

/* .carousel-item > * { */
/*   border-radius: 10px; */
/*   vertical-align: middle; */
/*   width: 100%; */
/*   height: auto; */
/* } */

.slick-dots li button::before {
  color: var(--color-fg) !important;
}

@media (max-width: 1150px) {
  .carousel-wrapper {
    margin: 60px auto;
    width: 330px;
    height: 220px;
  }
}

@media (max-width: 1150px) and (min-width: 480px) {
  .carousel-wrapper {
    margin: 60px auto;
    width: 480px;
    height: 360px;
  }
}

@media (min-width: 1150px) {
  .carousel-wrapper {
    float: right;
    width: 480px;
    height: 360px;
  }
}