Embed youtube videos in bookmarks

This commit is contained in:
2023-10-28 20:59:52 +11:00
parent 88885e8876
commit 6195f3b947
10 changed files with 2722 additions and 25 deletions

View File

@@ -80,3 +80,17 @@ h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
content: "";
padding: 0 0.25rem 0 0;
}
.video-container {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
height: 0;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 8px;
}