diff --git a/index.php b/index.php index 4d1ffbd..4f01ccc 100644 --- a/index.php +++ b/index.php @@ -49,7 +49,13 @@ $grille = new Grille($hauteur, $largeur); - ">grille[$l][$c] ?> + "> + grille[$l][$c] == " "): ?> + + + + + diff --git a/style.css b/style.css index a1ae3cc..1aa47b2 100644 --- a/style.css +++ b/style.css @@ -15,12 +15,26 @@ th, td { td { border: 1px solid black; + padding: 2px; } .case.noire { background-color: black; } +input { + width: 100%; + height: 100%; + border: none; + padding: 0; + text-align: center; + font-size: 1em; +} + +input[disabled] { + background-color: black; +} + .definitions { display: flex; justify-content: space-evenly;