-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnutrition.css
More file actions
69 lines (58 loc) · 1010 Bytes
/
nutrition.css
File metadata and controls
69 lines (58 loc) · 1010 Bytes
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
/* Add nutrition section styles */
.nutrition-section
{
padding-top: 10px;
padding-bottom: 15px;
}
.nutrition-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
margin-top: 30px;
}
.nutrition-form, .nutrition-summary {
background-color: white;
padding: 30px;
border-radius: var(--radius-lg);
box-shadow: var(--shadow);
}
.nutrition-stats {
display: flex;
justify-content: space-around;
margin: 20px 0;
}
.stat {
text-align: center;
}
.stat-value {
font-size: 2rem;
font-weight: 700;
color: var(--primary-color);
display: block;
}
.stat-label {
font-size: 0.9rem;
color: #666;
}
.meal-history {
margin-top: 30px;
}
#meal-list {
list-style: none;
margin-top: 15px;
}
#meal-list li {
padding: 10px 0;
border-bottom: 1px solid #eee;
display: flex;
justify-content: space-between;
}
#analyze-nutrition {
margin-top: 20px;
width: 100%;
}
@media (max-width: 768px) {
.nutrition-container {
grid-template-columns: 1fr;
}
}