-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
116 lines (100 loc) · 1.81 KB
/
style.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
* {
margin: 0;
padding: 0;
}
.search-bar {
color: white;
font-size: 10px;
background-color: green;
transition: all 300ms ease-in-out;
width: 100px;
}
.search-bar:hover {
color: green;
border-color: green;
background-color: white;
transform: translateY(-2px);
}
/* Carousel Styling */
.carousel-inner {
border-radius: 20px;
position: relative;
}
.carousel-inner::before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: linear-gradient(
to left,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0.8) 100%
);
z-index: 1; /* Place the overlay above the carousel content */
}
.carousel-inner img {
height: 200px;
object-fit: cover;
}
/* Card Styling */
.navbar .container a {
font-size: 25px;
}
.container a span {
color: green;
}
.card-container {
display: flex;
justify-content: space-around;
gap: 10px;
flex-wrap: wrap;
}
.card-container .card {
display: flex;
justify-content: center;
align-items: center;
}
.card-container .card img {
width: fit-content;
object-fit: cover;
height: 150px;
}
.card-container .card .card-text{
text-align: justify;
}
/* Maps Component */
.container iframe {
max-width: 1920px;
width: 50%;
height: 250px;
}
/* Review Component */
.form-group {
display: flex;
flex-direction: column;
gap: 5px;
width: 500px;
}
#reviewForm {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 10px;
}
/* Custom Animation */
@keyframes floatAnimation {
0% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
100% {
transform: translateY(0);
}
}
.float-animation {
animation: floatAnimation 5s infinite ease-in-out;
}