Compare commits
2 Commits
3834e579a6
...
d1d189a0db
Author | SHA1 | Date | |
---|---|---|---|
d1d189a0db | |||
6249729fcc |
@ -3,7 +3,7 @@
|
|||||||
include_once "dico.php";
|
include_once "dico.php";
|
||||||
|
|
||||||
|
|
||||||
const MIN_LETTRES = 1;
|
const MIN_LETTRES = 0;
|
||||||
|
|
||||||
|
|
||||||
class Grille {
|
class Grille {
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
ini_set('display_errors', 1);
|
|
||||||
ini_set('html_errors', 1);
|
|
||||||
ini_set('error_reporting', E_ALL);
|
|
||||||
|
|
||||||
const HAUTEUR_PAR_DEFAUT = 6;
|
const HAUTEUR_PAR_DEFAUT = 6;
|
||||||
const LARGEUR_PAR_DEFAUT = 6;
|
const LARGEUR_PAR_DEFAUT = 6;
|
||||||
@ -125,6 +122,8 @@ $grille = new Grille($hauteur, $largeur, $id);
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<footer><a href=".">Nouvelle grille</a></footer>
|
||||||
|
|
||||||
<script src="script.js"></script>
|
<script src="script.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
46
style.css
46
style.css
@ -5,6 +5,7 @@ body {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
|
font-family: Times, "Times New Roman", Georgia, serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 table {
|
h1 table {
|
||||||
@ -27,24 +28,6 @@ h2 {
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.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;
|
|
||||||
}
|
|
||||||
|
|
||||||
.grille th,
|
.grille th,
|
||||||
.grille td {
|
.grille td {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
@ -52,6 +35,29 @@ h2 {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.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 .case.noire {
|
.grille .case.noire {
|
||||||
background-color: black;
|
background-color: black;
|
||||||
}
|
}
|
||||||
@ -82,3 +88,7 @@ h2 {
|
|||||||
.definitions li::marker {
|
.definitions li::marker {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
text-align: center;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user