Minor carousel fixes.
authorRadek Czajka <rczajka@rczajka.pl>
Wed, 24 Jul 2019 09:12:00 +0000 (11:12 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Wed, 24 Jul 2019 09:12:00 +0000 (11:12 +0200)
src/social/templates/social/embed_video.html
src/wolnelektury/static/scss/main/main_page.scss

index 34f2e06..fe3400d 100644 (file)
@@ -1,5 +1,5 @@
 {% if youtube_id %}
-<iframe style="position: absolute; left:0;right:0;height:100%;width:100%; background-image:url('https://img.youtube.com/vi/{{ youtube_id }}/0.jpg'); background-position: 50%; background-size: cover;"
+<iframe style="position: absolute; left:0;right:0;height:100%;width:100%; background-image:url('https://img.youtube.com/vi/{{ youtube_id }}/maxresdefault.jpg'); background-position: 50%; background-size: 100% auto; background-repeat:no-repeat;"
        type="text/html" width="100%" height="360"
        data-src="https://www.youtube.com/embed/{{ youtube_id }}"
        frameborder="0"></iframe>
index 20f2fb3..dd8ece4 100755 (executable)
@@ -366,7 +366,7 @@ section {
     width: 100%;
     z-index: 500;
     position: absolute;
-    bottom: 8%;
+    bottom: 0;
     overflow: hidden;
 
     span {