Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CP Project Cinema #17

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
desktop layout start, inc slider
  • Loading branch information
chrisphillers committed Sep 24, 2018
commit cf8aa3a6830c646445a432bdee5152f3165a07e3
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
@@ -194,8 +194,8 @@ function movieMore(finder){
<div class="close">X</div>
</div>
<div class="plot">${finder.Plot}</div>
<div class="trailer">${trailerClip}</div>
</div>`;

<iframe width="560" height="315" class="trailer" src=${trailerClip} frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>`;

parentMoreInfoSlider.appendChild(moreInfoNodeSlider);

34 changes: 34 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -153,6 +153,7 @@ box-shadow: 10px 10px 46px -1px rgba(0,0,0,0.5);
transition:bottom 2.5s;
margin-right:0px;
opacity: 0.9;
z-index: 2;

}

@@ -211,6 +212,39 @@ box-shadow: 10px 10px 46px -1px rgba(0,0,0,0.5);
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {


.trailer {
display: block
}
.more__info__slider {
display:flex;
padding-top: 5%;

/* display:none; */
position: fixed;
bottom: -200px;
left: 100px;
width: 100vw;
height: 100vh;
background-color: white;
transition:bottom 2.5s;
margin-right:0px;
opacity: 0.9;

}

.results{
display:flex;
flex-wrap: wrap;
flex-direction: row;

}

results li {

}


}

/* Large devices (desktops, 960px and up) */