Commit b5747d22 authored by Stéphane Crozat's avatar Stéphane Crozat
Browse files

Ajout d'un label pour voir un autre extrait, bonus, commentaire

parent 7ed5f13e
......@@ -8,6 +8,26 @@
cursor: grab;
}
#bonus::after, #extract::after, #comment::after {
font-style: normal;
font-size:100%;
font-family: monospace;
font-weight: bold;
}
#bonus::after {
content: "[un autre bonus...]";
}
#extract::after {
content: "[un autre extrait...]";
}
#comment::after {
content: "[un autre commentaire...]";
}
#bonus:hover, #extract:hover, #comment:hover {
color:black;
}
......
......@@ -25,8 +25,8 @@ function changeDiv(id, max, done) {
var root = getXmlFile(fileName).documentElement;
var div = document.getElementById(id);
div.textContent = null;
div.appendChild(document.adoptNode(root));
}null
div.appendChild(document.adoptNode(root));
}
function dice(max) {
return Math.floor(Math.random() * max + 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment