diff --git a/css/alerte.css b/css/alerte.css deleted file mode 100644 index d47a5c2..0000000 --- a/css/alerte.css +++ /dev/null @@ -1,57 +0,0 @@ -/* - * @file css/alerte.css - * @description - * @author mougnibas - * @createTime 2024-11-29 10:35:07 - * @lastModified 2024-12-15 18:53:32 - * Copyright ©Théo Mougnibas All rights reserved -*/ - -/* Le conteneur de l'alerte, va couvrir tout l'écran*/ -.modal { - display: none; /* on la cache par défaut */ - position: fixed; - z-index: 1; /* BAM ! AU DESSUS DE TOUT */ - left: 0; - top: 0; - width: 100%; - height: 100%; - background-color: rgba(0, 0, 0, 0.4); /* On floute le derrière */ -} - -/* Contenu de l'alerte */ -.modal-content { - color: black; - background-color: #fefefe; - margin: 15% auto; /* on le centre */ - padding: 20px; - border: 1px solid #888; - width: 80%; - max-width: 400px; - text-align: center; -} - -/* Bouton pour fermer l'alerte */ -.close-btn { - color: #aaa; - float: right; - font-size: 28px; - font-weight: bold; -} - -.close-btn:hover, -.close-btn:focus { - color: black; - text-decoration: none; - cursor: pointer; -} - -/* Bouton OK */ -.modal.button { - padding: 10px 20px; - background-color: #4CAF50; - color: white; - border: none; - cursor: pointer; -} - diff --git a/css/index.css b/css/index.css index c678c50..3dc5634 100644 --- a/css/index.css +++ b/css/index.css @@ -50,4 +50,11 @@ height: 100%; overflow: hidden; pointer-events: none; /* pour ne pas interagir avec les confettis */ +} + +#div_cadeau{ + display: none; + position: fixed; + z-index: -2; + width: 5vw; } \ No newline at end of file diff --git a/img/cadeau.png b/img/cadeau.png new file mode 100644 index 0000000..b04e281 Binary files /dev/null and b/img/cadeau.png differ diff --git a/index.html b/index.html index b61a3a9..52f1cab 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,6 @@ Prog Web Legend - @@ -78,7 +77,9 @@ - +
+ +