2014-08-08 00:23:36 +02:00
|
|
|
$figcaption-color: #3c4a50;
|
|
|
|
.zoe-effect {
|
|
|
|
margin-bottom: 26px;
|
|
|
|
height: 250px;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: $base-transition;
|
|
|
|
box-shadow: 0 1px 7px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .15);
|
|
|
|
&:hover {
|
|
|
|
box-shadow: 0 1px 7px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .35);
|
|
|
|
figure {
|
|
|
|
background-position: center left;
|
|
|
|
-webkit-background-size: 105%;
|
|
|
|
background-size: 105%;
|
|
|
|
.overlay {
|
2017-12-05 14:02:26 +01:00
|
|
|
background: rgba(0, 0, 0, .6);
|
2014-08-08 00:23:36 +02:00
|
|
|
@media (max-width: 767px) {
|
|
|
|
background: rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
h2, figcaption, figcaption > a {
|
|
|
|
transform: translateY(0);
|
|
|
|
color: #3c4a50;
|
|
|
|
}
|
|
|
|
figcaption > a {
|
|
|
|
&:nth-child(5) {
|
|
|
|
transition-delay: .1s;
|
|
|
|
}
|
|
|
|
&:nth-child(4) {
|
|
|
|
transition-delay: .15s;
|
|
|
|
}
|
|
|
|
&:nth-child(3) {
|
|
|
|
transition-delay: .2s;
|
|
|
|
}
|
|
|
|
&:nth-child(2) {
|
|
|
|
transition-delay: .25s;
|
2017-12-05 14:02:26 +01:00
|
|
|
}
|
2014-08-08 00:23:36 +02:00
|
|
|
}
|
|
|
|
.bio {
|
|
|
|
transform: translateY(-70%);
|
|
|
|
opacity: 1;
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
transform: translateY(0);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
figure {
|
|
|
|
overflow: hidden;
|
|
|
|
width: 100.3%;
|
|
|
|
height: 100%;
|
|
|
|
transition: $base-transition;
|
|
|
|
background-position: -30px;
|
|
|
|
-webkit-background-size: 115%;
|
|
|
|
background-size: 115%;
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
background-position: center left;
|
2017-12-05 14:02:26 +01:00
|
|
|
-webkit-background-size: 105%;
|
|
|
|
background-size: 105%;
|
2014-08-08 00:23:36 +02:00
|
|
|
}
|
|
|
|
.overlay {
|
|
|
|
transition: $base-transition;
|
|
|
|
background: rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
figcaption {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 50px;
|
|
|
|
padding: 13px;
|
2014-08-21 16:27:02 +02:00
|
|
|
z-index: 2;
|
2014-08-08 00:23:36 +02:00
|
|
|
transition: $base-transition;
|
|
|
|
transform: translateY(100%);
|
|
|
|
color: $figcaption-color;
|
|
|
|
background: #fff;
|
|
|
|
@media (max-width: 767px) {
|
2017-12-05 14:02:26 +01:00
|
|
|
transform: translateY(0);
|
2014-08-08 00:23:36 +02:00
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: $regular;
|
|
|
|
margin: 0;
|
|
|
|
word-spacing: -2px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
transition: $base-transition;
|
|
|
|
transform: translateY(-250%);
|
|
|
|
transition-delay: .05s;
|
|
|
|
color: #fff;
|
|
|
|
@media (max-width: 767px) {
|
2017-12-05 14:02:26 +01:00
|
|
|
transform: translateY(0);
|
2014-08-08 00:23:36 +02:00
|
|
|
color: #3c4a50;
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
font-weight: $bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
> div {
|
|
|
|
padding: 0;
|
|
|
|
transform: translateY(-5px);
|
|
|
|
}
|
|
|
|
> a {
|
|
|
|
float: right;
|
|
|
|
margin-left: 4px;
|
|
|
|
transition: $base-transition;
|
|
|
|
transform: translateY(200%);
|
|
|
|
@media (max-width: 767px) {
|
2017-12-05 14:02:26 +01:00
|
|
|
transform: translateY(0);
|
2014-08-08 00:23:36 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.position {
|
|
|
|
font-size: 12px;
|
2014-08-31 20:52:35 +02:00
|
|
|
@include trimText(12px, 1, 1);
|
2014-08-08 00:23:36 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.bio {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 1.3;
|
|
|
|
position: relative;
|
|
|
|
top: 50%;
|
|
|
|
left: 0;
|
|
|
|
padding: 1.4em;
|
|
|
|
transition: $base-transition;
|
|
|
|
transform: translateY(0);
|
|
|
|
opacity: 0;
|
|
|
|
color: #fff;
|
|
|
|
background: none;
|
2014-08-31 20:52:35 +02:00
|
|
|
@include trimText(14px, 1.3, 5);
|
2014-08-08 00:23:36 +02:00
|
|
|
}
|
2017-12-05 14:02:26 +01:00
|
|
|
}
|