🌦😀 Checkpoint

./style.css:18108127/541
./script.js:18108127/78
This commit is contained in:
Glitch (hello-webpage) 2020-07-30 09:44:06 +00:00
parent c6fc18ab28
commit 207535e4ff
2 changed files with 16 additions and 2 deletions

View file

@ -308,3 +308,5 @@ usernameInput.addEventListener("focusout", () => {
placeholder.style.opacity = "1";
}
});
// Show responsive leaderboard

View file

@ -283,7 +283,12 @@ strong {
font-size: 34px;
opacity: 0;
pointer-events: none;
transition: 300ms ease-out;
transition: color 300ms ease-out, opacity 300ms ease-out;
cursor: pointer;
}
#score-toggle:hover {
color: hsla(208, 80%, 50%, .6)
}
@media (max-width: 980px) {
@ -375,9 +380,11 @@ strong {
}
.score-container {
opacity: 0;
opacity: 1;
pointer-events: none;
position: absolute;
height: 100vh;
z-index: 2;
}
.cards-row {
@ -394,4 +401,9 @@ strong {
opacity: 1;
pointer-events: all;
}
.images-grid {
height: 65%;
padding-top: 22vh;
}
}