Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion assets/styles/large_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ a {
width:fit-content;
margin-left: auto;
margin-right: auto;
cursor: pointer;
}

@media (hover: hover) {
Expand Down Expand Up @@ -247,6 +248,8 @@ a {
align-items: center;
margin: 5px 5px 1rem 5px;
position: relative;
cursor: pointer;
font-size: 2vw;
}
.prompt::before { /* Center the play icon */
position: absolute;
Expand All @@ -260,6 +263,10 @@ transform: translate(-50%, -50%);
box-shadow: 0px 0px 0px black;
}

.submitted {
cursor: not-allowed;
}

/* PRACTICE MODE */
#practice-prompt {
display: flex;
Expand All @@ -270,4 +277,4 @@ transform: translate(-50%, -50%);

#end-game-btn {
border-radius: 50px;
}
}
8 changes: 7 additions & 1 deletion assets/styles/mobile_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ a {
width:fit-content;
margin-left: auto;
margin-right: auto;
cursor: pointer;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}

Expand Down Expand Up @@ -247,6 +248,7 @@ a {
padding: 10px;
aspect-ratio: 1/1;
align-items: center;
font-size: 8vw;
margin: 5px 5px 1rem 5px;
position: relative;
}
Expand All @@ -262,10 +264,14 @@ a {
box-shadow: 0px 0px 0px black;
}

.submitted {
cursor: not-allowed;
}

/* PRACTICE MODE */
#practice-prompt {
display: flex;
flex-direction: row;
gap: 20px;
margin: 15pt 0 15pt 0;
}
}
4 changes: 2 additions & 2 deletions practice_game.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1 class="boxed" id="header-title"><span class="">Spellcheck</span></h1>
<i class="" id="total-count"></i>
</div>
<div id="practice-prompt">
<div id="word-one" class="prompt boxed btn fa fa-play-circle" style="font-size: 24pt;">
<div id="word-one" class="prompt boxed btn fa fa-play-circle">
<audio id="word-one-player" src="" loop></audio>
</div>
<input id="attempt-box" type="text" placeholder="start typing..." readonly>
Expand All @@ -46,4 +46,4 @@ <h1 class="boxed" id="header-title"><span class="">Spellcheck</span></h1>
</body>
<script src="assets/scripts/wordLstGenerator.js"></script>
<script src="assets/scripts/practice.js"></script>
</html>
</html>
10 changes: 4 additions & 6 deletions results.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ <h1 class="boxed" id="header-title"><span class="">Spellcheck</span></h1>
<div class="content">
<h3 class="boxed-black error">Rezults</h3>
<h1 id="results"></h1>
<a href="">
<div class="btn boxed" id="copy-btn">
<i class="fa fa-copy" style="font-size:10pt;"></i>&ensp;<span class="error">coppee</span> results to clipboard
</div>
</a>
<div class="btn boxed" id="copy-btn">
<i class="fa fa-copy" style="font-size:10pt;"></i>&ensp;<span class="error">coppee</span> results to clipboard
</div>
<br>
<a href="mode_select.html">
<div class="btn boxed">
Expand Down Expand Up @@ -51,4 +49,4 @@ <h3 class="boxed-black">Your Typos</h3>
</div>
<script src="assets/scripts/results.js"></script>
</body>
</html>
</html>
12 changes: 6 additions & 6 deletions solo_game.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,23 @@ <h1 class="boxed" id="header-title"><span class="">Spellcheck</span></h1>
<h2 class="boxed-black" id="level">Level One: Easy</h2>
</div>
<div id="word-prompts">
<div id="word-one" class="prompt boxed btn fa fa-play-circle" style="font-size: 24pt;">
<div id="word-one" class="prompt boxed btn fa fa-play-circle">
<audio id="word-one-player" src="" loop></audio>
</div>

<div id="word-two" class="prompt boxed btn fa fa-play-circle" style="font-size: 24pt;">
<div id="word-two" class="prompt boxed btn fa fa-play-circle">
<audio id="word-two-player" src="" loop></audio>
</div>

<div id="word-three" class="prompt boxed btn fa fa-play-circle" style="font-size: 24pt;">
<div id="word-three" class="prompt boxed btn fa fa-play-circle">
<audio id="word-three-player" src="" loop></audio>
</div>

<div id="word-four" class="prompt boxed btn fa fa-play-circle" style="font-size: 24pt;">
<div id="word-four" class="prompt boxed btn fa fa-play-circle">
<audio id="word-four-player" src="" loop></audio>
</div>

<div id="word-five" class="prompt boxed btn fa fa-play-circle" style="font-size: 24pt;">
<div id="word-five" class="prompt boxed btn fa fa-play-circle">
<audio id="word-five-player" src="" loop></audio>
</div>
</div>
Expand All @@ -62,4 +62,4 @@ <h2 class="boxed-black" id="level">Level One: Easy</h2>
</body>
<script src="assets/scripts/wordLstGenerator.js"></script>
<script src="assets/scripts/keyboard.js"></script>
</html>
</html>
4 changes: 2 additions & 2 deletions spelloff.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1 class="boxed" id="header-title"><span class="">Spell Off</span></h1>
<h2 class="boxed-black" id="count"></h2>
</div>
<div id="practice-prompt">
<div id="word-one" class="prompt boxed btn fa fa-play-circle" style="font-size: 24pt;">
<div id="word-one" class="prompt boxed btn fa fa-play-circle">
<audio id="word-one-player" src="" loop></audio>
</div>
<input id="attempt-box" type="text" placeholder="start typing..." readonly>
Expand All @@ -44,4 +44,4 @@ <h2 class="boxed-black" id="count"></h2>
</body>
<script src="assets/scripts/wordLstGenerator.js"></script>
<script src="assets/scripts/spelloff.js"></script>
</html>
</html>
4 changes: 2 additions & 2 deletions youtube.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1 class="boxed" id="header-title"><span class="">Spellcheck</span></h1>
<h2 class="boxed-black" id="count"></h2>
</div>
<div id="practice-prompt">
<div id="word-one" class="prompt boxed btn fa fa-play-circle" style="font-size: 24pt;">
<div id="word-one" class="prompt boxed btn fa fa-play-circle">
<audio id="word-one-player" src="" loop></audio>
</div>
<input id="attempt-box" type="text" placeholder="start typing..." readonly>
Expand All @@ -44,4 +44,4 @@ <h2 class="boxed-black" id="count"></h2>
</body>
<script src="assets/scripts/wordLstGenerator.js"></script>
<script src="assets/scripts/youtube.js"></script>
</html>
</html>