geethareddy commited on
Commit
7ccddd7
·
verified ·
1 Parent(s): 3b7f622

Create styles.css

Browse files
Files changed (1) hide show
  1. static/styles.css +87 -0
static/styles.css ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Main Page Styling */
2
+ body {
3
+ font-family: Arial, sans-serif;
4
+ background-color: #f9f9f9;
5
+ }
6
+
7
+ .menu-card {
8
+ display: flex;
9
+ justify-content: space-between;
10
+ align-items: center;
11
+ border: 1px solid #ddd;
12
+ padding: 15px;
13
+ margin-bottom: 10px;
14
+ border-radius: 8px;
15
+ box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
16
+ background-color: white;
17
+ }
18
+
19
+ .menu-card-details {
20
+ flex: 1;
21
+ margin-right: 15px;
22
+ }
23
+
24
+ .menu-card-details h3 {
25
+ margin: 0;
26
+ font-size: 18px;
27
+ }
28
+
29
+ .menu-card-details p {
30
+ margin: 5px 0;
31
+ font-size: 14px;
32
+ }
33
+
34
+ .menu-card-actions {
35
+ text-align: center;
36
+ }
37
+
38
+ .menu-card-image {
39
+ width: 100px;
40
+ height: 100px;
41
+ object-fit: cover;
42
+ border-radius: 8px;
43
+ margin-bottom: 10px;
44
+ }
45
+
46
+ .add-button {
47
+ background-color: #28a745;
48
+ color: white;
49
+ border: none;
50
+ padding: 8px 15px;
51
+ font-size: 14px;
52
+ border-radius: 5px;
53
+ cursor: pointer;
54
+ }
55
+
56
+ /* Modal Window Styling */
57
+ .modal {
58
+ display: none;
59
+ position: fixed;
60
+ top: 50%;
61
+ left: 50%;
62
+ transform: translate(-50%, -50%);
63
+ z-index: 1000;
64
+ width: 50%;
65
+ background-color: white;
66
+ border-radius: 8px;
67
+ box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
68
+ padding: 20px;
69
+ }
70
+
71
+ .modal-content {
72
+ text-align: center;
73
+ }
74
+
75
+ .modal-image {
76
+ max-width: 100%;
77
+ height: auto;
78
+ margin-bottom: 20px;
79
+ }
80
+
81
+ .close-button {
82
+ position: absolute;
83
+ top: 10px;
84
+ right: 10px;
85
+ font-size: 18px;
86
+ cursor: pointer;
87
+ }