Added season and episode numbers on hover

This commit is contained in:
2024-04-26 02:08:45 +02:00
parent 5ca5dad63b
commit 0c603146ba
2 changed files with 30 additions and 1 deletions
+26
View File
@@ -103,6 +103,32 @@ form {
border-radius: 1rem;
}
.entry {
position: relative;
text-align: center;
}
.info {
position: absolute;
bottom: 1rem;
left: 50%;
transform: translate(-50%, 0);
opacity: 0;
transition: opacity 200ms;
padding: .5rem 1rem;
border-radius: 1rem;
background: rgba(0, 0, 0, 0.7);
width: calc(100% - 2rem);
}
.info span {
font-size: 150%;
}
.entry:hover > .info {
opacity: 1;
}
.popup {
display: none;
position: fixed;