alt style

This commit is contained in:
2025-12-09 18:53:02 +01:00
parent 4f2ea7d607
commit 625968da4a
2 changed files with 16 additions and 4 deletions

View File

@@ -121,7 +121,9 @@ function onkeyup(event) {
case "ArrowRight": this.nextSibling?.focus(); break case "ArrowRight": this.nextSibling?.focus(); break
case "Home": form.children[0].focus(); break case "Home": form.children[0].focus(); break
case "End": form.children[nbLettres-1].focus(); break case "End": form.children[nbLettres-1].focus(); break
default: return
} }
event.preventDefault()
} }
function play(son) { function play(son) {

View File

@@ -17,17 +17,27 @@ h2 {
h1, h2 { h1, h2 {
text-align: center; text-align: center;
text-shadow: 0.08em 0.06em #8888; text-shadow: 0.08em 0.06em #8888;
display: flex;
justify-content: center;
align-items: center;
} }
h1 img, h1 img,
h2 img { h2 img,
h2 div {
background-color: currentColor; background-color: currentColor;
border-radius: 100%; border-radius: 100%;
background-origin: content-box; background-origin: content-box;
padding: 0; padding: 0.08em;
height: 0.75em; height: 1.2em;
vertical-align: baseline; width: 1.2em;
filter: drop-shadow(0.08em 0.06em #8888); filter: drop-shadow(0.08em 0.06em #8888);
font-size: 0.6em;
display: inline-flex;
justify-content: center;
align-items: end;
vertical-align: baseline;
margin-top: 0.2em;
} }
label.option { label.option {