-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
247 lines (237 loc) · 9.43 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link
rel="shortcut icon"
href="assets/images/logo.svg"
type="image/x-icon"
/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dictionary</title>
<!-- Links -->
<style>
.attribution {
font-size: 9px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
</style>
<link rel="stylesheet" href="apps/style/style.css" />
<!-- Icons -->
<script
src="https://kit.fontawesome.com/5b12988027.js"
crossorigin="anonymous"
></script>
</head>
<body>
<!-- Logo, Font and Theme Picker -->
<header class="header flex">
<div class="logo flex">
<svg
xmlns="http://www.w3.org/2000/svg"
width="30"
height="34"
viewBox="0 0 34 38"
>
<g
fill="none"
fill-rule="evenodd"
stroke="#a445ed"
stroke-linecap="round"
stroke-width="1.5"
>
<path
d="M1 33V5a4 4 0 0 1 4-4h26.8A1.2 1.2 0 0 1 33 2.2v26.228M5 29h28M5 37h28"
/>
<path stroke-linejoin="round" d="M5 37a4 4 0 1 1 0-8" />
<path d="M11 9h12" />
</g>
</svg>
</div>
<div class="options flex">
<div class="switch">
<div class="font flex">
<p>Serif</p>
<button class="arrow">
<img
src="assets/images/icon-arrow-down.svg"
alt="arrow"
/>
</button>
<!-- Font Picking Menu -->
<div class="menu hidden">
<ul>
<li class="San-Serif">San-Serif</li>
<li class="Serif">Serif</li>
<li class="Mono">Mono</li>
</ul>
</div>
</div>
</div>
<div class="theme flex">
<div class="picker">
<input type="checkbox" id="theme_" class="inner" />
<label for="theme_" class="label">
<div class="ball"></div>
</label>
</div>
<div class="picker-icon flex">
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
viewBox="0 0 22 22"
>
<path
fill="none"
stroke="#a445ed"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.5"
d="M1 10.449a10.544 10.544 0 0 0 19.993 4.686C11.544 15.135 6.858 10.448 6.858 1A10.545 10.545 0 0 0 1 10.449Z"
/>
</svg>
</div>
</div>
</div>
</header>
<!-- Search Bar -->
<form class="search flex">
<div class="input">
<input
type="text"
id="input-btn"
placeholder="Search for any word..."
/>
</div>
<button class="search-btn flex" id="search-btn">
<span class="hide">link</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
viewBox="0 0 18 18"
>
<path
fill="none"
stroke="#A445ED"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.5"
d="m12.663 12.663 3.887 3.887M1 7.664a6.665 6.665 0 1 0 13.33 0 6.665 6.665 0 0 0-13.33 0Z"
/>
</svg>
</button>
</form>
<!-- <hr class="line" /> -->
<!-- Main Content -->
<main class="main" id="main">
<div class="container">
<div class="container">
<div class="top">
<div>
<h1>Dictionary<span>1 of 1</span></h1>
<h3>/ˈdɪkʃəˌnɛɹi/</h3>
</div>
<div>
<button onclick="playAudio('')">
<svg
xmlns="http://www.w3.org/2000/svg"
width="75"
height="75"
viewBox="0 0 75 75"
>
<g fill="#A445ED" fill-rule="evenodd">
<circle
cx="37.5"
cy="37.5"
r="37.5"
opacity=".25"
></circle>
<path d="M29 27v21l21-10.5z"></path>
</g>
</svg>
</button>
</div>
</div>
</div>
<div class="bottom">
<div class="meaning">
<div class="speech-type"><h2>noun</h2></div>
<hr />
</div>
<h4>Meaning</h4>
<ol>
<li>
A reference work with a list of words from one or
more languages, normally ordered alphabetically,
explaining each word's meaning, and sometimes
containing information on its etymology,
pronunciation, usage, translations, and other data.
</li>
<li>
(preceded by the) A synchronic dictionary of a
standardised language held to only contain words
that are properly part of the language.
</li>
<li>
(by extension) Any work that has a list of material
organized alphabetically; e.g., biographical
dictionary, encyclopedic dictionary.
</li>
<li>
An associative array, a data structure where each
value is referenced by a particular key, analogous
to words and definitions in a physical dictionary.
</li>
</ol>
<div class="syn-list">
<h4>Synonyms</h4>
<ul>
<li><a href="#wordbook">wordbook</a></li>
</ul>
</div>
<div class="ant-list"></div>
<div class="meaning">
<div class="speech-type"><h2>verb</h2></div>
<hr />
</div>
<h4>Meaning</h4>
<ol>
<li>To look up in a dictionary.</li>
<li>To add to a dictionary.</li>
<li>To compile a dictionary.</li>
</ol>
<div class="syn-list"></div>
<div class="ant-list"></div>
</div>
<hr class="line" />
<div class="source">
<p>Source:</p>
<a
target="_blank"
href="https://en.wiktionary.org/wiki/dictionary"
>https://en.wiktionary.org/wiki/dictionary:
<img src="assets/images/icon-new-window.svg" alt=""
/></a>
</div>
</div>
</main>
<!-- Footer -->
<footer class="attribution">
made with 💗 by
<a
target="_blank"
class="impoText"
href="https://github.com/R4nn3r"
>
<i class="fa-brands fa-github-alt"></i>
</a>
</footer>
<script src="apps/js/main.js"></script>
</body>
</html>