diff --git a/docs/_static/custom.css b/docs/_static/custom.css index c7dd3f8e..642c4653 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -187,4 +187,24 @@ a .logo-hover { } a:hover .logo-hover { display: block; -} \ No newline at end of file +} +/* Responsive YT Video Embedding */ +.responsiveYT { + position: relative; + height: 0; + padding-top: 56%; + overflow: hidden; + max-width: 100%; +} +.responsiveYT iframe, +.responsiveYT object, +.responsiveYT embed { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} +.responsiveYT .fluid-vids { + position: initial !important +}