diff options
author | Akshen | 2019-04-09 11:47:42 +0530 |
---|---|---|
committer | Akshen | 2019-04-09 11:47:42 +0530 |
commit | e5a0299855a9367eb6e32abfd356ed53c3fb765b (patch) | |
tree | 5c7ef0932fcd4c690615b2dd0862bbcfeb01f5c1 /fossee_manim/static/css | |
parent | e29783687b992216bcd757db7f2bfa8a652d2e4d (diff) | |
download | FOSSEE_animations-e5a0299855a9367eb6e32abfd356ed53c3fb765b.tar.gz FOSSEE_animations-e5a0299855a9367eb6e32abfd356ed53c3fb765b.tar.bz2 FOSSEE_animations-e5a0299855a9367eb6e32abfd356ed53c3fb765b.zip |
Add play button to thumbnail
Diffstat (limited to 'fossee_manim/static/css')
-rw-r--r-- | fossee_manim/static/css/sticky-footer.css | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/fossee_manim/static/css/sticky-footer.css b/fossee_manim/static/css/sticky-footer.css index d0054bd..4bcbcc5 100644 --- a/fossee_manim/static/css/sticky-footer.css +++ b/fossee_manim/static/css/sticky-footer.css @@ -70,3 +70,21 @@ margin-left: .1rem; margin-right: .1rem; } + + +/* video-thumbnail over image */ +#play-btn +{ + position: absolute; + top: 40%; + left: 50%; + transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + background-color: #555; + color: white; + font-size: 16px; + padding: 10px 20px; + border: none; + cursor: pointer; + border-radius: 5px; +}
\ No newline at end of file |