]> git.plutz.net Git - rawnet/blobdiff - rawnet.css
display video duration in thumbnail
[rawnet] / rawnet.css
index 557bc825cb7bc2d5dcc659f7ba119ebaacde227d..a4b55481b30eb5b0907722f2bc74e0de967f1616 100644 (file)
@@ -116,6 +116,8 @@ body.channels main .channel {
   border-radius: 4pt;
   padding: .5em;
   margin-bottom: .5em;
+  height: 15em;
+  overflow: hidden;
 }
 
 body.channels main .channel > .description {
@@ -183,6 +185,16 @@ body.channels main .channel > .description h2 {
   overflow: hidden;
 }
 
+.video.thumb .duration {
+  position: absolute;
+  right: .375em; top: 10.625em;
+  font-size: .875em;
+  padding: 0 .25em;
+  background-color: #333;;
+  color: #EEE;
+  opacity: .75;
+}
+
 .video.thumb .description {
   position: absolute;
   left:0; right:0; bottom: 3.5em;