SathvikGanta commited on
Commit
373c751
·
verified ·
1 Parent(s): 175fc26

Create components/styles.py

Browse files
Files changed (1) hide show
  1. components/components/styles.py +52 -0
components/components/styles.py ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .food-card {
2
+ border: 1px solid #ddd;
3
+ border-radius: 8px;
4
+ box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
5
+ max-width: 400px;
6
+ margin: 0 auto;
7
+ overflow: hidden;
8
+ font-family: Arial, sans-serif;
9
+ background-color: #fff;
10
+ }
11
+
12
+ .card-header {
13
+ position: relative;
14
+ }
15
+
16
+ .food-image {
17
+ width: 100%;
18
+ height: auto;
19
+ display: block;
20
+ }
21
+
22
+ .close-btn {
23
+ position: absolute;
24
+ top: 10px;
25
+ right: 10px;
26
+ background: none;
27
+ border: none;
28
+ font-size: 18px;
29
+ cursor: pointer;
30
+ color: #333;
31
+ }
32
+
33
+ .card-body {
34
+ padding: 16px;
35
+ }
36
+
37
+ .nutrition-table {
38
+ width: 100%;
39
+ border-collapse: collapse;
40
+ }
41
+
42
+ .nutrition-table td {
43
+ padding: 8px;
44
+ border-bottom: 1px solid #ddd;
45
+ }
46
+
47
+ .card-footer {
48
+ padding: 16px;
49
+ background: #f9f9f9;
50
+ text-align: right;
51
+ font-size: 14px;
52
+ }