forked from omroy07/AgriTech
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshopkeeper.css
More file actions
80 lines (68 loc) · 1.4 KB
/
Copy pathshopkeeper.css
File metadata and controls
80 lines (68 loc) · 1.4 KB
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
/* styles.css */
body {
font-family: Arial, sans-serif;
margin: 20px;
background-color: #f9f9f9;
}
header {
text-align: center;
padding: 20px;
background-color: #4CAF50;
color: white;
}
section {
margin-bottom: 40px;
}
h2 {
color: #4CAF50;
border-bottom: 2px solid #4CAF50;
padding-bottom: 5px;
}
.dealer-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 1rem;
margin-top: 1rem;
}
.dealer-card {
background-color: white;
padding: 15px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
transition: transform 0.2s, box-shadow 0.2s;
}
.dealer-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.dealer-card h3 {
margin-top: 0;
color: #333;
}
.dealer-card p {
margin: 5px 0;
color: #555;
}
@media (max-width: 600px) {
.dealer-grid {
grid-template-columns: 1fr;
}
}
/* Back Button Styling */
.back-button {
background-color: #4CAF50; /* Green background */
border: none;
color: white; /* White text */
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 10px 0;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.back-button:hover {
background-color: #45a049; /* Darker green on hover */
}