diff --git a/css/index.css b/css/index.css index 3f726b4..75a27c4 100644 --- a/css/index.css +++ b/css/index.css @@ -42,7 +42,10 @@ button { .play { grid-column: 2 / 4; - justify-self: center; + text-align: center; + text-decoration: none; + text-shadow: 2px 1px rgb(153, 145, 175); + font-size: 1.5em; width: 70%; margin: 40px; } diff --git a/css/webtris.css b/css/webtris.css index 7151577..52c84b5 100644 --- a/css/webtris.css +++ b/css/webtris.css @@ -53,12 +53,11 @@ canvas { flex-direction: column; margin: 5% 2%; height: 400px; + width: 150px; } .hold { width: 120px; - flex-grow: 0; - justify-content: right; } .stats { diff --git a/index.html b/index.html index e0d84f2..9fde23b 100644 --- a/index.html +++ b/index.html @@ -8,11 +8,9 @@

WEBTRIS

-
- + JOUER
-
\ No newline at end of file diff --git a/js/webtris.js b/js/webtris.js index efac31e..a4af987 100644 --- a/js/webtris.js +++ b/js/webtris.js @@ -80,6 +80,7 @@ const actionsDefaultKeys = { hold: "c", pause: "Escape", } +var actions = {} class Scheduler { @@ -756,8 +757,6 @@ function getKey(action) { return localStorage.getItem(action) || actionsDefaultKeys[action] } -var actions = {} - window.onload = function() { tempTexts = [] diff --git a/webtris.html b/webtris.html index 5334967..dfcd9e1 100644 --- a/webtris.html +++ b/webtris.html @@ -30,7 +30,9 @@ Votre navigateur ne supporte pas HTML5, veuillez le mettre à jour pour jouer. - +
+ +
\ No newline at end of file