-
Notifications
You must be signed in to change notification settings - Fork 348
/
himachal.css
77 lines (64 loc) · 1.29 KB
/
himachal.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
body {
font-family: 'Arial', sans-serif;
background-color: #f8f9fa;
}
.trek-header {
background-image: url('https://images.unsplash.com/photo-1590155393127-df1e5e2c9339');
background-size: cover;
background-position: center;
padding: 100px 0;
position: relative;
}
.trek-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
}
.trek-header h1 {
position: relative;
z-index: 1;
font-weight: bold;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.trek-card {
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.trek-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.trek-card img {
width: 100%;
aspect-ratio: 3/2;
object-fit: cover;
}
.btn-primary {
background-color: #007bff;
border-color: #007bff;
}
.btn-primary:hover {
background-color: #0056b3;
border-color: #0056b3;
}
.modal-content {
border-radius: 0.5rem;
}
.carousel-item img {
height: 400px;
object-fit: cover;
}
@media (max-width: 768px) {
.trek-header {
padding: 50px 0;
}
.trek-header h1 {
font-size: 2rem;
}
.carousel-item img {
height: 300px;
}
}