Compare commits

..

No commits in common. "d1d189a0dbd4b8be8a6e75889955fda183f0a72a" and "3834e579a6b249a1e8aff478b58d388ae1601b06" have entirely different histories.

3 changed files with 20 additions and 29 deletions

View File

@ -3,7 +3,7 @@
include_once "dico.php";
const MIN_LETTRES = 0;
const MIN_LETTRES = 1;
class Grille {

View File

@ -1,4 +1,7 @@
<?php
ini_set('display_errors', 1);
ini_set('html_errors', 1);
ini_set('error_reporting', E_ALL);
const HAUTEUR_PAR_DEFAUT = 6;
const LARGEUR_PAR_DEFAUT = 6;
@ -122,8 +125,6 @@ $grille = new Grille($hauteur, $largeur, $id);
</div>
</div>
<footer><a href=".">Nouvelle grille</a></footer>
<script src="script.js"></script>
</body>

View File

@ -5,7 +5,6 @@ body {
display: flex;
flex-flow: column;
justify-content: space-evenly;
font-family: Times, "Times New Roman", Georgia, serif;
}
h1 table {
@ -28,34 +27,29 @@ h2 {
margin: 0 auto;
}
.grille th,
.grille td {
width: 30px;
height: 30px;
text-align: center;
.grille tr:nth-of-type(2) td {
border-top: 3px solid black;
}
.grille tr:last-of-type td {
border-bottom: 3px solid black;
}
.grille td:first-of-type {
border-left: 3px solid black;
}
.grille td:last-child {
border-right: 3px solid black;
}
.grille td {
border: 1px solid black;
padding: 2px;
font-family: "Comic Sans MS", "Comic Sans", cursive, sans;
}
.grille tr:nth-of-type(2) td {
border-top-width: 3px;
}
.grille tr:last-of-type td {
border-bottom-width: 3px;
}
.grille td:first-of-type {
border-left-width: 3px;
}
.grille td:last-child {
border-right-width: 3px;
}
.grille .case.noire {
background-color: black;
.grille th,
.grille td {
width: 30px;
height: 30px;
text-align: center;
}
.grille .case.noire {
@ -88,7 +82,3 @@ h2 {
.definitions li::marker {
font-weight: bold;
}
footer {
text-align: center;
}