Commit 9e1d26cb authored by Jarek Ostrowski's avatar Jarek Ostrowski

Commit stuff

parent f0d6cbc7
Pipeline #31504747 failed with stages
in 13 minutes and 28 seconds
(function() {
var staggerTime = 12;
var duration = .6;
var tl = new TimelineMax({ repeat: -1 });
tl.staggerFrom('.testimonials-row', .6, {ease: Power4.easeOut, y: 40, opacity: 0, zIndex: 0}, staggerTime);
tl.staggerTo('.testimonials-row', .6, {ease: Power4.easeOut, y: -40, opacity: 0, zIndex: 0}, staggerTime, staggerTime);
tl.play();
if (window.innerWidth > 768) {
var staggerTime = 12;
var duration = .6;
var tl = new TimelineMax({ repeat: -1 });
tl.staggerFrom('.testimonials-row', .6, {ease: Power4.easeOut, y: 40, opacity: 0, zIndex: 0}, staggerTime);
tl.staggerTo('.testimonials-row', .6, {ease: Power4.easeOut, y: -40, opacity: 0, zIndex: 0}, staggerTime, staggerTime);
tl.play();
// var items = document.querySelectorAll('.testimonials-row'), length = items.length;
// var duration = 1;
// var tl = new TimelineMax({ paused:true, repeat: -1, delay: duration * 0.5 });
// for (var i = 0; i < length; i += 1) {
// tl.from(items[i], duration, { opacity: 0, ease: Power4.easeOut, delay: duration * 4 });
// tl.to(items[i], duration, { opacity: 0, ease: Power4.easeOut, delay: duration * 4 });
// }
// tl.play();
// var items = document.querySelectorAll('.testimonials-row'), length = items.length;
// var duration = 1;
// var tl = new TimelineMax({ paused:true, repeat: -1, delay: duration * 0.5 });
// for (var i = 0; i < length; i += 1) {
// tl.from(items[i], duration, { opacity: 0, ease: Power4.easeOut, delay: duration * 4 });
// tl.to(items[i], duration, { opacity: 0, ease: Power4.easeOut, delay: duration * 4 });
// }
// tl.play();
} else {
console.log('on mobile yo')
}
})();
......@@ -1971,8 +1971,21 @@ iframe {
&:not(:first-child) {
margin-left: 50px;
@media screen and (max-width: $screen-md-min) {
margin-left: 20px;
}
@media screen and (max-width: $screen-sm-min) {
margin-left: 0;
margin-top: 50px;
}
}
}
@media screen and (max-width: $screen-sm-min) {
position: relative;
}
}
.testimonial-logo {
......@@ -1980,6 +1993,10 @@ iframe {
max-width: 60%;
margin-bottom: 20px;
}
@media screen and (max-width: $screen-sm-min) {
padding-bottom: 100px;
}
}
// Hello bar
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment