-
Notifications
You must be signed in to change notification settings - Fork 4
/
search.html
348 lines (334 loc) · 22.5 KB
/
search.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Search results</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<nav class="bg-color-3 d-flex justify-around p-1">
<ul class="list-style-none d-flex align-center justify-center">
<li>
<a href="/index.html" class="image-highlight">
<img src="./assets/images/book.svg" alt="bookshop-logo">
<span class="color-white font-style-3 font-size-md pl-1">BOOKSHOP</span>
</a>
</li>
<li class="pl-2 d-none visible-in-md">
<a href="index.html">
<img src="./assets/images/home-run.svg" alt="home-logo" class="navbar-icon">
<span class="color-1 font-style-1 font-size-sm pl-1 white-highlight">HOME</span>
</a>
</li>
<li class="pl-2 d-none visible-in-md">
<a href="#">
<img src="./assets/images/bookshelf.svg" alt="collection-logo" class="navbar-icon">
<span class="color-2 font-style-1 font-size-sm pl-1 white-highlight">COLLECTIONS</span>
</a>
</li>
<li class="pl-2">
<a href="#">
<img src="./assets/images/supermarket.svg" alt="cart-logo" class="navbar-icon">
<span
class="color-2 font-style-1 font-size-sm pl-1 white-highlight d-none visible-in-md">PURCHASE
LIST</span>
</a>
</li>
<li class="pl-2">
<button type="button"
class="d-none stock-btn default-btn font-size-sm font-style-2 bg-color-1">REQUEST
FOR STOCK</button>
</li>
</ul>
<ul class="list-style-none d-flex justify-around align-center user-info">
<li class="d-none visible-in-lg">
<a href="#" class="image-highlight">
<img src="./assets/images/mail.svg" alt="mail-icon" class="navbar-icon">
<span
class="d-inline-block bg-color-1 mail-notification font-size-sm font-style-2 color-white">12</span>
</a>
</li>
<li class="d-none visible-in-lg">
<a href="#">
<span class="color-white font-style-3 font-size-sm pl-1 gray-highlight">User Name</span>
</a>
</li>
<li>
<a href="#">
<img src="./assets/images/person.svg" alt="user-img" class="image-highlight pl-1">
</a>
</li>
<li class="pl-1">
<a href="search.html" class="search-btn default-btn font-size-sm font-style-2 bg-color-1">Search</a>
</li>
</ul>
</nav>
<section class="hero-section d-none flex-column p-1">
<h2 class="d-none">This is added to remove validators errors.</h2>
<div class="mx-auto">
<h1 class="hero-title font-style-2 color-white">BOOKSHOP</h1>
<h4 class="font-style-1 color-white font-size-md py-1">Search for your desired book</h4>
<form action="#" class="hero-form d-flex align-center py-1">
<select name="genre" class="genre-selector border-0 bg-white border-right flex-grow-1 pointer">
<option value="all" class="genre-selector">All genre</option>
<option value="non-fiction" class="genre-selector">Non Fiction</option>
<option value="fiction" class="genre-selector" selected>Fiction</option>
<option value="academic" class="genre-selector">Academic</option>
</select>
<input type="text" placeholder="What do you search for ?" value="philosophy"
class="p-1 border-0 font-style-1 font-size-sm border-right flex-grow-1 pointer">
<input type="text" value="life" placeholder="Search..."
class="p-1 border-0 font-style-1 font-size-sm flex-grow-1 pointer">
<a href="search.html" class="default-btn font-size-sm font-style-2 bg-color-3 ml-1">Search</a>
</form>
</div>
</section>
</header>
<main class="filter-search-container d-flex mx-auto">
<!-- Search Filter -->
<aside class="filter-container d-none visible-in-lg border p-2 flex-grow-1">
<form action="#" class="py-1">
<input id="hardcopy" type="checkbox" name="hardcopy" value="hardcopy">
<label for="hardcopy" class="font-style-1 font-size-s color-2 pl-1">hardcopy</label><br>
<input id="softcopy" type="checkbox" name="softcopy" value="softcopy">
<label for="softcopy" class="font-style-1 font-size-s color-2 pl-1">softcopy</label><br>
</form>
<p class="font-style-2 font-size-md color-3 py-half border-bottom-2">Type</p>
<form action="#" class="py-1">
<input id="paperback" type="checkbox" name="paperback" value="paperback">
<label for="paperback" class="font-style-1 font-size-s color-2 pl-1">paperback</label><br>
<input id="hardback" type="checkbox" name="hardback" value="hardback">
<label for="hardback" class="font-style-1 font-size-s color-2 pl-1">hardback</label><br>
<input id="kindle" type="checkbox" name="kindle" value="kindle">
<label for="kindle" class="font-style-1 font-size-s color-2 pl-1">kindle</label><br>
<input id="economy" type="checkbox" name="economy" value="economy">
<label for="economy" class="font-style-1 font-size-s color-2 pl-1">economy</label>
</form>
<p class="font-style-2 font-size-md color-3 py-half border-bottom-2">Publications</p>
<form action="#" class="py-1">
<input id="Penguin" type="checkbox" name="Penguin" value="Penguin">
<label for="Penguin" class="font-style-1 font-size-s color-2 pl-1">Penguin</label><br>
<input id="FingerprintClassics" type="checkbox" name="Fingerprint! Classics" value="Fingerprint! Classics">
<label for="FingerprintClassics" class="font-style-1 font-size-s color-2 pl-1">Fingerprint!
Classics</label><br>
<input id="MacmillanPublishers" type="checkbox" name="Macmillan Publishers" value="Macmillan Publishers">
<label for="MacmillanPublishers" class="font-style-1 font-size-s color-2 pl-1">Macmillan
Publishers</label><br>
<input id="McGraw-HillEducation" type="checkbox" name="McGraw-Hill Education" value="McGraw-Hill Education">
<label for="McGraw-HillEducation" class="font-style-1 font-size-s color-2 pl-1">McGraw-Hill
Education</label>
</form>
<p class="font-style-2 font-size-md color-3 py-half border-bottom-2">Price Range</p>
<form action="#" class="py-1">
<input id="$0-$10" type="checkbox" name="$0 - $10" value="$0 - $10">
<label for="$0-$10" class="font-style-1 font-size-s color-2 pl-1">$0 - $10</label><br>
<input id="$10-$20" type="checkbox" name="$10 - $20" value="$10 - $20">
<label for="$10-$20" class="font-style-1 font-size-s color-2 pl-1">$10 - $20</label><br>
<input id="$20-$30" type="checkbox" name="$20 - $30" value="$20 - $30">
<label for="$20-$30" class="font-style-1 font-size-s color-2 pl-1">$20 - $30</label><br>
<input id="$30+" type="checkbox" name="$30+" value="$30+">
<label for="$30+" class="font-style-1 font-size-s color-2 pl-1">$30+</label>
</form>
</aside>
<!-- Search Results -->
<section class="border">
<h3 class="font-style-1 font-size-s color-2 p-1 border-bottom-3">119 search results for 'life' Search at
'philosophy' at
Category 'fiction'</h3>
<section class="p-1 d-flex flex-column align-center">
<h2 class="d-none">This is hidden</h2>
<article class="d-flex justify-between p-1">
<img src="assets/images/fiction-img-1.jpg" alt="siddhartha" class="d-block search-images">
<div class="ml-1 d-flex flex-column justify-around">
<h4 class="font-style-2 font-size-md color-1 pointer black-highlight">The Great Gatsby: A Novel
<span class="font-style-1 font-size-md color-2 black-highlight">by F. Scott
Fitzgerald</span>
</h4>
<p class="font-style-1 font-size-s color-3 py-1 d-none visible-in-sm gray-highlight pointer">
The Great Gatsby, F. Scott Fitzgerald's third book, stands as the supreme achievement of his
career. This exemplary novel of the Jazz Age has been acclaimed by generations of readers.
The story is of the fabulously wealthy Jay Gatsby and his new love for the beautiful Daisy
Buchanan</p>
<p class="font-size-md font-style-2 color-3 gray-highlight pointer">Rating: 3.92/5</p>
<div class="d-flex flex-column purchase-details-container">
<a href="#"
class="default-btn font-size-md font-style-2 bg-color-1 mr-half my-half">$10.78</a>
<a href="#" class="default-btn font-size-sm font-style-2 bg-color-1 mr-half my-half"><img
src="./assets/images/supermarket-white.svg" alt="cart-logo-2"><span
class="pl-1">Purchase
Details</span></a>
</div>
</div>
</article>
<article class="d-flex justify-between p-1">
<img src="assets/images/fiction-img-4.jpg" alt="siddhartha" class="d-block search-images">
<div class="ml-1 d-flex flex-column justify-around">
<h4 class="font-style-2 font-size-md color-1 pointer black-highlight">The Alchemist: A Novel
<span class="font-style-1 font-size-md color-2 black-highlight">by Paulo Coelho, Alan R.
Clarke
(Translator)</span>
</h4>
<p class="font-style-1 font-size-s color-3 py-1 d-none visible-in-sm gray-highlight pointer">
Paulo Coelho's enchanting novel has inspired a devoted following around the world. This
story, dazzling in its powerful simplicity and soul-stirring wisdom, is about an Andalusian
shepherd boy named Santiago who travels from his homeland in Spain to the Egyptian desert
</p>
<p class="font-size-md font-style-2 color-3 gray-highlight pointer">Rating: 3.87/5</p>
<div class="d-flex flex-column purchase-details-container">
<a href="#"
class="default-btn font-size-md font-style-2 bg-color-1 mr-half my-half">$16.93</a>
<a href="#" class="default-btn font-size-sm font-style-2 bg-color-1 mr-half my-half"><img
src="./assets/images/supermarket-white.svg" alt="cart-logo-2"><span
class="pl-1">Purchase
Details</span></a>
</div>
</div>
</article>
<article class="d-flex justify-between p-1">
<img src="assets/images/siddhartha.jpg" alt="siddhartha" class="d-block search-images">
<div class="ml-1 d-flex flex-column justify-around">
<h4 class="font-style-2 font-size-md color-1 pointer black-highlight">Siddhartha: A Novel
<span class="font-style-1 font-size-md color-2 black-highlight">by Hermann Hesse, Hilda
Rosner
(Translator)</span>
</h4>
<p class="font-style-1 font-size-s color-3 py-1 d-none visible-in-sm gray-highlight pointer">
Herman Hesse's classic novel
has delighted, inspired, and influenced generations of readers,
writers, and thinkers. In this story of a wealthy Indian Brahmin who casts off a life of
privilege to seek spiritual fulfillment.</p>
<p class="font-size-md font-style-2 color-3 gray-highlight pointer">Rating: 4/5</p>
<div class="d-flex flex-column purchase-details-container">
<a href="#"
class="default-btn font-size-md font-style-2 bg-color-1 mr-half my-half">$5.49</a>
<a href="#" class="default-btn font-size-sm font-style-2 bg-color-1 mr-half my-half"><img
src="./assets/images/supermarket-white.svg" alt="cart-logo-2"><span
class="pl-1">Purchase
Details</span></a>
</div>
</div>
</article>
<article class="d-flex justify-between p-1">
<img src="assets/images/fiction-img-3.jpg" alt="siddhartha" class="d-block search-images">
<div class="ml-1 d-flex flex-column justify-around">
<h4 class="font-style-2 font-size-md color-1 pointer black-highlight">1984: A Novel
<span class="font-style-1 font-size-md color-2 black-highlight">by George Orwell, Peter
Hobley
Davison (Foreword)</span>
</h4>
<p class="font-style-1 font-size-s color-3 py-1 d-none visible-in-sm gray-highlight pointer">
Among the seminal texts of the 20th century, Nineteen Eighty-Four is a rare work that grows
more haunting as its futuristic purgatory becomes more real. Published in 1949, the book
offers political satirist George Orwell's nightmarish vision of a totalitarian</p>
<p class="font-size-md font-style-2 color-3 gray-highlight pointer">Rating: 4.18/5</p>
<div class="d-flex flex-column purchase-details-container">
<a href="#"
class="default-btn font-size-md font-style-2 bg-color-1 mr-half my-half">$19.99</a>
<a href="#" class="default-btn font-size-sm font-style-2 bg-color-1 mr-half my-half"><img
src="./assets/images/supermarket-white.svg" alt="cart-logo-2"><span
class="pl-1">Purchase
Details</span></a>
</div>
</div>
</article>
<article class="d-flex justify-between p-1">
<img src="assets/images/non-fiction-img-1.jpg" alt="siddhartha" class="d-block search-images">
<div class="ml-1 d-flex flex-column justify-around">
<h4 class="font-style-2 font-size-md color-1 pointer black-highlight">"Surely You're Joking, Mr.
Feynman!": Adventures of a Curious Character
<span class="font-style-1 font-size-md color-2 black-highlight">by Richard P. Feynman</span>
</h4>
<p class="font-style-1 font-size-s color-3 py-1 d-none visible-in-sm gray-highlight pointer">
A New York Times bestseller—the outrageous exploits of one of this century's greatest
scientific minds and a legendary American original.</p>
<p class="font-size-md font-style-2 color-3 gray-highlight pointer">Rating: 4.6/5</p>
<div class="d-flex flex-column purchase-details-container">
<a href="#"
class="default-btn font-size-md font-style-2 bg-color-1 mr-half my-half">$10.89</a>
<a href="#" class="default-btn font-size-sm font-style-2 bg-color-1 mr-half my-half"><img
src="./assets/images/supermarket-white.svg" alt="cart-logo-2"><span
class="pl-1">Purchase
Details</span></a>
</div>
</div>
</article>
<ul class="list-style-none d-flex my-1">
<li class="border bg-color-1 p-1 color-white font-style-1 font-size-sm gray-highlight pointer">1</li>
<li class="border p-1 color-3 font-style-1 font-size-sm ml-half gray-highlight pointer">2</li>
<li class="border p-1 color-3 font-style-1 font-size-sm ml-half gray-highlight pointer">3</li>
<li class="border p-1 color-3 font-style-1 font-size-sm ml-half gray-highlight pointer">4</li>
<li class="p-1 color-3 font-style-1 font-size-sm ml-half gray-highlight pointer">....</li>
<li class="border p-1 color-3 font-style-1 font-size-sm ml-half gray-highlight pointer">7</li>
</ul>
</section>
</section>
</main>
<footer class="bg-white border">
<section class="d-flex flex-wrap justify-around footer-links-container mx-auto">
<h1 class="d-none">This is hidden</h1>
<div class="p-1">
<div class="d-flex justify-center align-center">
<img src="./assets/images/book-gray.svg" alt="bookshop-logo">
<span class="color-2 font-style-3 font-size-md pl-1">BOOKSHOP</span>
</div>
<p class="font-style-2 color-2 font-size-sm py-half">
Bookshop is a market place for books. Here you can find<br>
a huge collection of books. You can browse through our<br>
search box. Our search algorithm will help you find your<br>
preferred books. </p>
</div>
<div class="flex-grow-1 p-1">
<p class="font-style-2 color-1 font-size-s border-bottom-2">Categories</p>
<ul class="list-style-none py-half">
<li class="font-style-2 color-2 font-size-sm underline pointer py-half">Non Fiction</li>
<li class="font-style-2 color-2 font-size-sm underline pointer py-half">Fiction</li>
<li class="font-style-2 color-2 font-size-sm underline pointer py-half">Academic</li>
</ul>
</div>
<div class="flex-grow-1 p-1">
<p class="font-style-2 color-1 font-size-s border-bottom-2">Navigation</p>
<ul class="list-style-none py-half">
<li class="font-style-2 color-2 font-size-sm underline pointer py-half"><a href="index.html" class="d-block">Home</a></li>
<li class="font-style-2 color-2 font-size-sm underline pointer py-half">Sign In</li>
<li class="font-style-2 color-2 font-size-sm underline pointer py-half">Sign Up</li>
<li class="font-style-2 color-2 font-size-sm underline pointer py-half">Terms & Conditions</li>
<li class="font-style-2 color-2 font-size-sm underline pointer py-half">FAQ</li>
<li class="font-style-2 color-2 font-size-sm underline pointer py-half">Help</li>
</ul>
</div>
<div class="flex-grow-1 d-flex flex-column p-1 location-info">
<ul class="list-style-none">
<li class="font-style-3 color-1 font-size-s py-half">COUNTRY<span
class="font-style-2 color-3 font-size-sm border px-half ml-half pointer">United
States</span></li>
<li class="font-style-3 color-1 font-size-s py-half">LANGUAGE<span
class="font-style-2 color-3 font-size-sm border px-half ml-half pointer">English</span></li>
<li class="font-style-3 color-1 font-size-s py-half">CURRENCY<span
class="font-style-2 color-3 font-size-sm border px-half ml-half pointer">US Dollar</span>
</li>
</ul>
</div>
</section>
<section class="border">
<h1 class="d-none">This is hidden</h1>
<div class="copyright-section p-1 mx-auto d-flex justify-between align-center">
<p class="font-size-sm font-style-1 color-2">Copyright© 2020 bookshop.com. All rights reserved.
Created by Ershadul Hakim Rayhan. Design idea by Mohammed Awad.</p>
<ul class="list-style-none d-flex">
<li><img src="./assets/images/twitter.svg" alt="twitter-logo"
class="d-block category-heading-icons pointer ml-half"></li>
<li><img src="./assets/images/google.svg" alt="google-logo"
class="d-block category-heading-icons pointer ml-half"></li>
<li><img src="./assets/images/facebook.svg" alt="facebook-logo"
class="d-block category-heading-icons pointer ml-half"></li>
<li><img src="./assets/images/linkedin.svg" alt="linkedin-logo"
class="d-block category-heading-icons pointer ml-half"></li>
</ul>
</div>
</section>
</footer>
</body>
</html>