2016-10-25 17:01:37 +13:00
|
|
|
|
|
|
|
|
|
|
|
|
|
.thumbnail {
|
|
|
|
|
width: 100%;
|
|
|
|
|
max-width: 300px;
|
|
|
|
|
overflow: hidden;
|
2017-01-24 09:04:26 +13:00
|
|
|
position: relative;
|
2016-10-25 17:01:37 +13:00
|
|
|
|
|
|
|
|
.image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding-bottom: 100%;
|
|
|
|
|
position: relative;
|
|
|
|
|
background-repeat: no-repeat;
|
2016-10-25 21:36:33 +13:00
|
|
|
background-color: $light_grey;
|
2016-10-25 17:01:37 +13:00
|
|
|
background-position: 50% 50%;
|
|
|
|
|
background-size: cover;
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-24 09:04:26 +13:00
|
|
|
.zoom {
|
|
|
|
|
@include animate();
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
background: rgba(0,0,0,0.2);
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-26 08:51:28 +13:00
|
|
|
&.small {
|
|
|
|
|
max-width: 50px;
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-25 17:01:37 +13:00
|
|
|
&.circle {
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
}
|
2017-01-24 09:04:26 +13:00
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
.zoom {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-10-25 17:01:37 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.parallax {
|
2016-10-25 21:36:33 +13:00
|
|
|
height: 50vh;
|
|
|
|
|
width: 100%;
|
2016-10-25 17:01:37 +13:00
|
|
|
overflow: hidden;
|
2016-10-26 16:55:47 +13:00
|
|
|
background: $dark_grey;
|
2016-10-25 21:36:33 +13:00
|
|
|
|
|
|
|
|
canvas {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2016-10-26 16:55:47 +13:00
|
|
|
opacity: 0;
|
2017-01-19 08:05:20 +13:00
|
|
|
@include animate( 0.1s );
|
2016-10-26 16:55:47 +13:00
|
|
|
|
|
|
|
|
&.loaded {
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
}
|
2016-10-25 17:01:37 +13:00
|
|
|
}
|
|
|
|
|
}
|