Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Remove unused breaking styles #1736

Merged
merged 1 commit into from
Sep 28, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions app/1.0/start/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,38 +16,12 @@
min-width: 60%;
}

.iframe-wrapper {
position: relative;
height: auto;
overflow: hidden;
/**
* There's a "responsive iframe" hack that adds a bottom badding of 56.25%
* to get the right aspect ratio for the video. However, because of the
* flexbox, this would end up too tall and add extra black borders which we
* don't need; decreasing the padding fixes that.
*/
padding-bottom: 33%;
}

iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

@media (max-width: 1000px) {
.example-code {
width: 100%;
margin-bottom: 40px;
}

.iframe-wrapper {
/* use the correct aspect ratio for the video */
padding-bottom: 56.25%;
}

/* The devguide has a left nav, which means we need to rejigger
* the media breakpoints to account for that. */
section {
Expand Down