correction bug titres

This commit is contained in:
Yoan Guerin
2025-12-05 05:53:11 +01:00
parent 7b3419cba7
commit 22cb8ef30d
9 changed files with 179 additions and 55 deletions

View File

@@ -12,8 +12,6 @@ img.logo {
background-color: #0f0f20;
}
p {
color: rgb(0, 221, 255);
}

View File

@@ -384,4 +384,127 @@ button:hover {
font-size: 0.9rem;
color: #00ff88;
opacity: 0.7;
}
}
/* --- QUIZ --- */
img.logo {
background-color: #0f0f20;
}
p {
color: rgb(0, 221, 255);
}
input::checkmark {
color: #000;
}
/* Boutons quiz plus intégrés au style général */
button.ans {
border: 2px solid #00ff88;
line-height: 2.0;
padding: 0 10px;
font-size: 1rem;
text-align: center;
color: #00ffcc;
text-shadow: 0 0 5px #00ff88;
border-radius: 10px;
background-color: rgba(0, 255, 136, 0.15);
cursor: pointer;
font-family: "Courier New", monospace;
transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
margin: 0.5rem;
height: 3rem;
display: inline-flex;
align-items: center;
justify-content: center;
}
button.ans:hover {
background-color: #00ff88;
color: #000;
box-shadow: 0 0 12px #00ff88;
}
button.ans:active {
box-shadow:
inset -2px -2px 3px rgba(255, 255, 255, 0.6),
inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}
/* Conteneur quiz caché par défaut */
.test {
background-color: #202040;
margin: 2rem auto;
width: 50%;
border-radius: 25px;
padding: 2rem;
box-shadow: 0 0 15px #00ff88;
display: none; /* caché initialement */
color: #a0a0ff;
font-size: 1.25rem;
font-family: "Courier New", monospace;
user-select: none;
text-align: center;
}
/* Style pour les questions et réponses */
.ans {
margin: 1.5rem 0;
color: #a0a0ff;
font-size: 1.2rem;
line-height: 1.4;
cursor: default;
}
/* Style pour les réponses (liste) */
#answersList {
list-style: none;
padding: 0;
margin: 1rem 0 0 0;
display: flex;
flex-direction: column;
gap: 0.8rem;
}
#answersList li {
background-color: rgba(0, 255, 136, 0.1);
border: 1px solid #00ff88;
border-radius: 12px;
padding: 10px 15px;
cursor: pointer;
transition: background-color 0.3s ease, color 0.3s ease;
font-size: 1.1rem;
color: #00ffcc;
user-select: none;
}
#answersList li:hover {
background-color: #00ff88;
color: #000;
}
/* Zone feedback cachée au départ */
#feedback {
margin-top: 1rem;
font-weight: bold;
color: #00ff88;
display: none;
}
/* Bouton suivant caché au départ */
#nextBtn {
margin-top: 1.5rem;
display: none;
width: 100%;
}
#finalScore {
display: none;
font-size: 1.6rem;
text-align: center;
margin-top: 2rem;
color: #00ffcc;
text-shadow: 0 0 6px #00ff88;
}