Version 1
[yaffs-website] / web / modules / contrib / video_embed_field / css / video_embed_field.responsive-video.css
diff --git a/web/modules/contrib/video_embed_field/css/video_embed_field.responsive-video.css b/web/modules/contrib/video_embed_field/css/video_embed_field.responsive-video.css
new file mode 100644 (file)
index 0000000..ae7395d
--- /dev/null
@@ -0,0 +1,24 @@
+.video-embed-field-responsive-video {
+  position: relative;
+}
+
+.video-embed-field-responsive-video:after {
+  content: '';
+  display: block;
+  padding-bottom: 56.25%;
+}
+
+.video-embed-field-responsive-video iframe {
+  position: absolute;
+  top: 0;
+  right: 0;
+  bottom: 0;
+  left: 0;
+  width: 100%;
+  height: 100%;
+  margin: 0;
+}
+
+.video-embed-field-responsive-modal {
+  max-width: 100%;
+}