diff --git a/jeux/assets/jeu.js b/jeux/assets/jeu.js index 41d6a3d..005299d 100644 --- a/jeux/assets/jeu.js +++ b/jeux/assets/jeu.js @@ -4,6 +4,7 @@ function win() { clearTimeout(timeout); document.querySelector(".failure").classList.add("hidden"); document.querySelector(".success").classList.remove("hidden"); + document.querySelector(".success-stamp").classList.remove("hidden"); } function lose() { diff --git a/jeux/assets/style.css b/jeux/assets/style.css index d216f00..e3b8585 100644 --- a/jeux/assets/style.css +++ b/jeux/assets/style.css @@ -28,6 +28,20 @@ main, footer { padding: 0 20px; } +.success-stamp { + position: absolute; + top: 250px; + left: 20px; + font-size: 60px; + transform: rotate(-20deg); + color: #0f5132; + display: inline-block; + background-color: #d1e7dd; + border: 1px solid #badbcc; + padding: .2em .5em; + border-radius: 10px; +} + .hidden { display: none; } diff --git a/jeux/camel.html b/jeux/camel.html index e39120e..9e0ba25 100644 --- a/jeux/camel.html +++ b/jeux/camel.html @@ -37,6 +37,7 @@ +
Couleurs non contractuelles. diff --git a/jeux/nature.html b/jeux/nature.html index 5b1e434..27eb92e 100644 --- a/jeux/nature.html +++ b/jeux/nature.html @@ -25,6 +25,7 @@
+