-
Notifications
You must be signed in to change notification settings - Fork 0
/
window.html
193 lines (192 loc) · 5.17 KB
/
window.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
@font-face {
font-family: mainFont;
src: url("fonts/karnakcondensed.woff");
}
@font-face {
font-family: wordFont;
src: url("fonts/franklin-normal-700.woff");
}
@keyframes titleAnim {
0% {
top: 40px;
font-size: 35px;
opacity: 1;
}
40% {
top: 40px;
font-size: 35px;
opacity: 1;
}
70% {
top: 40px;
font-size: 35px;
opacity: 0;
}
71% {
top: 0px;
font-size: 15px;
opacity: 0;
}
100% {
top: 0px;
font-size: 15px;
opacity: 1;
}
}
#container {
width: 200px;
height: 200px;
background-color: #121213;
border: solid 2px white;
border-radius: 7px;
font-family: mainFont;
color: white;
}
#modeContainer {
text-align: center;
display: none;
}
#notFound {
display: none;
}
#wordGuess {
display: none;
}
button {
font-family: mainFont;
transition-duration: 0.6s;
border-color: white;
position: relative;
background-color: #262626;
color: white;
box-shadow: none;
outline: none;
}
button:hover {
border-radius: 6px;
}
#creditContainer {
display: none;
}
#notFoundText {
font-family: mainFont;
font-size: 23px;
text-align: center;
margin-top: 20%;
}
.smallTitle {
font-family: mainFont;
font-size: 10px;
text-align: center;
margin-top: 35%;
}
.letterBox {
width: 30px;
height: 30px;
border: solid 1px white;
position: absolute;
}
.word {
font-family: wordFont;
position: relative;
top: -80%;
left: 0%;
text-align: center;
font-size: 25px;
}
#goToWordle {
position: relative;
top: -20px;
left: 66px;
}
#name {
font-family: mainFont;
font-size: 15px;
position: relative;
text-align: center;
left: 0px;
}
.anim {
animation: 2.5s ease-out 0s 1 titleAnim;
}
#startButton {
position: relative;
top: 40px;
}
#next {
position: relative;
left: 80px;
margin-top: 90px;
}
#autofill {
position: relative;
left: -127px;
margin-top: 3px;
margin-left: 100%;
}
#info {
position: absolute;
top: 180px;
left: 165px;
display: none;
}
#creditInfoText {
text-align: center;
font-size: 25px;
margin-top: 10px;
}
#byText {
text-align: center;
font-size: 10px;
margin-top: -30px;
}
#byPara {
font-family: wordFont;
text-align: center;
font-size: 10px;
margin-top: 10px;
}
</style>
<script src="jquery-3.6.0.min.js"></script>
<script type='module' src="content.js" type="application/javascript"></script>
</head>
<body id="container">
<h3 id="name" class="anim">WordleHelper</h3>
<button id="info">Info</button>
<div id="modeContainer">
<button id="startButton">Start</button>
</div>
<div id="creditContainer">
<h3 id="creditInfoText">Credits / Info</h3>
<h3 id="byText">By Antoine Phan & Owen Boseley</h3>
<p id="byPara">A fun little extension to help you tackle the day's wordle and improve your vocabulary! Click go and witness our algorithm produce a 5-letter to aid you whenever you're in a rut.</p>
</div>
<div id="notFound">
<h4 id="notFoundText">Wordle Not Found :/</h4>
<button class="centered" type="button" id="goToWordle">Go There</button>
</div>
<div id="wordGuess">
<div class="letterBox" style="left: 23px;top: 100px;">
<h3 class="word">V</h3>
</div>
<div class="letterBox" style="left: 58px;top: 100px;">
<h3 class="word">I</h3>
</div>
<div class="letterBox" style="left: 93px;top: 100px;">
<h3 class="word">V</h3>
</div>
<div class="letterBox" style="left: 128px;top: 100px;">
<h3 class="word">I</h3>
</div>
<div class="letterBox" style="left: 163px;top: 100px;">
<h3 class="word">D</h3>
</div>
<button id='next'>Next</button>
</div>
</body>
</html>