Skip to content

Instantly share code, notes, and snippets.

@gera3d
Created February 1, 2017 17:25
Show Gist options
  • Save gera3d/91408411f11cf6dd4b3402801eac56f2 to your computer and use it in GitHub Desktop.
Save gera3d/91408411f11cf6dd4b3402801eac56f2 to your computer and use it in GitHub Desktop.
Logic for 3 doc pages
/*add the play button to the right spot - Gera */
.single-procedure > div.site-container > div > div > div:nth-child(3) > div #playhover {
top: 200px;
}
/* making home page play button slightly transparent on smaller screens */
@media only screen and (max-width: 999px) {
.single-procedure > div.site-container > div > div > div:nth-child(3) > div #playhover {
opacity: .5;
top: 0px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment