aboutsummaryrefslogtreecommitdiff
path: root/static/css/input.css
blob: adeb536cee17c226992f19b566e0d7ec458dc0a9 (plain)
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
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
  /* Hide scrollbar for Chrome, Safari and Opera */
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }
  /* Hide scrollbar for IE, Edge and Firefox */
  .no-scrollbar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
}

* {
  font-family: "Karla", sans-serif;
  /* box-sizing: border-box; */
}

main {
  max-width: 1920px;
}

/* Style for the active pagination bullet */
.swiper-pagination-bullet-active {
  background-color: white !important; /* Make active bullet white */
}

/* Optional: Style for inactive pagination bullets */
.swiper-pagination-bullet {
  background-color: rgba(
    255,
    255,
    255,
    0.8
  ) !important; /* Light gray for inactive bullets */
}

.peer:checked + div .toggle-dot {
  transform: translateX(100%);
}

.toggle-dot {
  transition: transform 0.1s ease-in-out;
}

.historySwiper .swiper-slide, .seasonSwiper .swiper-slide {
  height: 12rem !important; /* equivalent to h-48 */
  width: auto !important;
  aspect-ratio: 16 / 9 !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.anime-item {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  will-change: opacity, transform;
}

.anime-item.fade-in {
  animation: fadeInUp 0.5s ease-in-out forwards;
}