diff --git a/img/keyboard.png b/img/keyboard.png new file mode 100644 index 0000000..60fcfaa Binary files /dev/null and b/img/keyboard.png differ diff --git a/index.html b/index.html index 1821ed2..64d1430 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@

Angry notes from outer space

-
+

Jean-Michel, les notes furieuses de l'espace attaquent ! Détruisez-les à l'aide de votre harpe laser.

Ce jeu est conçu pour un clavier MIDI. Si vous en avez un, branchez-le maintenant.

@@ -37,13 +37,12 @@

Contrôles

- + +
+ +
diff --git a/style.css b/style.css index 68eab11..e2b6b99 100644 --- a/style.css +++ b/style.css @@ -39,14 +39,25 @@ h1 { text-align: center; } -textarea { +#keyMapInput { + background-image: url(img/keyboard.png); + background-repeat: repeat-x; + background-size: 240px 50px; + margin: auto; + color: white; + text-shadow: #444 2px 2px, #444 -2px -2px, #444 2px -2px, #444 -2px 2px; + text-transform: uppercase; + padding-left: 3px; padding-right: 0; + letter-spacing: 4px; + width: calc(25em + 108px); + height: 54px; } .sliders { display: flex; justify-content: center; - margin: 20px; + overflow-x: scroll; } .sliders label {