Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stéphane Crozat
Traces
Commits
b5747d22
Commit
b5747d22
authored
Sep 09, 2018
by
Stéphane Crozat
Browse files
Ajout d'un label pour voir un autre extrait, bonus, commentaire
parent
7ed5f13e
Changes
2
Hide whitespace changes
Inline
Side-by-side
punkardie/lib/punkardie.css
View file @
b5747d22
...
...
@@ -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
;
}
...
...
punkardie/lib/punkardie.js
View file @
b5747d22
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment