Browse Source

Merge branch 'master' of git.rezo-rm.fr:BDEMetz/bde-liste

front-continuation
asyncnomi 3 years ago
parent
commit
5bc26fb28a
  1. 15
      static/css/main.css
  2. 1
      static/index.html
  3. 4
      static/js/anim.js

15
static/css/main.css

@ -2,6 +2,7 @@
* { * {
box-sizing: border-box; box-sizing: border-box;
z-index: 0;
} }
body { body {
@ -117,19 +118,21 @@ img {
.prank-button a { .prank-button a {
color: black; color: black;
position: relative;
} }
.prank-button a:hover { .prank-button a:hover {
text-decoration: none; text-decoration: none;
} }
.prank-button a:hover:after { .hover-circle {
content: url("../img/circle-hand.png");
position: absolute; position: absolute;
z-index: 5; z-index: 10;
top: 660px; top: -50px;
left: 410px; left: 0px;
transform: scale(0.5); max-height: 100%;
max-width: 100%;
display: none;
} }
.banner { .banner {

1
static/index.html

@ -38,6 +38,7 @@
<a id="prank-button"> <a id="prank-button">
Demander une mission ! Demander une mission !
<img src="img/underline-red.png" class="underline"/> <img src="img/underline-red.png" class="underline"/>
<img src="img/circle-hand.png" class="hover-circle"/>
</a> </a>
</div> </div>
<p id="prank-desc"> <p id="prank-desc">

4
static/js/anim.js

@ -10,5 +10,7 @@ $(window).on("load", function() {
$(document).on("click", function() { $(document).on("click", function() {
type.options({speed: 1}); type.options({speed: 1});
});*/ });*/
});
}); $("#prank-button").hover(function () { $('.hover-circle').fadeIn(100) }, function(){ $('.hover-circle').fadeOut(100) });
Loading…
Cancel
Save