mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
enable fullscreen, fix border radius and aspect ratio
This commit is contained in:
parent
1045e6219e
commit
b0f0bce211
2 changed files with 18 additions and 5 deletions
|
@ -25,8 +25,10 @@ var Landing = injectIntl(React.createClass({
|
|||
<p className="intro">
|
||||
<FormattedMessage id="teacherlanding.intro" />
|
||||
</p>
|
||||
<iframe src="https://www.youtube.com/embed/uPSuG063jhA"
|
||||
frameborder="0" allowfullscreen></iframe>
|
||||
<div className="ted-talk">
|
||||
<iframe src="https://www.youtube.com/embed/uPSuG063jhA?border=0&wmode=transparent"
|
||||
frameBorder="0" allowFullScreen></iframe>
|
||||
</div>
|
||||
</FlexRow>
|
||||
</div>
|
||||
<div className="band">
|
||||
|
|
|
@ -48,12 +48,23 @@ $story-width: $cols3;
|
|||
color: $ui-white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ted-talk {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
margin-bottom: $gutter;
|
||||
border: 2px solid $ui-border;
|
||||
border-radius: 10px;
|
||||
width: $cols4;
|
||||
height: $cols4 * .5625;
|
||||
overflow: hidden;
|
||||
|
||||
iframe {
|
||||
margin-bottom: $gutter;
|
||||
border: 2px solid $ui-border;
|
||||
border-radius: 10px;
|
||||
z-index: 9;
|
||||
border: 0;
|
||||
width: $cols4;
|
||||
height: $cols4 * .5625;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue