diff --git a/static/css/main.css b/static/css/main.css index fe0f3e6..600c2a2 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -2,6 +2,7 @@ * { box-sizing: border-box; + z-index: 0; } body { @@ -117,19 +118,21 @@ img { .prank-button a { color: black; + position: relative; } .prank-button a:hover { text-decoration: none; } -.prank-button a:hover:after { - content: url("../img/circle-hand.png"); +.hover-circle { position: absolute; - z-index: 5; - top: 660px; - left: 410px; - transform: scale(0.5); + z-index: 10; + top: -50px; + left: 0px; + max-height: 100%; + max-width: 100%; + display: none; } .banner { diff --git a/static/index.html b/static/index.html index 84c3d03..3de7555 100644 --- a/static/index.html +++ b/static/index.html @@ -38,6 +38,7 @@ Demander une mission ! +
diff --git a/static/js/anim.js b/static/js/anim.js index 202c089..f7f7610 100644 --- a/static/js/anim.js +++ b/static/js/anim.js @@ -10,5 +10,7 @@ $(window).on("load", function() { $(document).on("click", function() { type.options({speed: 1}); });*/ + +}); -}); \ No newline at end of file +$("#prank-button").hover(function () { $('.hover-circle').fadeIn(100) }, function(){ $('.hover-circle').fadeOut(100) }); \ No newline at end of file