forked from PriyaGhosal/BuddyTrail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sustanabletravel.css
79 lines (65 loc) · 1.27 KB
/
sustanabletravel.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
body {
font-family: 'Arial', sans-serif;
background-color: #f8f9fa;
}
.card {
transition: transform 0.3s ease-in-out;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card:hover {
transform: translateY(-5px);
}
.card-img-top {
height: 200px;
object-fit: cover;
}
.chatbot-card {
border-radius: 15px;
overflow: hidden;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
.chat-window {
height: 300px;
overflow-y: auto;
padding: 20px;
}
.message {
margin-bottom: 15px;
padding: 10px 15px;
border-radius: 20px;
max-width: 80%;
animation: fadeIn 0.5s ease-out;
}
.bot-message {
background-color: #e9ecef;
align-self: flex-start;
}
.user-message {
background-color: #d4edda;
align-self: flex-end;
margin-left: auto;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.form-control:focus,
.btn:focus {
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
.btn-success {
background-color: #28a745;
border-color: #28a745;
}
.btn-success:hover {
background-color: #218838;
border-color: #1e7e34;
}
@media (max-width: 768px) {
.card-img-top {
height: 150px;
}
.chat-window {
height: 250px;
}
}