Make video class not talk specific
This commit is contained in:
parent
e36755013d
commit
969dc5e17e
|
@ -47,8 +47,8 @@ p.lead {
|
|||
@import 'components/button.css';
|
||||
@import 'components/markup.css';
|
||||
@import 'components/note.css';
|
||||
@import 'components/talks/video.css';
|
||||
@import 'components/table.css';
|
||||
@import 'components/video.css';
|
||||
@import 'components/widget.css';
|
||||
|
||||
@tailwind utilities;
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
.talk-video {
|
||||
.video-full {
|
||||
@apply w-full relative;
|
||||
padding-top: 56.25%;
|
||||
|
||||
iframe,
|
||||
embed {
|
||||
@apply absolute h-full left-0 top-0 w-full
|
|
@ -1,8 +1,8 @@
|
|||
{% if page.youtube.id or page.vimeo.id %}
|
||||
<div class="talk-video mt-4">
|
||||
<div class="mt-4">
|
||||
<h2 class="mb-2">Video</h2>
|
||||
|
||||
<div class="w-full relative" style="padding-top: 56.25%">
|
||||
<div class="video-full">
|
||||
{% if page.youtube.id %}
|
||||
<iframe
|
||||
width="678"
|
||||
|
|
Loading…
Reference in a new issue