File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ <h3 class="instructions__subtitle">What can I use it for?</h3>
5959 makes Code Paster a great and simple application to be used in any
6060 kind of online activity which requires text to be shared.
6161 </ p >
62+
6263 < h3 class ="instructions__subtitle "> How does it work?</ h3 >
6364 < ol class ="instructions__list ">
6465 < li class ="instructions__text ">
@@ -77,23 +78,16 @@ <h3 class="instructions__subtitle">How does it work?</h3>
7778 in the room will be able to see whatever you have writen in it
7879 </ li >
7980 </ ol >
81+ < div class ="video-container ">
82+ < video
83+ class ="video "
84+ src ="./assets/codepaster.mp4 "
85+ controls
86+ /> </ video >
87+ </ div >
8088 </ article >
8189 </ div >
8290 </ div >
83- <!-- / video / -->
84- < section class ="box-content border-bottom ">
85- < div class ="video-section-container ">
86- < h2 class ="heading "> Video tutorial</ h2 >
87- < div class ="video-container ">
88- < iframe
89- src ="https://www.youtube.com/embed/4sswp02n0Yg "
90- frameborder ="0 "
91- allow ="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture "
92- allowfullscreen
93- > </ iframe >
94- </ div >
95- </ div >
96- </ section >
9791
9892 <!-- / credits / -->
9993 < div class ="box-content border-bottom " id ="credits ">
Original file line number Diff line number Diff line change @@ -345,12 +345,12 @@ ul {
345345 justify-content : space-between;
346346 width : 70% ;
347347 margin : 0 auto;
348- padding : 2% 0 ;
349348}
350349
351350. instructions {
352351 width : 65% ;
353352 margin-left : auto;
353+ display : block;
354354 padding : 3rem ;
355355 border : 2px solid var ( --color-grey-medium ) ;
356356}
@@ -372,6 +372,31 @@ ul {
372372 margin-bottom : 1rem ;
373373}
374374
375+ . video-container {
376+ display : inline-flex;
377+ justify-content : center;
378+ align-content : center;
379+ width : 100% ;
380+ margin-top : 4% ;
381+ padding : 0 ;
382+ }
383+
384+ . video {
385+ width : 95% ;
386+ max-height : 220px ;
387+ padding : 0 ;
388+ background-color : # 151611;
389+ border-radius : 5px ;
390+ }
391+
392+ @media ( min-width : 1024px ) {
393+ . video {
394+ max-width : 400px ;
395+
396+ max-height : 300px ;
397+ }
398+ }
399+
375400@media only screen and ( max-width : 1250px ) {
376401 . instructions-container {
377402 width : 70% ;
@@ -423,35 +448,6 @@ ul {
423448 }
424449}
425450
426- /* - - - - - video - - - - - */
427- . video-section-container {
428- width : 70% ;
429- }
430-
431- . video-container {
432- position : relative;
433- padding-bottom : 56.25% ;
434- padding-top : 30px ;
435- height : 0 ;
436- overflow : hidden;
437- }
438-
439- . video-container iframe ,
440- . video-container object ,
441- . video-container embed {
442- position : absolute;
443- top : 0 ;
444- left : 0 ;
445- width : 100% ;
446- height : 100% ;
447- }
448-
449- @media only screen and ( max-width : 770px ) {
450- . video-section-container {
451- width : 100% ;
452- }
453- }
454-
455451/* - - - - - credits - - - - - */
456452. card {
457453 display : flex;
You can’t perform that action at this time.
0 commit comments