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;
|
2018-10-13 14:28:46 +13:00
|
|
|
background-color: lighten(colour(dark_grey), 2%);
|
2016-10-25 17:01:37 +13:00
|
|
|
background-position: 50% 50%;
|
|
|
|
|
background-size: cover;
|
2017-06-18 05:47:36 +12:00
|
|
|
border-radius: 3px;
|
2018-08-24 16:13:30 +12:00
|
|
|
|
|
|
|
|
.light-theme & {
|
2018-10-13 14:28:46 +13:00
|
|
|
background-color: colour(faint_grey);
|
2018-08-24 16:13:30 +12:00
|
|
|
}
|
2016-10-25 17:01:37 +13:00
|
|
|
}
|
|
|
|
|
|
2017-01-24 09:04:26 +13:00
|
|
|
.zoom {
|
2017-01-24 18:45:04 +13:00
|
|
|
@include animate();
|
2017-01-24 13:12:12 +13:00
|
|
|
display: none;
|
2017-01-24 09:04:26 +13:00
|
|
|
position: absolute;
|
2017-01-24 18:45:04 +13:00
|
|
|
bottom: 5px;
|
|
|
|
|
right: 5px;
|
2017-01-24 09:04:26 +13:00
|
|
|
z-index: 1;
|
2017-08-05 22:25:25 +12:00
|
|
|
padding: 10px;
|
2017-01-24 18:45:04 +13:00
|
|
|
border-radius: 100%;
|
|
|
|
|
background: rgba(0,0,0,0.4);
|
2017-08-05 22:25:25 +12:00
|
|
|
font-size: 12px;
|
2017-01-24 09:04:26 +13:00
|
|
|
cursor: pointer;
|
|
|
|
|
color: #FFFFFF;
|
2018-07-13 16:48:41 +12:00
|
|
|
border: 0;
|
2017-01-24 18:45:04 +13:00
|
|
|
|
|
|
|
|
&:hover {
|
2018-10-13 14:28:46 +13:00
|
|
|
background: colour(black);
|
2017-01-24 18:45:04 +13:00
|
|
|
}
|
2017-01-24 09:04:26 +13:00
|
|
|
}
|
|
|
|
|
|
2016-10-26 08:51:28 +13:00
|
|
|
&.small {
|
|
|
|
|
max-width: 50px;
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-25 17:01:37 +13:00
|
|
|
&.circle {
|
2017-03-22 15:32:55 +13:00
|
|
|
.image {
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.zoom {
|
|
|
|
|
bottom: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
}
|
2016-10-25 17:01:37 +13:00
|
|
|
}
|
2017-01-24 09:04:26 +13:00
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
.zoom {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-10-25 17:01:37 +13:00
|
|
|
}
|
|
|
|
|
|
2018-10-22 21:27:48 +13:00
|
|
|
html,
|
|
|
|
|
body {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
main {
|
|
|
|
|
perspective: 2px;
|
|
|
|
|
transform-style: preserve-3d;
|
|
|
|
|
overflow-y: scroll;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.intro {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-25 17:01:37 +13:00
|
|
|
.parallax {
|
2018-10-22 21:27:48 +13:00
|
|
|
height: 100%;
|
2016-10-25 17:01:37 +13:00
|
|
|
overflow: hidden;
|
2018-10-13 14:28:46 +13:00
|
|
|
background: colour(dark_grey);
|
2018-10-22 21:27:48 +13:00
|
|
|
position: absolute;
|
|
|
|
|
top: -30%;
|
|
|
|
|
right: -10px;
|
|
|
|
|
bottom: -10px;
|
|
|
|
|
left: -10px;
|
|
|
|
|
transform: translateZ(-2px) scale(2);
|
|
|
|
|
z-index: -1;
|
|
|
|
|
|
|
|
|
|
&__image {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-size: cover;
|
|
|
|
|
background-position: 50% 50%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__overlay {
|
|
|
|
|
content: '';
|
|
|
|
|
display: block;
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
height: 30%;
|
|
|
|
|
background-image: linear-gradient(rgba(24,24,24,0), rgba(24,24,24,1));
|
|
|
|
|
z-index: 1;
|
|
|
|
|
transform: translateZ(2px) scale(0.5);
|
|
|
|
|
}
|
2016-10-25 21:36:33 +13:00
|
|
|
|
|
|
|
|
canvas {
|
2017-05-26 09:04:58 +12:00
|
|
|
width: 110%;
|
|
|
|
|
height: 110%;
|
2016-10-26 16:55:47 +13:00
|
|
|
opacity: 0;
|
2017-05-26 09:04:58 +12:00
|
|
|
position: absolute;
|
|
|
|
|
top: -5%;
|
|
|
|
|
left: -5%;
|
2016-10-26 16:55:47 +13:00
|
|
|
|
|
|
|
|
&.loaded {
|
2017-07-24 09:09:13 +12:00
|
|
|
opacity: 1;
|
2016-10-26 16:55:47 +13:00
|
|
|
}
|
2016-10-25 17:01:37 +13:00
|
|
|
}
|
2017-05-26 09:04:58 +12:00
|
|
|
|
|
|
|
|
&.blur {
|
|
|
|
|
canvas {
|
2017-05-29 16:29:49 +12:00
|
|
|
@include blur();
|
2017-05-26 09:04:58 +12:00
|
|
|
}
|
|
|
|
|
}
|
2018-08-27 08:56:39 +12:00
|
|
|
|
|
|
|
|
.light-theme & {
|
2018-10-13 14:28:46 +13:00
|
|
|
background: colour(white);
|
2018-08-27 08:56:39 +12:00
|
|
|
}
|
2017-02-08 19:31:36 +13:00
|
|
|
}
|