DSatishchandra commited on
Commit
add9e3d
·
verified ·
1 Parent(s): 7c88838

Create static/styles.css

Browse files
Files changed (1) hide show
  1. static/styles.css +88 -0
static/styles.css ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body {
2
+ font-family: Arial, sans-serif;
3
+ margin: 20px;
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;
52
+ padding: 10px;
53
+ border-radius: 5px;
54
+ cursor: pointer;
55
+ font-size: 16px;
56
+ }
57
+
58
+ .menu-item button:hover {
59
+ background-color: #218838;
60
+ }
61
+
62
+ /* Pop-Up Modal */
63
+ .popup {
64
+ display: none;
65
+ position: fixed;
66
+ top: 50%;
67
+ left: 50%;
68
+ transform: translate(-50%, -50%);
69
+ width: 50%;
70
+ background-color: white;
71
+ padding: 20px;
72
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
73
+ border-radius: 8px;
74
+ z-index: 1000;
75
+ }
76
+
77
+ .popup button {
78
+ background-color: red;
79
+ color: white;
80
+ border: none;
81
+ padding: 10px;
82
+ border-radius: 5px;
83
+ cursor: pointer;
84
+ }
85
+
86
+ .popup button:hover {
87
+ background-color: darkred;
88
+ }