forked from PriyaGhosal/BuddyTrail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
service.css
77 lines (59 loc) · 1.07 KB
/
service.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
body {
font-family: 'Arial', sans-serif;
}
.service-card {
transition: transform 0.3s ease-in-out;
}
.service-card:hover {
transform: translateY(-5px);
}
.service-card img {
height: 200px;
object-fit: cover;
}
.btn-primary {
transition: background-color 0.3s ease;
}
.btn-primary:hover {
background-color: #0056b3;
}
@media (max-width: 768px) {
.service-card {
margin-bottom: 20px;
}
}
/* dark mode */
body {
background-color: white;
color: black;
transition: background-color 0.3s, color 0.3s;
}
body.dark-mode {
background-color: #121212;
color: #ffffff;
}
header.dark-mode {
background-color: #1f1f1f;
}
.mode-toggle {
cursor: pointer;
border: none;
background: transparent;
outline: none;
padding: 10px;
}
.mode-toggle img {
width: 24px;
height: 24px;
}
.navbar {
background-color: #f0f0f0;
transition: background-color 0.3s;
}
body.dark-mode .navbar {
background-color: #333;
}
body.dark-mode .navbar a:hover {
color: #4C51BF;
transform: translateY(-2px);
}