-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
117 lines (94 loc) · 2.85 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Wikipedia noW</title>
<link rel="icon" href="/favicon.ico" />
<link rel="stylesheet" href="/dist/css/bootstrap.min.css">
<style media="screen">
html {
font-size: 14px;
}
body {
margin-bottom: 250px;
}
@include media-breakpoint-up(sm) {
html {
font-size: 16px;
}
}
@include media-breakpoint-up(md) {
html {
font-size: 20px;
}
}
@include media-breakpoint-up(lg) {
html {
font-size: 28px;
}
}
.dropdown-menu .dropdown-item {
cursor: pointer;
word-wrap: normal;
}
#search-toggle {
cursor: pointer;
display: none;
}
.search-form {
display: none;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-6 offset-md-3">
<br><br>
<h1 class="display-4 text-center">Wikipedia noW</h1>
<p class="lead text-center">Search the world's free encyclopedia</p>
<img src="/dist/images/logo2x.png"
class="img-fluid mx-auto d-block mb-3 w-50"
alt="Responsive image">
<br><br>
<!-- The search form -->
<form class="search-form" id="search-form" autocomplete="off">
<div class="row">
<div class="col-7 offset-1">
<div class="dropdown" tabindex="0">
<input type="text"
class="form-control form-control-lg"
id="search-input"
placeholder="Type something..."
aria-haspopup="true"
aria-expanded="false"
tabindex="-1">
<div id="results-dropdown" class="dropdown-menu">
<!-- Results show up here -->
</div>
</div>
</div>
<div class="col-2">
<button type="submit"
class="btn btn-primary btn-lg">Search</button>
</div>
</div>
<div class="row">
<div class="col-12">
<p class="text-center mt-3">
<button id="close" type="button" name="button" class="btn btn-link">Close</button>
</p>
</div>
</div>
</form>
<!-- Toggle search form -->
<button type="button"
id="search-toggle"
name="button"
class="btn btn-lg btn-outline-primary mx-auto d-block mt-3">Search Wikipedia Now</button>
</div>
</div>
</div>
</body>
<script src="/dist/js/app/bundle.js"></script>
</html>