-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
122 lines (84 loc) · 2.92 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
<html>
<head>
<meta charset="UTF-8">
<style>
::-webkit-scrollbar {
display: none;
}
body {
height: 100px;
width: 280px;
outline: none;
}
#wordlist li:hover{
background-color:darkgoldenrod;
color: aliceblue;
}
#wordlist{
height: 140px;
overflow-y:auto;
}
.paddingleft{
padding-left: 10px;
}
input {
width:200px;
height:30px;
font-size: large;
}
.mainbody {
height:450px;
/*border: solid #eee;*/
/*border-width:1px 0;*/
}
.header {
/*height: 60px;*/
padding: 5px;
}
a:link{
color:blueviolet;
}
a:visited{
color:blueviolet;
}
#resultDiv {
height: 180px;
overflow-y:auto;
}
#bigtitle {
font-size: xx-large;
color:blueviolet;
font-family: cursive;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<span id="bigtitle">Translated</span>
<span><a href="help.html">help</a></span><br>
</div>
<div class="mainbody">
<br>
<span style="color:blueviolet;">- Type a word and press ENTER</span>
<div class="paddingleft"><br><input id="searchinput" type="text" ><a id="MP3Play" href="#"><img src="sound.png" alt="play">
<audio id="wordMP3" src="https://dictionary.blob.core.chinacloudapi.cn/media/audio/tom/b5/a7/B5A79061B96D65F36C2B250AC8A448AD.mp3" ></audio>
</a></div>
<div id="resultDiv">
</div>
<br>
<span style="color:blueviolet;">- History of query:</span><a id="clearall" style="float:right;" href="#">remove all</a>
<ul id="wordlist">
</ul>
<br>
</div>
<div class="footer">
<br>
<hr>
<span style="font-family: cursive;" id="thequote">Impossibilities are merely things which we have not yet learned.</span><br>
<span style="float:right;font-family: cursive;" id="theauthor"> --Maya Angelou</span>
</div>
</div>
<script src="index.js"></script>
</body>
</html>