Skip to content

Commit 8218e55

Browse files
committed
- update spotify music quiz
1 parent 47622df commit 8218e55

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

tools/spotify_music_quiz_cards.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
width: 60vmin;
8888
height: 60vmin;
8989
font-size: 30vmin;
90-
padding-bottom: 7vmin;
90+
padding-bottom: 5vmin;
9191
border: none;
9292
border-radius: 50%;
9393
background: linear-gradient(145deg, #1DB954, #169c45);
@@ -112,6 +112,10 @@
112112
box-shadow: 0 5px 15px rgba(29, 185, 84, 0.2);
113113
}
114114

115+
#pauseResumeButton .play {
116+
padding-left: 3vmin;
117+
}
118+
115119
#player {
116120
display: flex;
117121
justify-content: center;
@@ -165,7 +169,7 @@
165169

166170
<div id="player" class="hidden">
167171
<div class="button-container">
168-
<button id="pauseResumeButton">||</button>
172+
<button id="pauseResumeButton"><span class="pause">||</span></button>
169173
<a href="https://www.gptgames.dev/tools/spotify_qr_scanner" class="scan-button">
170174
Scan for next song
171175
</a>
@@ -189,7 +193,7 @@
189193
playerInstance.resume();
190194
}
191195
isPlaying = !isPlaying;
192-
pauseResumeButton.textContent = isPlaying ? '||' : '';
196+
pauseResumeButton.textContent = isPlaying ? '<span class="pause">||</span>' : '<span class="play">▷</span>';
193197
}
194198

195199
function getUrlParameter(name) {

0 commit comments

Comments
 (0)