added tilineau
This commit is contained in:
parent
d5ce00e78d
commit
42cf4d20f6
4 changed files with 24 additions and 1 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
<nav class="menu">
|
<nav class="menu">
|
||||||
<ul>
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://github.com/Didictateur/Riichi">
|
<li><a href="https://github.com/Didictateur/Riichi">
|
||||||
<svg width="1.5em" height="1.5em" viewBox="0 0 24 24" fill="currentColor" style="vertical-align: middle; margin-right: 0.1rem;">
|
<svg width="1.5em" height="1.5em" viewBox="0 0 24 24" fill="currentColor" style="vertical-align: middle; margin-right: 0.1rem;">
|
||||||
|
|
@ -16,6 +15,12 @@
|
||||||
<li><a href="">Chapitre 3 : Les groupes</a></li>
|
<li><a href="">Chapitre 3 : Les groupes</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#">Partie réelle</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#">Variante à trois</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
|
||||||
BIN
img/tilineau/explaining.png
Normal file
BIN
img/tilineau/explaining.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 MiB |
BIN
img/tilineau/speaking.png
Normal file
BIN
img/tilineau/speaking.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 MiB |
18
index.html
18
index.html
|
|
@ -31,12 +31,27 @@
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#mascotte {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0px;
|
||||||
|
right: 160px;
|
||||||
|
z-index: 999;
|
||||||
|
transform: scaleX(-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
#mascotte img {
|
||||||
|
width: 250px;
|
||||||
|
height: auto;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="menu"></div>
|
<div id="menu"></div>
|
||||||
<div id="tile-container"></div>
|
<div id="tile-container"></div>
|
||||||
<div id="tile-rain"></div>
|
<div id="tile-rain"></div>
|
||||||
|
<div id="mascotte"></div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Charger le menu
|
// Charger le menu
|
||||||
|
|
@ -44,6 +59,9 @@
|
||||||
.then(r => r.text())
|
.then(r => r.text())
|
||||||
.then(html => document.getElementById('menu').innerHTML = html);
|
.then(html => document.getElementById('menu').innerHTML = html);
|
||||||
|
|
||||||
|
// Afficher la mascotte
|
||||||
|
document.getElementById('mascotte').innerHTML = '<img src="img/tilineau/speaking.png" alt="Tilineau">';
|
||||||
|
|
||||||
let allTiles = [];
|
let allTiles = [];
|
||||||
|
|
||||||
// Récupérer les tuiles
|
// Récupérer les tuiles
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue