File tree Expand file tree Collapse file tree 4 files changed +19
-13
lines changed
Expand file tree Collapse file tree 4 files changed +19
-13
lines changed Original file line number Diff line number Diff line change 44 < meta charset ="UTF-8 ">
55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
66 < title > Examples - fast_io Documentation</ title >
7- < < < < < < < HEAD
87 < link rel ="stylesheet " href ="../style.css ">
98 < link rel ="manifest " href ="../manifest.json ">
10- =======
11- < link rel ="stylesheet " href ="/style.css ">
12- < link rel ="manifest " href ="/manifest.json ">
13- > > > > > > > parent/next
149</ head >
1510< body >
1611 < main >
@@ -41,13 +36,8 @@ <h2>More Examples Coming Soon</h2>
4136 </ section >
4237
4338 < div class ="page-navigation ">
44- < < < < < < < HEAD
4539 < a href ="intro.html " class ="prev-button "> ← Previous: Introduction</ a >
4640 < a href ="api.html " class ="next-button "> Next: API Reference →</ a >
47- =======
48- < a href ="/docs/intro.html " class ="prev-button "> ← Previous: Introduction</ a >
49- < a href ="/docs/api.html " class ="next-button "> Next: API Reference →</ a >
50- > > > > > > > parent/next
5141 </ div >
5242 </ main >
5343
Original file line number Diff line number Diff line change @@ -138,13 +138,13 @@ <h2>Video Introduction</h2>
138138 Here’s a talk that further illustrates the ideas behind < strong > fast_io</ strong > :
139139 </ p >
140140 < div class ="video-container ">
141- < iframe width =" 560 " height =" 315 "
141+ < iframe
142142 src ="https://www.youtube.com/embed/CefgZlXeMUg "
143143 title ="YouTube video player "
144144 frameborder ="0 "
145145 allow ="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture "
146146 allowfullscreen >
147- </ iframe >
147+ </ iframe >
148148 </ div >
149149 </ section >
150150 <!-- Add this after the last section -->
Original file line number Diff line number Diff line change 33< head >
44 < meta charset ="UTF-8 ">
55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6- < title > fast_io - fast_io documentations</ title >
6+ < title > fast_io - fast_io documentations (Under Construction) </ title >
77 < link rel ="manifest " href ="manifest.json ">
88 < link rel ="stylesheet " href ="style.css ">
99</ head >
Original file line number Diff line number Diff line change @@ -63,3 +63,19 @@ nav a {
6363.next-button : hover {
6464 background-color : # 004c99 ;
6565}
66+
67+ .video-container {
68+ position : relative;
69+ width : 100% ; /* take full width of text content area */
70+ padding-bottom : 56.25% ; /* 16:9 aspect ratio (height = 9/16 of width) */
71+ height : 0 ;
72+ overflow : hidden;
73+ }
74+
75+ .video-container iframe {
76+ position : absolute;
77+ top : 0 ;
78+ left : 0 ;
79+ width : 100% ; /* scale to container width */
80+ height : 100% ; /* scale height accordingly */
81+ }
You can’t perform that action at this time.
0 commit comments