body { margin: 0; padding: 1rem; height: calc(100vh - 2rem); display: flex; flex-flow: column; justify-content: space-evenly; } .grille { margin: 2rem auto; width: unset; } .grille table { border-collapse: collapse; margin: 0 auto; } tr:nth-of-type(2) td { border-top: 3px solid black; } tr:last-of-type td { border-bottom: 3px solid black; } td:first-of-type { border-left: 3px solid black; } td:last-child { border-right: 3px solid black; } td { border: 1px solid black; padding: 2px; } th, td { width: 30px; height: 30px; text-align: center; } .case.noire { background-color: black; } input { width: 100%; height: 100%; border: none; padding: 0; text-align: center; font-size: 1.2em; } input[disabled] { background-color: black; } .definitions { display: flex; justify-content: space-evenly; } .definitions .horizontales, .definitions .verticales { width: 45%; } .definitions h2 { font-variant-caps: petite-caps; text-align: center; } li::marker { font-weight: bold; }