summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-10-20 20:37:55 -0500
committerOmar Roth <omarroth@hotmail.com>2018-10-20 20:37:55 -0500
commit4875aa1d7e91d570ba94ba6dbc1ec29e7e37fbb8 (patch)
treebf2523dc97f41cdba3137444b9148c19d1eed2fd /assets
parent3ee7201f5d1eb9655fc11f0f377529ec71a3b834 (diff)
downloadinvidious-4875aa1d7e91d570ba94ba6dbc1ec29e7e37fbb8.tar.gz
invidious-4875aa1d7e91d570ba94ba6dbc1ec29e7e37fbb8.tar.bz2
invidious-4875aa1d7e91d570ba94ba6dbc1ec29e7e37fbb8.zip
Add partial support for video duration in thumbnails
Diffstat (limited to 'assets')
-rw-r--r--assets/css/default.css23
1 files changed, 23 insertions, 0 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index a7496981..aebd563c 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -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
*/