-
Notifications
You must be signed in to change notification settings - Fork 0
/
res.html
366 lines (321 loc) · 7.54 KB
/
res.html
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
*{
box-sizing: border-box;
}
body{
background-color: #F7EFD7;
}
.container{
}
.header{
margin-left: -0px;
width:70%;
position:fixed;
top:0px;
z-index:999;
background-color: #F7EFD7;
}
.contact{
margin-top: 30px;
margin-bottom: 5px;
padding:20px;
background: #E2F59F;
border-radius: 20px;float:right;
cursor: pointer;
border-style: solid;
border-width: 3px;
border-color: #e8e8e8;
}
.contact:hover{
background-color: #595D5E;
color:white;
}
.inner{
width:68%;
margin:40px auto;
display: block;
overflow: hidden;
height:1000px;
}
.border{
margin-top:35px;
overflow: hidden;
transition: all 3s ease-in-out;
border-radius: 20px;
position: relative;
height:300px;
border-style: solid;
border-width: 3px;
border-color: #e8e8e8;
background-image: url("/home/qburst/Desktop/sample 2/images/food_picture_01_hd_pictures_167558.jpg");
background-size: cover;
background-position: bottom;
}
.todays{
opacity:.8;
border-radius: 20px;
position: relative;
height:auto;
border-style: solid;
border-width: 3px;
border-color: #e8e8e8;
overflow: hidden;
display:inline-block;
width:40%;
padding: 20px;
}
.todays:hover{
opacity:1.0;
background-color: #D5F230;
}
.popular
{
opacity:.8;
top:-110px;
border-radius: 20px;
position: relative;
height:auto;
border-style: solid;
border-width: 3px;
border-color: #e8e8e8;
overflow: hidden;
width: 59%;
display:inline-block;
position: relative;
padding: 20px;
}
.popular:hover{
opacity:1.0;
background-color: #D5F230;
}
.img {
display: inline-block;
margin: 5px;
border: 1px solid #ccc;
width: 80px;
height: 100px;
}
.img:hover {
border: 1px solid #777;
width:90px;
}
.img img{
width: 100%;
height: 50px;
}
.desc {
padding: 10px auto;
text-align: center;
background-color: #595D5E;
color:white;
height:50px;
}
.footer{
background: white;
position: fixed;
bottom: 0;
left:0;
height:10%;
width: 100%;
z-index: 1000;
}
.dropbtn{
border-style: solid;
border-width: 3px;
border-color: #e8e8e8;
background-color: #E2F59F;
width: 132px;
height: 25px;
border-radius: 60px 60px 0 0;
overflow: hidden;
text-align: center;
position:relative;
display: inline-block;
cursor: pointer;
}
.dropbtn:hover{
background-color: #C22554;
color:white;
}
.dropdown {
z-index: 999;
position: relative;
display: inline-block;
margin-top: 65px;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
text-align: center;
min-width: 130px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
border-radius:0px 0px 50px 50px;
overflow: hidden;
}
.dropdown-content label {
color: black;
padding: 12px 12px;
text-decoration: none;
display:inline-flex;
}
.dropdown:hover .dropdown-content {
display: inline;
}
.dropdown:hover .dropbtn{
background-color: #8A9091;
}
.dropdown-content label:hover {background-color: #f1f1e2;
cursor: pointer;
}
.overlay {
z-index: 1000;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.7);
transition: opacity 500ms;
visibility: hidden;
opacity: 0;
}
.popup {
margin: 70px auto;
padding: 20px;
background: #fff;
border-radius: 0px 40px 0px 40px;
width: 30%;
position: relative;
transition: all 5s ease-in-out;
height: auto;
}
.popup .close {
position: absolute;
top: 20px;
right: 30px;
transition: all 200ms;
font-size: 30px;
font-weight: bold;
text-decoration: none;
color: #333;
}
.popup .close:hover {
color: #06D85F;
cursor: pointer;
}
hr{
margin-top: 0px;
}
.content{
background-color: #F7EFD7;
padding:20px;
margin: 10px;
}
.content input{
border-color:"#6F7070";
float:right;
}
.content label{
font-weight:bold;
color: #595D5E;
}
.content button{
padding:10px;
color:#7A091C;
margin-left:122px;
}
#err{
color:#F20727;
}
</style>
</head>
<body>
<div class="container">
<img src="/home/qburst/Desktop/sample 2/images/The-dining-room.jpg" style="max-width:190px;top:0;border-radius:40%;position:fixed">
<div class="inner">
<div class="header">
<div class="dropdown">
<label class="dropbtn">Love Food?</label>
<div class="dropdown-content">
<label onclick="scroll(0)">Today' Special</label>
<label onclick="scroll(0)">The Popular</label>
</div>
</div>
<div class="dropdown">
<label class="dropbtn">Image Gallery</label>
<div class="dropdown-content">
<label>HELLo</label>
<label>Hyyyabel</label>
</div>
</div>
<label onclick="popup()" class="contact">Contact Us</label>
</div>
<div class="border" id="border">
</div>
<div class="lovefood" style="display:inline-block;padding:10px;margin:auto;">
<div class="todays">
<b>Today's Special</b><br/>
<div class="img">
<img src="/home/qburst/Desktop/sample 2/images/food_picture_03_hd_pictures_167556.jpg">
<div class="desc">Tikka chicken</div>
</div>
<div class="img">
<img src="/home/qburst/Desktop/sample 2/images/8538271-mexican-food-dishes-at-the-restaurant-on-a-white-background.jpg">
<div class="desc">Mexican Sandwich</div>
</div>
<div class="img">
<img src="/home/qburst/Desktop/sample 2/images/Food-Pictures-4.jpg">
<div class="desc">Spicy<br>Pizza</div>
</div>
<div class="img">
<img src="/home/qburst/Desktop/sample 2/images/fruit_vegetables_fish_garnish_lemon_food_74301_2048x1152.jpg">
<div class="desc">Fish<br>Garnish</div>
</div>
</div>
<div class="popular">
<b>The Popular</b><br/>
<div class="img">
<img src="/home/qburst/Desktop/sample 2/images/images.jpg">
<div class="desc">Chicken Biriyani</div>
</div>
<div class="img">
<img src="/home/qburst/Desktop/sample 2/images/Poori-Aloo-curry-2-001.jpg">
<div class="desc">Poori<br>Aloo</div>
</div>
<div class="img">
<img src="/home/qburst/Desktop/sample 2/images/puttu.jpg">
<div class="desc">Puttu<br>Curry</div>
</div>
<div class="img">
<img src="/home/qburst/Desktop/sample 2/images/chennaicitypage_03art1_gt819dhqj119nxg_p3_meals.jpg">
<div class="desc">Kerala<br>Sadhya</div>
</div>
</div>
</div>
<div id="popup1" class="overlay">
<div class="popup">
<h2 style="margin-top:0;color:#7A091C">Contact Us</h2>
<a class="close" onclick="popdown()">×</a>
<hr>
<div class="content">
<label>Name:</label>
<input type="text" id="name" placeholder="Enter your name" setfocus><br/></br>
<label>E-mail:</label>
<input type="text" id="email" placeholder="Enter your E-mail" autocomplete="off"><br/></br>
<label>Mobile No:</label>
<input type="text" id="phone" placeholder="Enter your Mobile No"><br/></br>
<button onclick="validate()">Go</button>
</div>
</div>
</div>
</div>
</div>
<script src="res.js">
</script>
</body>
</html>