mirror of
https://codeberg.org/vlw/still-alive.git
synced 2025-09-14 00:13:41 +02:00
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
46 lines
No EOL
601 B
CSS
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; }
|
|
} |