-
Notifications
You must be signed in to change notification settings - Fork 0
/
login_chef.css
182 lines (155 loc) · 3.02 KB
/
login_chef.css
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
/* Reset styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Header styles */
.header {
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 20px 0;
}
.container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.logo {
font-size: 24px;
font-weight: bold;
}
.nav ul {
list-style-type: none;
}
.nav ul li {
display: inline;
margin-right: 20px;
}
.nav ul li a {
text-decoration: none;
color: #333;
font-weight: bold;
transition: color 0.3s ease;
}
.nav ul li a:hover {
color: #007bff;
}
/* Banner styles */
.banner {
position: relative;
}
.banner img {
width: 100%;
height: auto;
display: block;
}
/* Section styles */
.section {
padding: 50px 0;
background-color: #f9f9f9;
text-align: center;
}
.section h2 {
margin-bottom: 30px;
font-size: 36px;
color: #333;
}
.section .container {
max-width: 800px;
margin: 0 auto;
}
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
}
/* Add this CSS to style the modal content */
/* CSS for modal content */
.modal-content {
background-color: #fff;
margin: 15% auto;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
width: 800px; /* Increase width to accommodate both halves */
display: flex; /* Use flexbox to split content into two halves */
}
/* CSS for left half */
.left-half {
flex: 1; /* Take up half of the available space */
padding-right: 20px; /* Add some space between halves */
border-right: 1px solid #ccc; /* Add a border between halves */
}
/* CSS for right half */
.right-half {
flex: 1; /* Take up half of the available space */
padding-left: 20px; /* Add some space between halves */
}
/* Adjust styles for form and image */
form, img {
max-width: 100%; /* Ensure form and image don't exceed container width */
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
h2 {
margin-bottom: 20px;
text-align: center;
}
form {
display: flex;
flex-direction: column;
}
label {
margin-bottom: 10px;
}
input[type="text"],
input[type="password"],
input[type="submit"] {
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 5px;
}
input[type="submit"] {
background-color: #007bff;
color: #fff;
border: none;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
.input-box {
display: flex;
flex-direction: column;
}
.input-box label {
margin-bottom: 5px;
}
.input-box input {
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 5px;
}