fix video sizing, remove unused CSS

This commit is contained in:
Jeremy Kauffman 2017-07-02 10:48:18 -04:00
parent f6ad6e7ba7
commit 99cb1a0a65
2 changed files with 4 additions and 7 deletions

1
ui/dist/index.html vendored
View file

@ -7,7 +7,6 @@
<link href='https://fonts.googleapis.com/css?family=Raleway:600,300' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600italic,600' rel='stylesheet' type='text/css'>
<link href="./css/all.css" rel="stylesheet" type="text/css" media="screen,print" />
<link rel="stylesheet" href="https://cdn.plyr.io/2.0.12/plyr.css">
<link rel="icon" type="image/png" href="./img/fav/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="./img/fav/favicon-194x194.png" sizes="194x194">
<link rel="icon" type="image/png" href="./img/fav/favicon-96x96.png" sizes="96x96">

View file

@ -17,9 +17,12 @@ video {
max-width: $width-page-constrained;
max-height: $height-video-embedded;
height: $height-video-embedded;
position: relative; /*for .plyr below*/
position: relative;
video {
height: 100%;
position: absolute;
left: 0;
top: 0;
}
&.video--hidden {
height: $height-video-embedded;
@ -27,11 +30,6 @@ video {
&.video--active {
/*background: none;*/
}
.plyr {
top: 50%;
transform: translateY(-50%);
}
}
.video--obscured .video__cover
{