Add YouTube thumbnail support

Fixes #359
This commit is contained in:
rubenwardy
2024-06-07 06:25:32 +01:00
parent ee83a7b5ce
commit 5bd97598a8
6 changed files with 67 additions and 7 deletions

View File

@@ -52,10 +52,21 @@
justify-content: center !important;
cursor: pointer;
img {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
object-fit: cover;
z-index: 10;
}
.fa-play {
display: block;
font-size: 200%;
color: #f44;
z-index: 20;
}
&:hover {
@@ -72,6 +83,7 @@
right: 0.5rem;
color: #555;
font-size: 80%;
z-index: 30;
}
}