Make videos responsive

pull/179/head adw_baaea61c
Andrew David Wong 1 year ago
parent bc8fbacc4b
commit baaea61ceb
No known key found for this signature in database
GPG Key ID: 8CE137352A019A17
  1. 18
      css/main.scss

@ -207,3 +207,21 @@ article tr.center {
}
}
}
// Custom - Videos
.video{
position: relative;
overflow: hidden;
width: 100%;
padding-top: 56.25%;
}
iframe.responsive {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
border: none;
}

Loading…
Cancel
Save