Add partial support for video duration in thumbnails

This commit is contained in:
Omar Roth
2018-10-20 20:37:55 -05:00
parent 3ee7201f5d
commit 4875aa1d7e
6 changed files with 88 additions and 11 deletions

View File

@@ -32,6 +32,29 @@ a.pure-button-primary:hover {
color: #fff;
}
div.thumbnail {
position: relative;
}
img.thumbnail {
width: 100%;
left: 0;
top: 0;
}
.length {
z-index: 100;
position: absolute;
background-color: rgba(35, 35, 35, 0.75);
color: #fff;
border-radius: 2px;
padding: 2px;
font-size: 16px;
font-family: sans-serif;
right: 0.5em;
bottom: -0.5em;
}
/*
* Navbar
*/