Skip to content

Commit c7ab4eb

Browse files
authored
Merge pull request #1736 from conda-forge/iframe
ENH fix up youtube rendering
2 parents 8e91537 + 8032317 commit c7ab4eb

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

css/theme.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ a:focus {
288288
}
289289

290290
.content-section {
291-
padding-top: 100px;
291+
padding-top: 60px;
292292
}
293293

294294
.intro {
@@ -309,7 +309,6 @@ a:focus {
309309
.contribute-section {
310310
width: 100%;
311311
padding: 60px 0;
312-
padding-top: 120px;
313312
color: #fff;
314313
background-color: #cd5c5c;
315314
-webkit-background-size: cover;
@@ -320,7 +319,7 @@ a:focus {
320319

321320
@media (min-width: 767px) {
322321
.content-section {
323-
padding-top: 200px;
322+
padding-top: 60px;
324323
}
325324
}
326325

@@ -414,7 +413,6 @@ body {
414413

415414
.responsive {
416415
max-width: 100%;
417-
height: auto;
418416
}
419417

420418
/* https://stackoverflow.com/a/25517025 */

index.html.tmpl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@
113113
<section id="about" class="container content-section">
114114
<div class="row">
115115
<div class="col-lg-8 col-lg-offset-2 padded">
116+
<br/>
117+
<br/>
116118
<h2 class="text-center">About conda-forge</h2>
117119
<p>
118120
<a href="https://github.com/conda-forge">conda-forge</a> is a GitHub organization containing repositories of conda recipes.
@@ -190,16 +192,18 @@
190192
or watching the following episode of
191193
<a href="https://www.quansight.com/open-source-directions">Open Source Directions</a>.
192194
</p>
193-
<p align="center">
194-
<iframe width="560" class="responsive" src="https://www.youtube.com/embed/EWh-BtdYE7M" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
195-
</p>
195+
<div align="center">
196+
<iframe width="560" height="315" class="responsive" src="https://www.youtube.com/embed/EWh-BtdYE7M" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
197+
</div>
196198
</div>
197199
</div>
198200
</section>
199201
<section class="content-section">
200202
<div id="contribute" class="contribute-section">
201203
<div class="container">
202204
<div class="col-lg-8 col-lg-offset-2">
205+
<br/>
206+
<br/>
203207
<h2 class="text-center">Contributing to conda-forge</h2>
204208
<div class="text">
205209
<p>

0 commit comments

Comments
 (0)