File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 $ randindex = rand (0 ,count ($ videos )-1 );
1515 ?>
1616
17- <h1><?php echo $ videos [$ randindex ][1 ]; ?> </h1><br /><br />
17+ <h1 class="videos_title" ><?php echo $ videos [$ randindex ][1 ]; ?> </h1><br /><br />
1818 <p>
1919
2020 <?php
21- echo "<iframe class= \"video \" width= \" 820 \" height= \" 630 \" align= \"left \" src= \"https://www.youtube.com/embed/ " .$ videos [$ randindex ][0 ]."\" frameborder= \"0 \" allowfullscreen= \"\"></iframe> " ;
21+ echo "<iframe class= \"video \" align= \"left \" src= \"https://www.youtube.com/embed/ " .$ videos [$ randindex ][0 ]."\" frameborder= \"0 \" allowfullscreen= \"\"></iframe> " ;
2222 ?>
2323
2424 <?php echo "<br><span class= \"videos_text \"> " .$ videos [$ randindex ][2 ] . "</span> " ; ?>
Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ a:hover {
7777 margin-right : 30px ;
7878 padding-bottom : 50px ;
7979 position : relative;
80+ width : 820px ;
81+ height : 630px ;
8082}
8183.mobile_bottom {
8284 display : none;
@@ -150,7 +152,7 @@ a:hover {
150152
151153@media screen and (min-device-width : 930px ) and (max-device-width : 1500px ) {
152154 .video {
153- padding-right : 100% ;
155+ width : 100% ;
154156 }
155157}
156158@media screen and (min-device-width : 190px ) and (max-device-width : 930px ) {
@@ -193,6 +195,13 @@ a:hover {
193195 width : 100% ;
194196 padding-right : 20px ;
195197 }
198+ .video {
199+ width : 100% ;
200+ height : auto;
201+ }
202+ .videos_text , .videos_title {
203+ color : white;
204+ }
196205
197206 /* IDs */
198207
You can’t perform that action at this time.
0 commit comments