still-alive/assets/css/player.css
Victor Westerlund cf3eecb27f Style changes and log removal
Fixed the scroll direction for lyrics, made the art window's font clamp (and centered) and also removed some loggers.

player.html will redirect to the main page if opened without a hash and will no longer be caught by crawlers that care about robots.txt
2021-10-31 12:35:03 +01:00

46 lines
No EOL
601 B
CSS

html,
body {
--padding: 40px;
display: initial;
overflow: hidden;
padding: var(--padding);
box-sizing: border-box;
}
#player {
position: absolute;
}
body.credits #player {
bottom: var(--padding);
}
body.art {
display: flex;
justify-content: center;
align-items: center;
}
#player pre,
#player p {
font-size: 16px;
color: rgb(var(--color-accent));
}
body.art #player pre {
font-size: clamp(0px,3vw,3vh);
}
#player p {
margin: 0;
height: 23px;
}
#player p:last-child::after {
content: "_";
animation: blink 500ms alternate infinite;
}
@keyframes blink {
to { opacity: 0; }
}