diff --git a/website/site/layouts/index.html b/website/site/layouts/index.html index 6600085b..03436e30 100755 --- a/website/site/layouts/index.html +++ b/website/site/layouts/index.html @@ -16,10 +16,10 @@ {{ end }} -
+ - ▶ Watch how to get started in just over 2 minutes -
+ ▶ Watch how to get started in just over 2 minutes + diff --git a/website/src/css/imports/hero.css b/website/src/css/imports/hero.css index ec1942f0..df56d4af 100644 --- a/website/src/css/imports/hero.css +++ b/website/src/css/imports/hero.css @@ -80,7 +80,7 @@ box-shadow: 0 10px 30px 0 rgba(0,0,0,0.15), 0 3px 9px 0 rgba(0,0,0,0.30); } - a.hero-videolink { + .hero-videolink { display: block; text-align: center; margin-top: $micro; @@ -90,11 +90,17 @@ color: white; background-color: rgba(255,255,255,0.1); border-radius: $borderRadius; + transition: 0.1s; } - a.hero-videolink:hover { + } + .hero-graphic:hover { + .hero-videolink { background-color: rgba(255,255,255,0.2); + transform: scale(1.03); } - a.hero-videolink:active { + } + .hero-graphic:active { + .hero-videolink { background-color: rgba(255,255,255,0.4); } } diff --git a/website/src/js/app.js b/website/src/js/app.js index d920839b..87aa61a0 100755 --- a/website/src/js/app.js +++ b/website/src/js/app.js @@ -127,7 +127,7 @@ eventInfoLoad(); // Load inline YouTube video var embedcode = ''; -$('.hero-videolink').click(function() { +$('.hero-graphic').click(function() { $('.hero-graphic img').replaceWith(embedcode); - $(this).remove(); + $('.hero-videolink').remove(); });