-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
97 lines (81 loc) · 1.59 KB
/
styles.css
File metadata and controls
97 lines (81 loc) · 1.59 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/* Smart Grocery Housekeeping — Custom Styles */
:root {
--primary-green: #2f855a;
--accent-green: #48bb78;
--light-green: #f0fdf4;
--soft-gray: #f8f9fa;
}
/* Smooth background gradient for the page */
body {
background: linear-gradient(135deg, #f6fffa, #e8f5e9);
font-family: "Inter", "Segoe UI", sans-serif;
transition: background 0.4s ease-in-out;
}
/* Header */
header {
background: var(--primary-green);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
header h1 {
letter-spacing: 0.5px;
font-weight: 700;
}
/* Navigation*/
header nav a {
color: #ffffffcc;
font-weight: 500;
transition: color 0.3s ease;
}
header nav a:hover {
color: #fff;
text-decoration: underline;
}
/* Dashboard cards */
section {
transition: transform 0.2s ease, box-shadow 0.2s ease;
border-radius: 1.25rem;
}
section:hover {
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
/* Titles in cards */
section h2 {
font-weight: 600;
color: var(--primary-green);
}
/* Buttons */
button {
background-color: var(--primary-green);
color: white;
font-weight: 500;
border: none;
transition: background 0.3s ease, transform 0.2s ease;
}
button:hover {
background-color: var(--accent-green);
transform: scale(1.05);
}
/* Footer */
footer {
background: var(--soft-gray);
color: #555;
font-size: 0.9rem;
}
footer div {
letter-spacing: 0.3px;
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
main section {
animation: fadeInUp 0.5s ease both;
}