youtube on light theme
This commit is contained in:
parent
1813b8b1ca
commit
dc7b297141
@ -230,3 +230,25 @@ footer a {
|
|||||||
font-family: 'montserrat', sans-serif;
|
font-family: 'montserrat', sans-serif;
|
||||||
color: #111;
|
color: #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
video.responsive-video {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.youtube-container {
|
||||||
|
position: relative;
|
||||||
|
padding-bottom: 56.25%;
|
||||||
|
height: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.youtube-container iframe, .youtube-container object, .youtube-container embed {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
5
prosopopee/themes/light/templates/sections/youtube.html
Normal file
5
prosopopee/themes/light/templates/sections/youtube.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<section class="pictures-group">
|
||||||
|
<div class="youtube-container">
|
||||||
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
|
||||||
|
</div>
|
||||||
|
</section>
|
Loading…
x
Reference in New Issue
Block a user