diff --git a/SRC/public/css/memory.css b/SRC/public/css/memory.css index 2006ef5..093fd49 100644 --- a/SRC/public/css/memory.css +++ b/SRC/public/css/memory.css @@ -1,7 +1,15 @@ /* ============================================================================= RESET, BOX SIZING, & CLEARFIX ============================================================================= */ +#jeu{ + height: 100%; + width: 100%; + margin: 0; + padding: 0; + text-align: center; + +} *, *::before, *::after { @@ -32,14 +40,14 @@ img { .wrapper { margin: 0 auto; width: 100%; - min-width: 480px; + min-width: 432px; } /* container */ .container { margin: 0 auto; - width: 100%; - max-width: 1024px; + width: 96%; + max-width: 1128px; } /* ============================================================================= diff --git a/SRC/public/js/memory.js b/SRC/public/js/memory.js index 0275082..9c008bb 100644 --- a/SRC/public/js/memory.js +++ b/SRC/public/js/memory.js @@ -210,9 +210,9 @@ this.gameStartScreenHTML = '

Welcome to the Memory Game!

\

Choisir niveau

\ '; //Memory.prototype._setupGameWrapper(1); //this._gamePlay(); @@ -497,9 +497,9 @@ var self = this; if (this.options.onGameEnd() === false) { this._clearGame(); - this.gameMessages.innerHTML = '

\ + this.gameMessages.innerHTML = '

\

Vous avez gagné votre partie en ' + this.numMoves + ' coups.

\ - '; + '; this.game.appendChild(this.gameMessages); document.getElementById("mg__onend--restart").addEventListener( "click", function(e) { self.resetGame(); diff --git a/SRC/resources/views/one_referent_game.blade.php b/SRC/resources/views/one_referent_game.blade.php index 0172851..b44df8a 100755 --- a/SRC/resources/views/one_referent_game.blade.php +++ b/SRC/resources/views/one_referent_game.blade.php @@ -1,5 +1,5 @@ @extends('app') - +

{{ $game }}

@@ -25,3 +25,4 @@
+