nagasurendra commited on
Commit
803113c
·
verified ·
1 Parent(s): 001b11b

Update static/styles.css

Browse files
Files changed (1) hide show
  1. static/styles.css +7 -53
static/styles.css CHANGED
@@ -4,48 +4,24 @@ body {
4
  background-color: #f9f9f9;
5
  }
6
 
7
- h1 {
8
- text-align: center;
9
- margin-bottom: 30px;
10
- }
11
-
12
- .menu-category {
13
- margin-bottom: 30px;
14
- }
15
-
16
- .menu-items {
17
- display: flex;
18
- flex-wrap: wrap;
19
- gap: 20px;
20
- }
21
-
22
  .menu-item {
23
  border: 1px solid #ddd;
24
  border-radius: 8px;
25
  padding: 10px;
26
- width: 200px;
27
  background-color: white;
28
  text-align: center;
 
29
  }
30
 
31
- .menu-item img {
32
  width: 100px;
33
  height: 100px;
34
  object-fit: cover;
35
  margin-bottom: 10px;
36
  }
37
 
38
- .menu-item h3 {
39
- font-size: 18px;
40
- margin: 10px 0;
41
- }
42
-
43
- .menu-item p {
44
- font-size: 16px;
45
- color: #333;
46
- }
47
-
48
- .menu-item button {
49
  background-color: #28a745;
50
  color: white;
51
  border: none;
@@ -55,14 +31,13 @@ h1 {
55
  font-size: 16px;
56
  }
57
 
58
- .menu-item button:hover {
59
  background-color: #218838;
60
  }
61
 
62
- /* Pop-Up Modal */
63
  /* Modal Window */
64
  .popup {
65
- display: none; /* Hidden by default */
66
  position: fixed;
67
  top: 50%;
68
  left: 50%;
@@ -76,30 +51,9 @@ h1 {
76
  }
77
 
78
  .popup.show {
79
- display: block; /* Show when modal is triggered */
80
  }
81
 
82
  .popup button {
83
  margin-top: 10px;
84
  }
85
-
86
- body {
87
- overflow-y: scroll; /* Keep background scrollable */
88
- }
89
-
90
- /* Menu Item */
91
- .menu-item img {
92
- width: 100px;
93
- height: 100px;
94
- object-fit: cover;
95
- }
96
-
97
- .add-button {
98
- background-color: #28a745;
99
- color: white;
100
- border: none;
101
- padding: 10px;
102
- border-radius: 5px;
103
- cursor: pointer;
104
- font-size: 14px;
105
- }
 
4
  background-color: #f9f9f9;
5
  }
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  .menu-item {
8
  border: 1px solid #ddd;
9
  border-radius: 8px;
10
  padding: 10px;
11
+ width: 300px;
12
  background-color: white;
13
  text-align: center;
14
+ margin-bottom: 20px;
15
  }
16
 
17
+ .dish-image {
18
  width: 100px;
19
  height: 100px;
20
  object-fit: cover;
21
  margin-bottom: 10px;
22
  }
23
 
24
+ .add-button {
 
 
 
 
 
 
 
 
 
 
25
  background-color: #28a745;
26
  color: white;
27
  border: none;
 
31
  font-size: 16px;
32
  }
33
 
34
+ .add-button:hover {
35
  background-color: #218838;
36
  }
37
 
 
38
  /* Modal Window */
39
  .popup {
40
+ display: none;
41
  position: fixed;
42
  top: 50%;
43
  left: 50%;
 
51
  }
52
 
53
  .popup.show {
54
+ display: block;
55
  }
56
 
57
  .popup button {
58
  margin-top: 10px;
59
  }