docs: structure clean & showcase

This commit is contained in:
jean-emmanuel 2019-03-29 09:43:58 +01:00
parent f97a2cf0ba
commit e99b41d208
7 changed files with 22 additions and 12 deletions

View file

@ -44,7 +44,7 @@ pre, code {
display: block;
z-index: 2;
position: relative;
// cursor: pointer;
cursor: pointer;
}
.icon-play {
@ -56,13 +56,17 @@ pre, code {
margin-top:-$size/2;
width: $size;
height: $size;
border-bottom:$size/2 solid transparent;
border-top:$size/2 solid transparent;
border-left:$size solid #fff;
opacity: 0.75;
border-radius: 100%;
box-shadow: 0 0 20px 0 rgba(black, 0.2);
filter: saturate(0);
transition: filter 1s;
pointer-events: none;
}
&:hover .icon-play {
filter: saturate(1);
}
#showcase-frame {
z-index: 1;
opacity: 0;